Class PrimitiveTransformation

PrimitiveTransformation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A rule for transforming a value.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
replace_config google.cloud.dlp_v2.types.ReplaceValueConfig
Replace with a specified value. This field is a member of `oneof`_ ``transformation``.
redact_config google.cloud.dlp_v2.types.RedactConfig
Redact This field is a member of `oneof`_ ``transformation``.
character_mask_config google.cloud.dlp_v2.types.CharacterMaskConfig
Mask This field is a member of `oneof`_ ``transformation``.
crypto_replace_ffx_fpe_config google.cloud.dlp_v2.types.CryptoReplaceFfxFpeConfig
Ffx-Fpe This field is a member of `oneof`_ ``transformation``.
fixed_size_bucketing_config google.cloud.dlp_v2.types.FixedSizeBucketingConfig
Fixed size bucketing This field is a member of `oneof`_ ``transformation``.
bucketing_config google.cloud.dlp_v2.types.BucketingConfig
Bucketing This field is a member of `oneof`_ ``transformation``.
replace_with_info_type_config google.cloud.dlp_v2.types.ReplaceWithInfoTypeConfig
Replace with infotype This field is a member of `oneof`_ ``transformation``.
time_part_config google.cloud.dlp_v2.types.TimePartConfig
Time extraction This field is a member of `oneof`_ ``transformation``.
crypto_hash_config google.cloud.dlp_v2.types.CryptoHashConfig
Crypto This field is a member of `oneof`_ ``transformation``.
date_shift_config google.cloud.dlp_v2.types.DateShiftConfig
Date Shift This field is a member of `oneof`_ ``transformation``.
crypto_deterministic_config google.cloud.dlp_v2.types.CryptoDeterministicConfig
Deterministic Crypto This field is a member of `oneof`_ ``transformation``.
replace_dictionary_config google.cloud.dlp_v2.types.ReplaceDictionaryConfig
Replace with a value randomly drawn (with replacement) from a dictionary. This field is a member of `oneof`_ ``transformation``.

Inheritance

builtins.object > proto.message.Message > PrimitiveTransformation