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
def all_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=
def all_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
def all_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=
def all_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
def redaction_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=
def redaction_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
def selected_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=
def selected_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.