DataPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents the label-policy binding.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
data_masking_policy |
google.cloud.bigquery_datapolicies_v2.types.DataMaskingPolicy
Optional. The data masking policy that specifies the data masking rule to use. It must be set if the data policy type is DATA_MASKING_POLICY. This field is a member of oneof _ policy .
|
name |
str
Identifier. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id} .
|
data_policy_id |
str
Output only. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name. |
etag |
str
The etag for this Data Policy. This field is used for UpdateDataPolicy calls. If Data Policy exists, this field is required and must match the server's etag. It will also be populated in the response of GetDataPolicy, CreateDataPolicy, and UpdateDataPolicy calls. This field is a member of oneof _ _etag .
|
data_policy_type |
google.cloud.bigquery_datapolicies_v2.types.DataPolicy.DataPolicyType
Required. Type of data policy. |
policy_tag |
str
Output only. Policy tag resource name, in the format of projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id} .
policy_tag is supported only for V1 data policies.
|
grantees |
MutableSequence[str]
Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the `IAM V2 principal syntax |
version |
google.cloud.bigquery_datapolicies_v2.types.DataPolicy.Version
Output only. The version of the Data Policy resource. |
Classes
DataPolicyType
DataPolicyType(value)
A list of supported data policy types.
Version
Version(value)
The supported versions for the Data Policy resource.