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 |
|
---|---|
Name | Description |
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. |
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.