BigQuery Data Policy v1 API - Class DataMaskingPolicy (1.4.0)

public sealed class DataMaskingPolicy : IMessage<DataMaskingPolicy>, IEquatable<DataMaskingPolicy>, IDeepCloneable<DataMaskingPolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the BigQuery Data Policy v1 API class DataMaskingPolicy.

The data masking policy that is used to specify data masking rule.

Inheritance

object > DataMaskingPolicy

Namespace

Google.Cloud.BigQuery.DataPolicies.V1

Assembly

Google.Cloud.BigQuery.DataPolicies.V1.dll

Constructors

DataMaskingPolicy()

public DataMaskingPolicy()

DataMaskingPolicy(DataMaskingPolicy)

public DataMaskingPolicy(DataMaskingPolicy other)
Parameter
Name Description
other DataMaskingPolicy

Properties

HasPredefinedExpression

public bool HasPredefinedExpression { get; }

Gets whether the "predefined_expression" field is set

Property Value
Type Description
bool

HasRoutine

public bool HasRoutine { get; }

Gets whether the "routine" field is set

Property Value
Type Description
bool

MaskingExpressionCase

public DataMaskingPolicy.MaskingExpressionOneofCase MaskingExpressionCase { get; }
Property Value
Type Description
DataMaskingPolicyMaskingExpressionOneofCase

PredefinedExpression

public DataMaskingPolicy.Types.PredefinedExpression PredefinedExpression { get; set; }

A predefined masking expression.

Property Value
Type Description
DataMaskingPolicyTypesPredefinedExpression

Routine

public string Routine { get; set; }

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

Property Value
Type Description
string