Class: Google::Cloud::Dlp::V2::ImageTransformations

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

A type of transformation that is applied over images.

Defined Under Namespace

Classes: ImageTransformation

Instance Attribute Summary collapse

Instance Attribute Details

#transforms::Array<::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation>



1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 1993

class ImageTransformations
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for determining how redaction of images should occur.
  # @!attribute [rw] selected_info_types
  #   @return [::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes]
  #     Apply transformation to the selected info_types.
  # @!attribute [rw] all_info_types
  #   @return [::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.
  # @!attribute [rw] all_text
  #   @return [::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.
  # @!attribute [rw] redaction_color
  #   @return [::Google::Cloud::Dlp::V2::Color]
  #     The color to use when redacting content from an image. If not
  #     specified, the default is black.
  class ImageTransformation
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Apply transformation to the selected info_types.
    # @!attribute [rw] info_types
    #   @return [::Array<::Google::Cloud::Dlp::V2::InfoType>]
    #     Required. InfoTypes to apply the transformation to. Required. Provided InfoType
    #     must be unique within the ImageTransformations message.
    class SelectedInfoTypes
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Apply transformation to all findings.
    class AllInfoTypes
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Apply to all text.
    class AllText
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end