BigQuery Data Policy v1beta1 API - Enum DataMaskingPolicy.Types.PredefinedExpression (1.0.0-beta01)

public enum PredefinedExpression

Reference documentation and code samples for the BigQuery Data Policy v1beta1 API enum DataMaskingPolicy.Types.PredefinedExpression.

The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.

Namespace

Google.Cloud.BigQuery.DataPolicies.V1Beta1

Assembly

Google.Cloud.BigQuery.DataPolicies.V1Beta1.dll

Fields

NameDescription
AlwaysNull

Masking expression to replace data with NULLs.

DefaultMaskingValue

Masking expression to replace data with their default masking values. The default masking values for each type listed as below:

  • STRING: ""
  • BYTES: b''
  • INTEGER: 0
  • FLOAT: 0.0
  • NUMERIC: 0
  • BOOLEAN: FALSE
  • TIMESTAMP: 0001-01-01 00:00:00 UTC
  • DATE: 0001-01-01
  • TIME: 00:00:00
  • DATETIME: 0001-01-01T00:00:00
  • GEOGRAPHY: POINT(0 0)
  • BIGNUMERIC: 0
  • ARRAY: []
  • STRUCT: NOT_APPLICABLE
  • JSON: NULL
Sha256

Masking expression to replace data with SHA-256 hash.

Unspecified

Default, unspecified predefined expression. No masking will take place since no expression is specified.