Class: Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::DataPolicies::V1beta1::DataPolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb
Overview
Represents the label-policy binding.
Defined Under Namespace
Modules: DataPolicyType
Instance Attribute Summary collapse
-
#data_masking_policy ⇒ ::Google::Cloud::Bigquery::DataPolicies::V1beta1::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::V1beta1::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::V1beta1::DataMaskingPolicy
Returns The data masking policy that specifies the data masking rule to use.
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb', line 131 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.
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb', line 131 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::V1beta1::DataPolicy::DataPolicyType
Returns Type of data policy.
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb', line 131 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}
.
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb', line 131 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}
.
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'proto_docs/google/cloud/bigquery/datapolicies/v1beta1/datapolicy.rb', line 131 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 |