Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation (v1.7.0)

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.

    Note: The following fields are mutually exclusive: all_info_types, selected_info_types, all_text. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: all_info_types, selected_info_types, all_text. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: all_info_types, selected_info_types, all_text. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: all_text, selected_info_types, all_info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: all_text, selected_info_types, all_info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.

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.

    Note: The following fields are mutually exclusive: all_text, selected_info_types, all_info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.

#redaction_color

def redaction_color() -> ::Google::Cloud::Dlp::V2::Color
Returns

#redaction_color=

def redaction_color=(value) -> ::Google::Cloud::Dlp::V2::Color
Parameter
Returns

#selected_info_types

def selected_info_types() -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
Returns

#selected_info_types=

def selected_info_types=(value) -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
Parameter
Returns