BigQuery Data Policy Service V1 API - Class Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy (v0.10.0)

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
Returns

#predefined_expression=

def predefined_expression=(value) -> ::Google::Cloud::Bigquery::DataPolicies::V1::DataMaskingPolicy::PredefinedExpression
Parameter
Returns

#routine

def routine() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.