Method: projects.locations.scopes.listPermitted

Lists permitted Scopes.

HTTP request

GET https://gkehub.googleapis.com/v1alpha/{parent=projects/*/locations/*}/scopes:listPermitted

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent (project and location) where the Scope will be listed. Specified in the format projects/*/locations/*.

Authorization requires the following IAM permission on the specified resource parent:

  • iam.permissions.none

Query parameters

Parameters
pageSize

integer

Optional. When requesting a 'page' of resources, pageSize specifies number of resources to return. If unspecified or set to 0, all resources will be returned.

pageToken

string

Optional. Token returned by previous call to scopes.listPermitted which specifies the position in the list from where to continue listing the resources.

Request body

The request body must be empty.

Response body

List of permitted Scopes.

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

JSON representation
{
  "scopes": [
    {
      object (Scope)
    }
  ],
  "nextPageToken": string
}
Fields
scopes[]

object (Scope)

The list of permitted Scopes

nextPageToken

string

A token to request the next page of resources from the scopes.listPermitted method. The value of an empty string means that there are no more resources to return.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.