Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation (v1.11.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

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.

    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=

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.

    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

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.

    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=

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.

    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

defredaction_color()->::Google::Cloud::Dlp::V2::Color
Returns

#redaction_color=

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

#selected_info_types

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

#selected_info_types=

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.