Class ImageRedactionConfig

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
google.cloud.dlp_v2.types.InfoTypeinfo_type
Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig. This field is a member of `oneof`_ ``target``.
boolredact_all_text
If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided. This field is a member of `oneof`_ ``target``.
google.cloud.dlp_v2.types.Colorredaction_color
The color to use when redacting content from an image. If not specified, the default is black.

Inheritance

builtins.object > proto.message.Message > ImageRedactionConfig