Send feedback
Class PredefinedExpression (0.6.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
PredefinedExpression(value)
The available masking rules. Learn more here:
https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options .
Values:
PREDEFINED_EXPRESSION_UNSPECIFIED (0):
Default, unspecified predefined expression.
No masking will take place since no expression
is specified.
SHA256 (3):
Masking expression to replace data with
SHA-256 hash.
ALWAYS_NULL (5):
Masking expression to replace data with
NULLs.
DEFAULT_MASKING_VALUE (7):
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
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-03-21 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?