Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StorageMetadataLabel
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2StorageMetadataLabel
- 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
Storage metadata label to indicate which metadata entry contains findings.
Instance Attribute Summary collapse
-
#key ⇒ String
Corresponds to the JSON property
key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2StorageMetadataLabel
constructor
A new instance of GooglePrivacyDlpV2StorageMetadataLabel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2StorageMetadataLabel
Returns a new instance of GooglePrivacyDlpV2StorageMetadataLabel.
5607 5608 5609 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Corresponds to the JSON property key
5605 5606 5607 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5605 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5612 5613 5614 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5612 def update!(**args) @key = args[:key] if args.key?(:key) end |