Discovery Engine API (discoveryengine:v1alpha)

2026-11-26

2 new methods | 1 updated method | 3 removed methods

Additions

    Methods
  • ▼ ▲ discoveryengine.projects.locations.collections.engines.sessions.validateUserAuthorization

      Path : v1alpha/{+session}:validateUserAuthorization

      Description : Validates an A2A 3-legged-OAuth (3LO) downstream-auth consent flow after the user returns from the third-party consent screen, and finalizes the downstream credential with Auth Manager.

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/discoveryengine.readwrite
    • https://www.googleapis.com/auth/discoveryengine.serving.readwrite
    • Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}:validateUserAuthorization

      HTTP Method : POST

      Parameters :

        session

          Description : Required. The resource name of the assist Session that initiated the consent flow. Used together with `downstream_connector` to recover the server-stored `consent_nonce`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`

          Required : Yes

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

          Location : path

          Type : string

      Parameter Order : session

  • ▼ ▲ discoveryengine.projects.locations.collections.engines.assistants.agents.transferAgentOwner

      Description : Transfers ownership of an Agent to a new owner. The new owner becomes the agent's only owner. The previous owner loses access unless `previous_owner_disposition` keeps them as a user. The previous owner's schedules and event triggers on the agent are disabled (their configuration stays on the agent), and the new owner is notified. Requires the `discoveryengine.agents.manage` permission on the agent. Private agents cannot be transferred. A failed call can be retried with the same request; the retry completes the transfer.

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

      Path : v1alpha/{+name}:transferAgentOwner

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/discoveryengine.assist.readwrite
    • https://www.googleapis.com/auth/discoveryengine.readwrite
    • https://www.googleapis.com/auth/discoveryengine.serving.readwrite
    • Parameters :

        name

          Type : string

          Required : Yes

          Location : path

          Description : Required. The name of the Agent whose ownership is being transferred. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}`

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

      HTTP Method : POST

Updates

    Methods
  • ▼ ▲ discoveryengine.projects.locations.collections.dataConnector.mcp

      Parameters :

        httpBody.contentType

          Location : query

          Type : string

          Description : The HTTP Content-Type header value specifying the content type of the body.

        httpBody.data

          Format : byte

          Description : The HTTP request/response body as raw binary.

          Location : query

          Type : string

        name

          Type : string

          Required : Yes

          Location : path

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

          Description : Required. The DataConnector the MCP request is for. Format: `projects/{project}/locations/{location}/collections/{collection}/dataConnector`

        httpBody.extensions

          Type : object

          Location : query

          Description : Application specific response metadata. Must be set in the first response for streaming APIs.

          Repeated : Yes

          Additionalproperties :

            Description : Properties of the object. Contains field @type with type URL.

            Type : any

        data

          Location : query

          Type : string

          Description : The HTTP request/response body as raw binary.

          Format : byte

        extensions

          Location : query

          Repeated : Yes

          Additionalproperties :

            Type : any

            Description : Properties of the object. Contains field @type with type URL.

          Description : Application specific response metadata. Must be set in the first response for streaming APIs.

          Type : object

        contentType

          Location : query

          Description : The HTTP Content-Type header value specifying the content type of the body.

          Type : string

        locationsId

          Type : string

          Required : Yes

          Location : path

        collectionsId

          Required : Yes

          Type : string

          Location : path

        projectsId

          Required : Yes

          Type : string

          Location : path

      Parameter Order : projectsId  ⟶  name

      Path : v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataConnector/mcp  ⟶  v1alpha/{+name}/mcp

Deletions

    Methods
  • ▼ ▲ discoveryengine.projects.locations.userStores.userAvailability.update

  • ▼ ▲ discoveryengine.projects.locations.userStores.userAvailabilities.batchUpdate

  • ▼ ▲ discoveryengine.projects.locations.userStores.userAvailabilities.list

      HTTP Method : GET

      Parameter Order : parent

      Description : Lists the UserAvailabilitys.

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}/userAvailabilities

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/discoveryengine.readwrite
    • https://www.googleapis.com/auth/discoveryengine.serving.readwrite
    • Path : v1alpha/{+parent}/userAvailabilities

      Parameters :

        pageToken

          Type : string

          Description : Optional. A page token, received from a previous `ListUserAvailabilities` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserAvailabilities` must match the call that provided the page token.

          Location : query

        filter

          Description : Optional. Filter for the list request. Supported fields (only `user_principal` is supported for now): * `user_principal` (will be normalized for matching) Examples: * `user_principal = "user1@example.com"` to list user availability for `user1@example.com`.

          Location : query

          Type : string

        parent

          Type : string

          Location : path

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

          Required : Yes

          Description : Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`.

        pageSize

          Format : int32

          Location : query

          Type : integer

          Description : Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.