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.



6944
6945
6946
# File 'lib/google/apis/dlp_v2/classes.rb', line 6944

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>)


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

def info_type_names
  @info_type_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6949
6950
6951
# File 'lib/google/apis/dlp_v2/classes.rb', line 6949

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