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.



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

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


6946
6947
6948
# File 'lib/google/apis/dlp_v2/classes.rb', line 6946

def info_type_names
  @info_type_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6953
6954
6955
# File 'lib/google/apis/dlp_v2/classes.rb', line 6953

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