Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription
- 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 Category description.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Human readable form of the category name.
-
#name ⇒ String
Internal name of the category.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1CategoryDescription
constructor
A new instance of GooglePrivacyDlpV2beta1CategoryDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1CategoryDescription
Returns a new instance of GooglePrivacyDlpV2beta1CategoryDescription
484 485 486 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Human readable form of the category name.
Corresponds to the JSON property displayName
477 478 479 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 477 def display_name @display_name end |
#name ⇒ String
Internal name of the category.
Corresponds to the JSON property name
482 483 484 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 482 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
489 490 491 492 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 489 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |