POST
/
v1
/
policies
{}

Query Parameters

parent
string

The parent resource where this instance will be created. Workspace resource name: "". Environment resource name: environments/environment-id. Instance resource name: instances/instance-id. Database resource name: instances/instance-id/databases/database-name.

type
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

Body

application/json · object

Response

200
application/json

OK

The response is of type object.