Method: organizations.locations.accessPolicies.list

Lists access policies.

HTTP request

GET https://iam.googleapis.com/v3beta/{parent=organizations/*/locations/*}/accessPolicies

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource, which owns the collection of access policy resources.

Format: projects/{projectId}/locations/{location} projects/{projectNumber}/locations/{location} folders/{folderId}/locations/{location} organizations/{organizationId}/locations/{location}

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of access policies to return. The service may return fewer than this value.

If unspecified, at most 50 access policies will be returned. Valid value ranges from 1 to 1000; values above 1000 will be coerced to 1000.

pageToken

string

Optional. A page token, received from a previous accessPolicies.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to accessPolicies.list must match the call that provided the page token.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListAccessPoliciesResponse.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.