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.



9654
9655
9656
# File 'lib/google/apis/dlp_v2/classes.rb', line 9654

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



9652
9653
9654
# File 'lib/google/apis/dlp_v2/classes.rb', line 9652

def info_types
  @info_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9659
9660
9661
# File 'lib/google/apis/dlp_v2/classes.rb', line 9659

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