GET
/
v1
/
instances
/
{instance}
/
databases
/
{database}
/
policies
{
  "policies": [
    {}
  ],
  "nextPageToken": "<string>"
}

Path Parameters

instance
string
required

The instance id.

database
string
required

The database 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_EXPORT,
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

200
application/json

OK

The response is of type object.