Reference documentation and code samples for the Data Loss Prevention V2 Client class PrimitiveTransformation.
A rule for transforming a value.
Generated from protobuf message google.privacy.dlp.v2.PrimitiveTransformation
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ replace_config
↳ redact_config
↳ character_mask_config
↳ crypto_replace_ffx_fpe_config
↳ fixed_size_bucketing_config
↳ bucketing_config
↳ replace_with_info_type_config
↳ time_part_config
↳ crypto_hash_config
↳ date_shift_config
↳ crypto_deterministic_config
↳ replace_dictionary_config
Google\Cloud\Dlp\V2\ReplaceDictionaryConfig
Replace with a value randomly drawn (with replacement) from a dictionary.
getReplaceConfig
Replace with a specified value.
hasReplaceConfig
setReplaceConfig
Replace with a specified value.
$this
getRedactConfig
Redact
hasRedactConfig
setRedactConfig
Redact
$this
getCharacterMaskConfig
Mask
hasCharacterMaskConfig
setCharacterMaskConfig
Mask
$this
getCryptoReplaceFfxFpeConfig
Ffx-Fpe
hasCryptoReplaceFfxFpeConfig
setCryptoReplaceFfxFpeConfig
Ffx-Fpe
$this
getFixedSizeBucketingConfig
Fixed size bucketing
hasFixedSizeBucketingConfig
setFixedSizeBucketingConfig
Fixed size bucketing
$this
getBucketingConfig
Bucketing
hasBucketingConfig
setBucketingConfig
Bucketing
$this
getReplaceWithInfoTypeConfig
Replace with infotype
hasReplaceWithInfoTypeConfig
setReplaceWithInfoTypeConfig
Replace with infotype
$this
getTimePartConfig
Time extraction
hasTimePartConfig
setTimePartConfig
Time extraction
$this
getCryptoHashConfig
Crypto
hasCryptoHashConfig
setCryptoHashConfig
Crypto
$this
getDateShiftConfig
Date Shift
hasDateShiftConfig
setDateShiftConfig
Date Shift
$this
getCryptoDeterministicConfig
Deterministic Crypto
hasCryptoDeterministicConfig
setCryptoDeterministicConfig
Deterministic Crypto
$this
getReplaceDictionaryConfig
Replace with a value randomly drawn (with replacement) from a dictionary.
hasReplaceDictionaryConfig
setReplaceDictionaryConfig
Replace with a value randomly drawn (with replacement) from a dictionary.
$this
getTransformation
string