Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

A type of transformation that is applied over images.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ImageTransformations

Returns a new instance of GooglePrivacyDlpV2ImageTransformations.



4140
4141
4142
# File 'lib/google/apis/dlp_v2/classes.rb', line 4140

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#transformsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation>

Corresponds to the JSON property transforms



4138
4139
4140
# File 'lib/google/apis/dlp_v2/classes.rb', line 4138

def transforms
  @transforms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4145
4146
4147
# File 'lib/google/apis/dlp_v2/classes.rb', line 4145

def update!(**args)
  @transforms = args[:transforms] if args.key?(:transforms)
end