Reference documentation and code samples for the Data Loss Prevention V2 Client class TransformationType.
An enum of rules that can be used to transform a value. Can be a
record suppression, or one of the transformation rules specified under
PrimitiveTransformation
.
Protobuf type google.privacy.dlp.v2.TransformationType
Namespace
Google \ Cloud \ Dlp \ V2Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
TRANSFORMATION_TYPE_UNSPECIFIED
Value: 0
Unused
Generated from protobuf enum TRANSFORMATION_TYPE_UNSPECIFIED = 0;
RECORD_SUPPRESSION
Value: 1
Record suppression
Generated from protobuf enum RECORD_SUPPRESSION = 1;
REPLACE_VALUE
Value: 2
Replace value
Generated from protobuf enum REPLACE_VALUE = 2;
REPLACE_DICTIONARY
Value: 15
Replace value using a dictionary.
Generated from protobuf enum REPLACE_DICTIONARY = 15;
REDACT
Value: 3
Redact
Generated from protobuf enum REDACT = 3;
CHARACTER_MASK
Value: 4
Character mask
Generated from protobuf enum CHARACTER_MASK = 4;
CRYPTO_REPLACE_FFX_FPE
Value: 5
FFX-FPE
Generated from protobuf enum CRYPTO_REPLACE_FFX_FPE = 5;
FIXED_SIZE_BUCKETING
Value: 6
Fixed size bucketing
Generated from protobuf enum FIXED_SIZE_BUCKETING = 6;
BUCKETING
Value: 7
Bucketing
Generated from protobuf enum BUCKETING = 7;
REPLACE_WITH_INFO_TYPE
Value: 8
Replace with info type
Generated from protobuf enum REPLACE_WITH_INFO_TYPE = 8;
TIME_PART
Value: 9
Time part
Generated from protobuf enum TIME_PART = 9;
CRYPTO_HASH
Value: 10
Crypto hash
Generated from protobuf enum CRYPTO_HASH = 10;
DATE_SHIFT
Value: 12
Date shift
Generated from protobuf enum DATE_SHIFT = 12;
CRYPTO_DETERMINISTIC_CONFIG
Value: 13
Deterministic crypto
Generated from protobuf enum CRYPTO_DETERMINISTIC_CONFIG = 13;
REDACT_IMAGE
Value: 14
Redact image
Generated from protobuf enum REDACT_IMAGE = 14;