List Policies
HTTP request
GET https://cloudidentity.googleapis.com/v1beta1/policies
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of results to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will default to 50. The maximum allowed value is 100, though requests with pageSize greater than that will be interpreted as 100. |
page |
Optional. The pagination token received from a prior call to PoliciesService.ListPolicies to retrieve the next page of results. When paginating, all other parameters provided to |
filter |
Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.name = 'settings/gmail.*' Policies can be filtered by setting type with this expression: setting.name = '*.service_status' A maximum of one of the above setting.name clauses can be used. Policies can be filtered by customer with this expression: customer = "customers/{customer}" Where The above clauses can only be combined together in a single filter expression with the AND operator. |
Request body
The request body must be empty.
Response body
The response message for PoliciesService.ListPolicies
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"policies": [
{
object ( |
Fields | |
---|---|
policies[] |
The results |
next |
The pagination token to retrieve the next page of results. If this field is empty, there are no subsequent pages. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-identity.policies.readonly
https://www.googleapis.com/auth/cloud-identity.policies
For more information, see the Authentication Overview.