Class RedactImageRequest (2.0.2)

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

Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.

Attributes

NameDescription
parent str
The parent resource name. - Format:projects/[PROJECT-ID] - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
location_id str
Deprecated. This field has no effect.
inspect_config .dlp.InspectConfig
Configuration for the inspector.
image_redaction_configs Sequence[.dlp.RedactImageRequest.ImageRedactionConfig]
The configuration for specifying what content to redact from images.
include_findings bool
Whether the response should include findings along with the redacted image.
byte_item .dlp.ByteContentItem
The content must be PNG, JPEG, SVG or BMP.

Classes

ImageRedactionConfig

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

Configuration for determining how redaction of images should occur.