Reference documentation and code samples for the BigQuery Data Policy Service V1 API class Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy.
The data masking policy that is used to specify data masking rule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#predefined_expression
def predefined_expression() -> ::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy::PredefinedExpression
-
(::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy::PredefinedExpression) — A predefined masking expression.
Note: The following fields are mutually exclusive:
predefined_expression
,routine
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#predefined_expression=
def predefined_expression=(value) -> ::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy::PredefinedExpression
-
value (::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy::PredefinedExpression) — A predefined masking expression.
Note: The following fields are mutually exclusive:
predefined_expression
,routine
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy::PredefinedExpression) — A predefined masking expression.
Note: The following fields are mutually exclusive:
predefined_expression
,routine
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#routine
def routine() -> ::String
-
(::String) — The name of the BigQuery routine that contains the custom masking
routine, in the format of
projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}
.Note: The following fields are mutually exclusive:
routine
,predefined_expression
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#routine=
def routine=(value) -> ::String
-
value (::String) — The name of the BigQuery routine that contains the custom masking
routine, in the format of
projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}
.Note: The following fields are mutually exclusive:
routine
,predefined_expression
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The name of the BigQuery routine that contains the custom masking
routine, in the format of
projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}
.Note: The following fields are mutually exclusive:
routine
,predefined_expression
. If a field in that set is populated, all other fields in the set will automatically be cleared.