GET
/
v1
/
projects
/
{project}
/
policies
{
  "policies": [
    {}
  ],
  "nextPageToken": "<string>"
}

Path Parameters

project
string
required

The project id.

Query Parameters

policyType
enum<string>
Available options:
POLICY_TYPE_UNSPECIFIED,
ROLLOUT_POLICY,
DISABLE_COPY_DATA,
MASKING_RULE,
MASKING_EXCEPTION,
RESTRICT_ISSUE_CREATION_FOR_SQL_REVIEW,
TAG,
DATA_SOURCE_QUERY,
DATA_QUERY
pageSize
integer

Not used. The maximum number of policies to return. The service may return fewer than this value. If unspecified, at most 10 policies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken
string

Not used. A page token, received from a previous ListPolicies call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListPolicies must match the call that provided the page token.

showDeleted
boolean

Show deleted policies if specified.

Response

OK

policies
object[]

The policies from the specified request.

nextPageToken
string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.