ImageRedactionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration for determining how redaction of images should occur.
Attributes |
|
---|---|
Name | Description |
info_type |
google.cloud.dlp_v2.types.InfoType
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. |
redact_all_text |
bool
If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided. |
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. |