Method: projects.locations.authorizations.list

Lists all Authorizations under an Engine.

HTTP request

GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*}/authorizations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
pageSize

integer

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.

pageToken

string

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 authorizations.list must match the call that provided the page token.

Request body

The request body must be empty.

Response body

Response message for the AuthorizationService.ListAuthorizations method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "authorizations": [
    {
      object (Authorization)
    }
  ],
  "nextPageToken": string
}
Fields
authorizations[]

object (Authorization)

All the customer's Authorizations.

nextPageToken

string

A token that can be sent as ListAuthorizationsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.