Discovery Engine API (discoveryengine:v1alpha)

2025-07-25

5 new methods | 1 removed method

Additions

    Methods
  • discoveryengine.media.download

      Path : v1alpha/{+name}:downloadFile

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}:downloadFile

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`

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

          Location : path

          Required : Yes

          Type : string

        fileId

          Description : Required. The ID of the file to be downloaded.

          Location : query

          Type : string

        viewId

          Description : Optional. The ID of the view to be downloaded.

          Location : query

          Type : string

      Parameter Order : name

      Supportsmediadownload : Yes

      Usemediadownloadservice : Yes

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

      Description : Downloads a file from the session.

  • discoveryengine.projects.locations.notebooks.listRecentlyViewed

      Path : v1alpha/{+parent}/notebooks:listRecentlyViewed

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks:listRecentlyViewed

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The parent branch resource name, such as `projects/{project}/locations/{location}`.

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

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. Maximum number of Notebooks to return. If unspecified, defaults to "200". The maximum allowed value is "500". If this field is negative, will use the default value.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. The page token, provide this to retrieve the subsequent page.

          Location : query

          Type : string

      Parameter Order : parent

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

      Description : Lists the recently viewed notebooks. Needs a side channel with the user's EUC.

  • discoveryengine.projects.locations.notebooks.sources.batchCreate

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

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

      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

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

      Description : Creates a list of Sources.

  • discoveryengine.projects.locations.collections.engines.assistants.patch

      Path : v1alpha/{+name}

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters.

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

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : The list of fields to update.

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

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

      Description : Updates an Assistant

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

      Path : v1alpha/{+name}

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

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

      Description : Gets an Assistant.

Deletions

    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.