Method: accessPolicies.list

Lists all access policies in an organization.

HTTP request

GET https://accesscontextmanager.googleapis.com/v1/accessPolicies

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
parent

string

Required. Resource name for the container to list AccessPolicy instances from.

Format: organizations/{org_id}

pageSize

integer

Number of AccessPolicy instances to include in the list. Default 100.

pageToken

string

Next page token for the next batch of AccessPolicy instances. Defaults to the first page of results.

Request body

The request body must be empty.

Response body

A response to ListAccessPoliciesRequest.

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

JSON representation
{
  "accessPolicies": [
    {
      object (AccessPolicy)
    }
  ],
  "nextPageToken": string
}
Fields
accessPolicies[]

object (AccessPolicy)

List of the AccessPolicy instances.

nextPageToken

string

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.