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 |
policy_tag |
str
Policy tag resource name, in the format of projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id} .
This field is a member of oneof _ matching_label .
|
data_masking_policy |
google.cloud.bigquery_datapolicies_v1.types.DataMaskingPolicy
The data masking policy that specifies the data masking rule to use. This field is a member of oneof _ policy .
|
name |
str
Output only. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id} .
|
data_policy_type |
google.cloud.bigquery_datapolicies_v1.types.DataPolicy.DataPolicyType
Type of data policy. |
data_policy_id |
str
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. |
Classes
DataPolicyType
DataPolicyType(value)
A list of supported data policy types.
Values: DATA_POLICY_TYPE_UNSPECIFIED (0): Default value for the data policy type. This should not be used. COLUMN_LEVEL_SECURITY_POLICY (3): Used to create a data policy for column-level security, without data masking. DATA_MASKING_POLICY (2): Used to create a data policy for data masking.