v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1339117150.4 KB
policies

List policies.

get/v1/policies

Query parameters

filterstring

Optional. A CEL expression for filtering the results. Policies can be filtered using the expression in the following ways: - Filter by application: setting.type.matches('^settings/gmail\\..*$') - Filter by setting type: setting.type.matches('^.*\\.service_status$') - Filter by customer: customer == "customers/{customer}" Where customer is the id from the Admin SDK Customer resource. You may use customers/my_customer to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. You may only filter on policies for a single customer at a time. The above clauses can be combined together in a single filter expression with the && and || operators, like in the following example: customer == "customers/my_customer" && ( setting.type.matches('^settings/gmail\\..*$') || setting.type.matches('^.*\\.service_status$') ).

pageSizeinteger

Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. page_size values greater than 100 default to 100.

pageTokenstring

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 ListPoliciesRequest must match the call that provided the page token.

Response

Successful response