Method: projects.locations.authzPolicies.list

Lists AuthzPolicies in a given project and location.

HTTP request

GET https://networksecurity.googleapis.com/v1beta1/{parent=projects/*/locations/*}/authzPolicies

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project and location from which the AuthzPolicy resources are listed, specified in the following format: projects/{project}/locations/{location}.

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

pageToken

string

Optional. A token identifying a page of results that the server returns.

filter

string

Optional. Filtering results.

orderBy

string

Optional. Hint for how to order the results.

Request body

The request body must be empty.

Response body

Message for response to listing AuthzPolicy resources.

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

JSON representation
{
  "authzPolicies": [
    {
      object (AuthzPolicy)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
authzPolicies[]

object (AuthzPolicy)

The list of AuthzPolicy resources.

nextPageToken

string

A token identifying a page of results that the server returns.

unreachable[]

string

Locations that could not be reached.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • networksecurity.authzPolicies.list

For more information, see the IAM documentation.