Class CharsToIgnore (3.11.1)

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

Characters to skip when doing deidentification of a value. These will be left alone and skipped.

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
characters_to_skip str
Characters to not transform when masking. This field is a member of oneof_ characters.
common_characters_to_ignore google.cloud.dlp_v2.types.CharsToIgnore.CommonCharsToIgnore
Common characters to not transform when masking. Useful to avoid removing punctuation. This field is a member of oneof_ characters.

Classes

CommonCharsToIgnore

CommonCharsToIgnore(value)

Convenience enum for indicating common characters to not transform.

Values: COMMON_CHARS_TO_IGNORE_UNSPECIFIED (0): Unused. NUMERIC (1): 0-9 ALPHA_UPPER_CASE (2): A-Z ALPHA_LOWER_CASE (3): a-z PUNCTUATION (4): US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[]^_{|} WHITESPACE (5): Whitespace character, one of [ \t\n\x0B\f\r]