Class ImageTransformation (3.9.2)

Stay organized with collections Save and categorize content based on your preferences.
ImageTransformation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for determining how redaction of images should occur.

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
selected_info_types google.cloud.dlp_v2.types.ImageTransformations.ImageTransformation.SelectedInfoTypes
Apply transformation to the selected info_types. This field is a member of oneof_ target.
all_info_types google.cloud.dlp_v2.types.ImageTransformations.ImageTransformation.AllInfoTypes
Apply transformation to all findings not specified in other ImageTransformation's selected_info_types. Only one instance is allowed within the ImageTransformations message. This field is a member of oneof_ target.
all_text google.cloud.dlp_v2.types.ImageTransformations.ImageTransformation.AllText
Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message. This field is a member of oneof_ target.
redaction_color google.cloud.dlp_v2.types.Color
The color to use when redacting content from an image. If not specified, the default is black.

Inheritance

builtins.object > proto.message.Message > ImageTransformation

Classes

AllInfoTypes

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

Apply transformation to all findings.

AllText

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

Apply to all text.

SelectedInfoTypes

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

Apply transformation to the selected info_types.