Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeDescription
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeDescription
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
Info type description.
Instance Attribute Summary collapse
-
#categories ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription>
List of categories this info type belongs to.
-
#display_name ⇒ String
Human readable form of the info type name.
-
#name ⇒ String
Internal name of the info type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InfoTypeDescription
constructor
A new instance of GooglePrivacyDlpV2beta1InfoTypeDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InfoTypeDescription
Returns a new instance of GooglePrivacyDlpV2beta1InfoTypeDescription
1344 1345 1346 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1344 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categories ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription>
List of categories this info type belongs to.
Corresponds to the JSON property categories
1332 1333 1334 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1332 def categories @categories end |
#display_name ⇒ String
Human readable form of the info type name.
Corresponds to the JSON property displayName
1337 1338 1339 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1337 def display_name @display_name end |
#name ⇒ String
Internal name of the info type.
Corresponds to the JSON property name
1342 1343 1344 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1342 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1349 1350 1351 1352 1353 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1349 def update!(**args) @categories = args[:categories] if args.key?(:categories) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |