Class: Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/bigquery/datapolicies/v1/datapolicy.rb
Overview
Represents the label-policy binding.
Defined Under Namespace
Modules: DataPolicyType
Instance Attribute Summary collapse
-
#data_masking_policy ⇒ ::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy
The data masking policy that specifies the data masking rule to use.
-
#data_policy_id ⇒ ::String
User-assigned (human readable) ID of the data policy that needs to be unique within a project.
-
#data_policy_type ⇒ ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy::DataPolicyType
Type of data policy.
-
#name ⇒ ::String
readonly
Output only.
-
#policy_tag ⇒ ::String
Policy tag resource name, in the format of
projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}
.
Instance Attribute Details
#data_masking_policy ⇒ ::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy
Returns The data masking policy that specifies the data masking rule to use.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1/datapolicy.rb', line 154 class DataPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of supported data policy types. module DataPolicyType # Default value for the data policy type. This should not be used. DATA_POLICY_TYPE_UNSPECIFIED = 0 # Used to create a data policy for column-level security, without data # masking. COLUMN_LEVEL_SECURITY_POLICY = 3 # Used to create a data policy for data masking. DATA_MASKING_POLICY = 2 end end |
#data_policy_id ⇒ ::String
Returns 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.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1/datapolicy.rb', line 154 class DataPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of supported data policy types. module DataPolicyType # Default value for the data policy type. This should not be used. DATA_POLICY_TYPE_UNSPECIFIED = 0 # Used to create a data policy for column-level security, without data # masking. COLUMN_LEVEL_SECURITY_POLICY = 3 # Used to create a data policy for data masking. DATA_MASKING_POLICY = 2 end end |
#data_policy_type ⇒ ::Google::Cloud::Bigquery::DataPolicies::V1::DataPolicy::DataPolicyType
Returns Type of data policy.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1/datapolicy.rb', line 154 class DataPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of supported data policy types. module DataPolicyType # Default value for the data policy type. This should not be used. DATA_POLICY_TYPE_UNSPECIFIED = 0 # Used to create a data policy for column-level security, without data # masking. COLUMN_LEVEL_SECURITY_POLICY = 3 # Used to create a data policy for data masking. DATA_MASKING_POLICY = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. Resource name of this data policy, in the format of
projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}
.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1/datapolicy.rb', line 154 class DataPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of supported data policy types. module DataPolicyType # Default value for the data policy type. This should not be used. DATA_POLICY_TYPE_UNSPECIFIED = 0 # Used to create a data policy for column-level security, without data # masking. COLUMN_LEVEL_SECURITY_POLICY = 3 # Used to create a data policy for data masking. DATA_MASKING_POLICY = 2 end end |
#policy_tag ⇒ ::String
Returns Policy tag resource name, in the format of
projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}
.
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1/datapolicy.rb', line 154 class DataPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A list of supported data policy types. module DataPolicyType # Default value for the data policy type. This should not be used. DATA_POLICY_TYPE_UNSPECIFIED = 0 # Used to create a data policy for column-level security, without data # masking. COLUMN_LEVEL_SECURITY_POLICY = 3 # Used to create a data policy for data masking. DATA_MASKING_POLICY = 2 end end |