Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::PrimitiveTransformation.
A rule for transforming a value.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bucketing_config
def bucketing_config() -> ::Google::Cloud::Dlp::V2::BucketingConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::BucketingConfig) — Bucketing
#bucketing_config=
def bucketing_config=(value) -> ::Google::Cloud::Dlp::V2::BucketingConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::BucketingConfig) — Bucketing
    Returns
    
  - (::Google::Cloud::Dlp::V2::BucketingConfig) — Bucketing
#character_mask_config
def character_mask_config() -> ::Google::Cloud::Dlp::V2::CharacterMaskConfig
    Returns
    
  
  #character_mask_config=
def character_mask_config=(value) -> ::Google::Cloud::Dlp::V2::CharacterMaskConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::CharacterMaskConfig) — Mask
    Returns
    
  
  #crypto_deterministic_config
def crypto_deterministic_config() -> ::Google::Cloud::Dlp::V2::CryptoDeterministicConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::CryptoDeterministicConfig) — Deterministic Crypto
#crypto_deterministic_config=
def crypto_deterministic_config=(value) -> ::Google::Cloud::Dlp::V2::CryptoDeterministicConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::CryptoDeterministicConfig) — Deterministic Crypto
    Returns
    
  - (::Google::Cloud::Dlp::V2::CryptoDeterministicConfig) — Deterministic Crypto
#crypto_hash_config
def crypto_hash_config() -> ::Google::Cloud::Dlp::V2::CryptoHashConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::CryptoHashConfig) — Crypto
#crypto_hash_config=
def crypto_hash_config=(value) -> ::Google::Cloud::Dlp::V2::CryptoHashConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::CryptoHashConfig) — Crypto
    Returns
    
  - (::Google::Cloud::Dlp::V2::CryptoHashConfig) — Crypto
#crypto_replace_ffx_fpe_config
def crypto_replace_ffx_fpe_config() -> ::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig
    Returns
    
  
  #crypto_replace_ffx_fpe_config=
def crypto_replace_ffx_fpe_config=(value) -> ::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig) — Ffx-Fpe
    Returns
    
  
  #date_shift_config
def date_shift_config() -> ::Google::Cloud::Dlp::V2::DateShiftConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::DateShiftConfig) — Date Shift
#date_shift_config=
def date_shift_config=(value) -> ::Google::Cloud::Dlp::V2::DateShiftConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::DateShiftConfig) — Date Shift
    Returns
    
  - (::Google::Cloud::Dlp::V2::DateShiftConfig) — Date Shift
#fixed_size_bucketing_config
def fixed_size_bucketing_config() -> ::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig) — Fixed size bucketing
#fixed_size_bucketing_config=
def fixed_size_bucketing_config=(value) -> ::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig) — Fixed size bucketing
    Returns
    
  - (::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig) — Fixed size bucketing
#redact_config
def redact_config() -> ::Google::Cloud::Dlp::V2::RedactConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::RedactConfig) — Redact
#redact_config=
def redact_config=(value) -> ::Google::Cloud::Dlp::V2::RedactConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::RedactConfig) — Redact
    Returns
    
  - (::Google::Cloud::Dlp::V2::RedactConfig) — Redact
#replace_config
def replace_config() -> ::Google::Cloud::Dlp::V2::ReplaceValueConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::ReplaceValueConfig) — Replace with a specified value.
#replace_config=
def replace_config=(value) -> ::Google::Cloud::Dlp::V2::ReplaceValueConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::ReplaceValueConfig) — Replace with a specified value.
    Returns
    
  - (::Google::Cloud::Dlp::V2::ReplaceValueConfig) — Replace with a specified value.
#replace_dictionary_config
def replace_dictionary_config() -> ::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig) — Replace with a value randomly drawn (with replacement) from a dictionary.
#replace_dictionary_config=
def replace_dictionary_config=(value) -> ::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig) — Replace with a value randomly drawn (with replacement) from a dictionary.
    Returns
    
  - (::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig) — Replace with a value randomly drawn (with replacement) from a dictionary.
#replace_with_info_type_config
def replace_with_info_type_config() -> ::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig) — Replace with infotype
#replace_with_info_type_config=
def replace_with_info_type_config=(value) -> ::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig) — Replace with infotype
    Returns
    
  - (::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig) — Replace with infotype
#time_part_config
def time_part_config() -> ::Google::Cloud::Dlp::V2::TimePartConfig
    Returns
    
  - (::Google::Cloud::Dlp::V2::TimePartConfig) — Time extraction
#time_part_config=
def time_part_config=(value) -> ::Google::Cloud::Dlp::V2::TimePartConfig
    Parameter
    
  - value (::Google::Cloud::Dlp::V2::TimePartConfig) — Time extraction
    Returns
    
- (::Google::Cloud::Dlp::V2::TimePartConfig) — Time extraction