Send feedback
BigQuery Data Policy v1beta1 API - Enum DataMaskingPolicy.Types.PredefinedExpression (1.0.0-beta01)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.0.0-beta01 keyboard_arrow_down
public enum PredefinedExpression
Namespace
Google.Cloud.BigQuery.DataPolicies.V1Beta1
Assembly
Google.Cloud.BigQuery.DataPolicies.V1Beta1.dll
Fields
Name Description 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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-04 UTC."],[],[]]