Discovery Engine API (discoveryengine:v1alpha)

2025-02-11

5 new methods

Additions

    Methods
  • discoveryengine.media.upload

      Path : v1alpha/{+parent}/sources:uploadFile

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}/sources:uploadFile

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook}

          Pattern : ^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Supportsmediaupload : Yes

      Mediaupload :

        Accept : */*

        Protocols :

          Simple :

            Multipart : Yes

            Path : /upload/v1alpha/{+parent}/sources:uploadFile

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Uploads a file for Notebook LM to use. Creates a Source.

  • discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.fetch

      Path : v1alpha/{+parent}/sitemaps:fetch

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine/sitemaps:fetch

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.

          Pattern : ^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$

          Location : path

          Required : Yes

          Type : string

        matcher.urisMatcher.uris

          Description : The Sitemap uris.

          Location : query

          Repeated : Yes

          Type : string

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Fetch Sitemaps in a DataStore.

  • discoveryengine.projects.locations.collections.dataStores.widgetConfigs.get

      Path : v1alpha/{+name}

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$

          Location : path

          Required : Yes

          Type : string

        acceptCache

          Description : Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.

          Location : query

          Type : boolean

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Gets a WidgetConfig.

  • discoveryengine.projects.locations.collections.engines.widgetConfigs.get

      Path : v1alpha/{+name}

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/widgetConfigs/{widgetConfigsId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/widgetConfigs/[^/]+$

          Location : path

          Required : Yes

          Type : string

        acceptCache

          Description : Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.

          Location : query

          Type : boolean

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Gets a WidgetConfig.

  • discoveryengine.projects.locations.dataStores.widgetConfigs.get

      Path : v1alpha/{+name}

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/widgetConfigs/{widgetConfigsId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`

          Pattern : ^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/widgetConfigs/[^/]+$

          Location : path

          Required : Yes

          Type : string

        acceptCache

          Description : Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development.

          Location : query

          Type : boolean

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Gets a WidgetConfig.