Class: Google::Cloud::Dlp::V2::PrimitiveTransformation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

A rule for transforming a value.

Instance Attribute Summary collapse

Instance Attribute Details

#bucketing_config::Google::Cloud::Dlp::V2::BucketingConfig

Returns Bucketing

Note: The following fields are mutually exclusive: bucketing_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, fixed_size_bucketing_config, replace_with_info_type_config, time_part_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::BucketingConfig)

    Bucketing

    Note: The following fields are mutually exclusive: bucketing_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, fixed_size_bucketing_config, replace_with_info_type_config, time_part_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#character_mask_config::Google::Cloud::Dlp::V2::CharacterMaskConfig

Returns Mask

Note: The following fields are mutually exclusive: character_mask_config, replace_config, redact_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. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::CharacterMaskConfig)

    Mask

    Note: The following fields are mutually exclusive: character_mask_config, replace_config, redact_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. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#crypto_deterministic_config::Google::Cloud::Dlp::V2::CryptoDeterministicConfig

Returns Deterministic Crypto

Note: The following fields are mutually exclusive: crypto_deterministic_config, 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, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::CryptoDeterministicConfig)

    Deterministic Crypto

    Note: The following fields are mutually exclusive: crypto_deterministic_config, 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, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#crypto_hash_config::Google::Cloud::Dlp::V2::CryptoHashConfig

Returns Crypto

Note: The following fields are mutually exclusive: crypto_hash_config, 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, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::CryptoHashConfig)

    Crypto

    Note: The following fields are mutually exclusive: crypto_hash_config, 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, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#crypto_replace_ffx_fpe_config::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig

Returns Ffx-Fpe. Strongly discouraged, consider using CryptoDeterministicConfig instead. Fpe is computationally expensive incurring latency costs.

Note: The following fields are mutually exclusive: crypto_replace_ffx_fpe_config, replace_config, redact_config, character_mask_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. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig)

    Ffx-Fpe. Strongly discouraged, consider using CryptoDeterministicConfig instead. Fpe is computationally expensive incurring latency costs.

    Note: The following fields are mutually exclusive: crypto_replace_ffx_fpe_config, replace_config, redact_config, character_mask_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. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#date_shift_config::Google::Cloud::Dlp::V2::DateShiftConfig

Returns Date Shift

Note: The following fields are mutually exclusive: date_shift_config, 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, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::DateShiftConfig)

    Date Shift

    Note: The following fields are mutually exclusive: date_shift_config, 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, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#fixed_size_bucketing_config::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig

Returns Fixed size bucketing

Note: The following fields are mutually exclusive: fixed_size_bucketing_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, bucketing_config, replace_with_info_type_config, time_part_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig)

    Fixed size bucketing

    Note: The following fields are mutually exclusive: fixed_size_bucketing_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, bucketing_config, replace_with_info_type_config, time_part_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#redact_config::Google::Cloud::Dlp::V2::RedactConfig

Returns Redact

Note: The following fields are mutually exclusive: redact_config, replace_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. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::RedactConfig)

    Redact

    Note: The following fields are mutually exclusive: redact_config, replace_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. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#replace_config::Google::Cloud::Dlp::V2::ReplaceValueConfig

Returns Replace with a specified value.

Note: The following fields are mutually exclusive: 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. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::ReplaceValueConfig)

    Replace with a specified value.

    Note: The following fields are mutually exclusive: 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. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#replace_dictionary_config::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig

Returns Replace with a value randomly drawn (with replacement) from a dictionary.

Note: The following fields are mutually exclusive: replace_dictionary_config, 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. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig)

    Replace with a value randomly drawn (with replacement) from a dictionary.

    Note: The following fields are mutually exclusive: replace_dictionary_config, 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. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#replace_with_info_type_config::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig

Returns Replace with infotype

Note: The following fields are mutually exclusive: replace_with_info_type_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, fixed_size_bucketing_config, bucketing_config, time_part_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig)

    Replace with infotype

    Note: The following fields are mutually exclusive: replace_with_info_type_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, fixed_size_bucketing_config, bucketing_config, time_part_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#time_part_config::Google::Cloud::Dlp::V2::TimePartConfig

Returns Time extraction

Note: The following fields are mutually exclusive: time_part_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, fixed_size_bucketing_config, bucketing_config, replace_with_info_type_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Dlp::V2::TimePartConfig)

    Time extraction

    Note: The following fields are mutually exclusive: time_part_config, replace_config, redact_config, character_mask_config, crypto_replace_ffx_fpe_config, fixed_size_bucketing_config, bucketing_config, replace_with_info_type_config, crypto_hash_config, date_shift_config, crypto_deterministic_config, replace_dictionary_config. If a field in that set is populated, all other fields in the set will automatically be cleared.



2443
2444
2445
2446
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2443

class PrimitiveTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end