Discovery Engine API (discoveryengine:v1alpha)

2025-10-28

5 new methods

Additions

    Methods
  • discoveryengine.projects.locations.authorizations.delete

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/discoveryengine.readwrite
    • Description : Deletes an Authorization.

      Path : v1alpha/{+name}

      Parameters :

        name

          Description : Required. Resource name of Authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` If the caller does not have permission to delete the authorization, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the authorization to delete does not exist, a `NOT_FOUND` error is returned.

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

          Required : Yes

          Location : path

          Type : string

      Parameter Order : name

      HTTP Method : DELETE

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations/{authorizationsId}

  • discoveryengine.projects.locations.authorizations.get

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations/{authorizationsId}

      Parameter Order : name

      Description : Gets an Authorization.

      Path : v1alpha/{+name}

      Parameters :

        name

          Description : Required. Resource name of Authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}`

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

          Location : path

          Required : Yes

          Type : string

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/discoveryengine.readwrite
    • HTTP Method : GET

  • discoveryengine.projects.locations.authorizations.create

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations

      HTTP Method : POST

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/discoveryengine.readwrite
    • Parameter Order : parent

      Path : v1alpha/{+parent}/authorizations

      Parameters :

        parent

          Description : Required. The parent resource name. Format: `projects/{project}/locations/{location}`

          Required : Yes

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

          Type : string

          Location : path

        authorizationId

          Location : query

          Description : Required. The ID to use for the authorization, which will become the final component of the resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.

          Type : string

      Description : Creates an Authorization.

  • discoveryengine.projects.locations.authorizations.patch

      Description : Updates an Authorization

      Scopes :

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

        name

          Location : path

          Required : Yes

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

          Type : string

          Description : Identifier. Resource name of the authorization. Format: `projects/{project}/locations/{location}/authorizations/{authorization}` It must be a UTF-8 encoded string with a length limit of 1024 characters.

        updateMask

          Type : string

          Format : google-fieldmask

          Description : The list of fields to update.

          Location : query

      Path : v1alpha/{+name}

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations/{authorizationsId}

      Parameter Order : name

      HTTP Method : PATCH

  • discoveryengine.projects.locations.authorizations.list

      Parameter Order : parent

      Scopes :

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

        parent

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

          Required : Yes

          Location : path

          Type : string

          Description : Required. The parent resource name. Format: `projects/{project}/locations/{location}`

        pageToken

          Location : query

          Type : string

          Description : A page token ListAuthorizationsResponse.next_page_token, received from a previous AuthorizationService.ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token.

        pageSize

          Format : int32

          Location : query

          Description : Maximum number of Authorizations to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.

          Type : integer

      Path : v1alpha/{+parent}/authorizations

      Flat Path : v1alpha/projects/{projectsId}/locations/{locationsId}/authorizations

      Description : Lists all Authorizations under an Engine.

      HTTP Method : GET