v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13274687.3 KB
projects

Lists all ResourcePolicy configurations for the specified project and service.

get/v1/{+parent}/resourcePolicies

Path parameters

parentstring required

Required. The relative resource name of the parent Service for which to list each associated ResourcePolicy, in the format: projects/{project_number}/services/{service_id} Note that the service_id element must be a supported service ID. Currently, the following service IDs are supported: * oauth2.googleapis.com (Google Identity for iOS)

Query parameters

filterstring

Optional. Filters the results by the specified rule. For the exact syntax of this field, please consult the AIP-160 standard. Currently, since the only fields in the ResourcePolicy resource are the scalar fields enforcement_mode and target_resource, this method does not support the traversal operator (.) or the has operator (:). Here are some examples of valid filters: * enforcement_mode = ENFORCED * target_resource = "//oauth2.googleapis.com/projects/12345/oauthClients/" * enforcement_mode = ENFORCED AND target_resource = "//oauth2.googleapis.com/projects/12345/oauthClients/"

pageSizeinteger

The maximum number of ResourcePolicy objects to return in the response. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.

pageTokenstring

Token returned from a previous call to ListResourcePolicies indicating where in the set of ResourcePolicy objects to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListResourcePolicies must match the call that provided the page token; if they do not match, the result is undefined.

Response

Successful response