v1

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

List all of the data policies in the specified parent project.

get/v2/{+parent}/dataPolicies

Path parameters

parentstring required

Required. Resource name of the project for which to list data policies. Format is projects/{project_number}/locations/{location_id}.

Query parameters

filterstring

Optional. Filters the data policies by policy tags that they are associated with. Currently filter only supports "policy_tag" based filtering and OR based predicates. Sample filter can be "policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3". You may also use wildcard such as "policy_tag: projects/1/locations/us/taxonomies/2*". Please note that OR predicates cannot be used with wildcard filters.

pageSizeinteger

Optional. The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.

pageTokenstring

Optional. The nextPageToken value returned from a previous list request, if any. If not set, defaults to an empty string.

Response

Successful response