Class DataPolicy (0.3.2)

DataPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
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.