Class: Google::Apis::DlpV2::GooglePrivacyDlpV2KeyValueMetadataLabel
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2KeyValueMetadataLabel
- 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
The metadata key that contains a finding.
Instance Attribute Summary collapse
-
#key ⇒ String
The metadata key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2KeyValueMetadataLabel
constructor
A new instance of GooglePrivacyDlpV2KeyValueMetadataLabel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2KeyValueMetadataLabel
Returns a new instance of GooglePrivacyDlpV2KeyValueMetadataLabel.
7275 7276 7277 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The metadata key. The format depends on the source of the metadata. Example: -
MSIP_Label_122709e3-8f6b-4860-985f-7f722a94f61e_Enabled (a Microsoft Purview
Information Protection key example)
Corresponds to the JSON property key
7273 7274 7275 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7273 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7280 7281 7282 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7280 def update!(**args) @key = args[:key] if args.key?(:key) end |