- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
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 |
Required. The project and location from which the |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. |
pageToken |
Optional. A token identifying a page of results that the server returns. |
filter |
Optional. Filtering results. |
orderBy |
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 ( |
Fields | |
---|---|
authzPolicies[] |
The list of |
nextPageToken |
A token identifying a page of results that the server returns. |
unreachable[] |
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.