Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileLabel
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2FileLabel
- 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
Represents a file label.
Instance Attribute Summary collapse
-
#google_drive_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2GoogleDriveLabelMetadata
Google Drive labels published by Google.
-
#sensitivity_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityLabelMetadata
Sensitivity labels published by Microsoft.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2FileLabel
constructor
A new instance of GooglePrivacyDlpV2FileLabel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2FileLabel
Returns a new instance of GooglePrivacyDlpV2FileLabel.
5515 5516 5517 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_drive_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2GoogleDriveLabelMetadata
Google Drive labels published by Google.
Corresponds to the JSON property googleDriveLabel
5508 5509 5510 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5508 def google_drive_label @google_drive_label end |
#sensitivity_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityLabelMetadata
Sensitivity labels published by Microsoft.
Corresponds to the JSON property sensitivityLabel
5513 5514 5515 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5513 def sensitivity_label @sensitivity_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5520 5521 5522 5523 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5520 def update!(**args) @google_drive_label = args[:google_drive_label] if args.key?(:google_drive_label) @sensitivity_label = args[:sensitivity_label] if args.key?(:sensitivity_label) end |