Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypes

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

Info types to match.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypes

Returns a new instance of GooglePrivacyDlpV2InfoTypes.



6937
6938
6939
# File 'lib/google/apis/dlp_v2/classes.rb', line 6937

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

Instance Attribute Details

#info_type_namesArray<String>

Required. A list of info types to match. Corresponds to the JSON property infoTypeNames

Returns:

  • (Array<String>)


6935
6936
6937
# File 'lib/google/apis/dlp_v2/classes.rb', line 6935

def info_type_names
  @info_type_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6942
6943
6944
# File 'lib/google/apis/dlp_v2/classes.rb', line 6942

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