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
NameDescription
otherDataMaskingPolicy

Properties

HasPredefinedExpression

public bool HasPredefinedExpression { get; }

Gets whether the "predefined_expression" field is set

Property Value
TypeDescription
bool

HasRoutine

public bool HasRoutine { get; }

Gets whether the "routine" field is set

Property Value
TypeDescription
bool

MaskingExpressionCase

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

PredefinedExpression

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

A predefined masking expression.

Property Value
TypeDescription
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
TypeDescription
string