Class: Google::Apis::DlpV2::GooglePrivacyDlpV2SelectedInfoTypes

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

Apply transformation to the selected info_types.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2SelectedInfoTypes

Returns a new instance of GooglePrivacyDlpV2SelectedInfoTypes.



8593
8594
8595
# File 'lib/google/apis/dlp_v2/classes.rb', line 8593

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

Instance Attribute Details

#info_typesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>

Required. InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message. Corresponds to the JSON property infoTypes



8591
8592
8593
# File 'lib/google/apis/dlp_v2/classes.rb', line 8591

def info_types
  @info_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8598
8599
8600
# File 'lib/google/apis/dlp_v2/classes.rb', line 8598

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