OptionalcommentOptionalcreatedTime at which the policy was created, in epoch milliseconds. Output only.
OptionalcreatedUsername of the user who created the policy. Output only.
OptionalexceptOptional list of user or group names that should be excluded from the policy.
OptionalforType of securables that the policy should take effect on.
Only TABLE is supported at this moment.
Required on create and optional on update.
OptionalidUnique identifier of the policy. This field is output only and is generated by the system.
OptionalmatchOptional list of condition expressions used to match table columns.
Only valid when for_securable_type is TABLE.
When specified, the policy only applies to tables whose columns satisfy all match conditions.
OptionalnameName of the policy. Required on create and optional on update.
To rename the policy, set name to a different value on update.
OptionalonFull name of the securable on which the policy is defined. Required on create.
OptionalonType of the securable on which the policy is defined.
Only CATALOG, SCHEMA and TABLE are supported at this moment.
Required on create.
Optionaloptions(--[Create:REQ Update:OPT] Type-specific options for the Policy--) Type-specific options for the policy.
Options for row filter policies. Valid only if policy_type is POLICY_TYPE_ROW_FILTER.
Required on create and optional on update. When specified on update,
the new options will replace the existing options as a whole.
Options for column mask policies. Valid only if policy_type is POLICY_TYPE_COLUMN_MASK.
Required on create and optional on update. When specified on update,
the new options will replace the existing options as a whole.
OptionalpolicyType of the policy. Required on create.
OptionaltoList of user or group names that the policy applies to. Required on create and optional on update.
OptionalupdatedTime at which the policy was last modified, in epoch milliseconds. Output only.
OptionalupdatedUsername of the user who last modified the policy. Output only.
OptionalwhenOptional condition when the policy should take effect.
Optional description of the policy.