Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation (v0.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation.
Configuration for determining how redaction of images should occur.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#all_info_types
defall_info_types()->::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes
Returns
- (::Google::Cloud::Dlp::V2::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.
#all_info_types=
defall_info_types=(value)->::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes
Parameter
- value (::Google::Cloud::Dlp::V2::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.
Returns
- (::Google::Cloud::Dlp::V2::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.
#all_text
defall_text()->::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText
Returns
- (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText) — Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
#all_text=
defall_text=(value)->::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText
Parameter
- value (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText) — Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
Returns
- (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText) — Apply transformation to all text that doesn't match an infoType. Only one instance is allowed within the ImageTransformations message.
#redaction_color
defredaction_color()->::Google::Cloud::Dlp::V2::Color
Returns
- (::Google::Cloud::Dlp::V2::Color) — The color to use when redacting content from an image. If not specified, the default is black.
#redaction_color=
defredaction_color=(value)->::Google::Cloud::Dlp::V2::Color
Parameter
- value (::Google::Cloud::Dlp::V2::Color) — The color to use when redacting content from an image. If not specified, the default is black.
Returns
- (::Google::Cloud::Dlp::V2::Color) — The color to use when redacting content from an image. If not specified, the default is black.
#selected_info_types
defselected_info_types()->::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
Returns
- (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes) — Apply transformation to the selected info_types.
#selected_info_types=
defselected_info_types=(value)->::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
Parameter
- value (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes) — Apply transformation to the selected info_types.
Returns
- (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes) — Apply transformation to the selected info_types.