public enum DataMaskingPolicy.PredefinedExpression extends Enum<DataMaskingPolicy.PredefinedExpression> implements ProtocolMessageEnum
The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.
Protobuf enum
google.cloud.bigquery.datapolicies.v1.DataMaskingPolicy.PredefinedExpression
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ALWAYS_NULL |
Masking expression to replace data with NULLs. |
ALWAYS_NULL_VALUE |
Masking expression to replace data with NULLs. |
DATE_YEAR_MASK |
Masking expression to only show the year of
|
DATE_YEAR_MASK_VALUE |
Masking expression to only show the year of
|
DEFAULT_MASKING_VALUE |
Masking expression to replace data with their default masking values. The default masking values for each type listed as below:
|
DEFAULT_MASKING_VALUE_VALUE |
Masking expression to replace data with their default masking values. The default masking values for each type listed as below:
|
EMAIL_MASK |
Masking expression for email addresses. The masking behavior is as follows:
|
EMAIL_MASK_VALUE |
Masking expression for email addresses. The masking behavior is as follows:
|
FIRST_FOUR_CHARACTERS |
Masking expression shows the first four characters of text. The masking behavior is as follows:
|
FIRST_FOUR_CHARACTERS_VALUE |
Masking expression shows the first four characters of text. The masking behavior is as follows:
|
LAST_FOUR_CHARACTERS |
Masking expression shows the last four characters of text. The masking behavior is as follows:
|
LAST_FOUR_CHARACTERS_VALUE |
Masking expression shows the last four characters of text. The masking behavior is as follows:
|
PREDEFINED_EXPRESSION_UNSPECIFIED |
Default, unspecified predefined expression. No masking will take place since no expression is specified. |
PREDEFINED_EXPRESSION_UNSPECIFIED_VALUE |
Default, unspecified predefined expression. No masking will take place since no expression is specified. |
SHA256 |
Masking expression to replace data with SHA-256 hash. |
SHA256_VALUE |
Masking expression to replace data with SHA-256 hash. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |