Class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityLabel
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityLabel
- 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
Sensitivity labels published by Microsoft.
Instance Attribute Summary collapse
-
#guid ⇒ String
The GUID of the sensitivity label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2SensitivityLabel
constructor
A new instance of GooglePrivacyDlpV2SensitivityLabel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2SensitivityLabel
Returns a new instance of GooglePrivacyDlpV2SensitivityLabel.
10696 10697 10698 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 10696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#guid ⇒ String
The GUID of the sensitivity label.
Corresponds to the JSON property guid
10694 10695 10696 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 10694 def guid @guid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10701 10702 10703 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 10701 def update!(**args) @guid = args[:guid] if args.key?(:guid) end |