Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileLabelInfoType
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2FileLabelInfoType
- 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
Configuration for a custom infoType that detects file labels.
Instance Attribute Summary collapse
-
#google_drive_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2GoogleDriveLabel
Google Drive labels published by Google.
-
#sensitivity_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityLabel
Sensitivity labels published by Microsoft.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2FileLabelInfoType
constructor
A new instance of GooglePrivacyDlpV2FileLabelInfoType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2FileLabelInfoType
Returns a new instance of GooglePrivacyDlpV2FileLabelInfoType.
5540 5541 5542 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_drive_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2GoogleDriveLabel
Google Drive labels published by Google.
Corresponds to the JSON property googleDriveLabel
5533 5534 5535 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5533 def google_drive_label @google_drive_label end |
#sensitivity_label ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityLabel
Sensitivity labels published by Microsoft.
Corresponds to the JSON property sensitivityLabel
5538 5539 5540 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5538 def sensitivity_label @sensitivity_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5545 5546 5547 5548 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5545 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 |