Method: accessPolicies.list

List all AccessPolicies under a container.

HTTP request

GET https://accesscontextmanager.googleapis.com/v1beta/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

number

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

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

A response to ListAccessPoliciesRequest.

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.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Access Context Manager