Class: Google::Apis::DlpV2::GooglePrivacyDlpV2GoogleDriveLabelMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2GoogleDriveLabelMetadata
- 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
Google Drive labels published by Google.
Instance Attribute Summary collapse
-
#label_fields ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2LabelFieldMetadata>
The field values of the Google Drive label Corresponds to the JSON property
labelFields. -
#label_id ⇒ String
The label ID of the Google Drive label.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2GoogleDriveLabelMetadata
constructor
A new instance of GooglePrivacyDlpV2GoogleDriveLabelMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2GoogleDriveLabelMetadata
Returns a new instance of GooglePrivacyDlpV2GoogleDriveLabelMetadata.
6165 6166 6167 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6165 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label_fields ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2LabelFieldMetadata>
The field values of the Google Drive label
Corresponds to the JSON property labelFields
6157 6158 6159 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6157 def label_fields @label_fields end |
#label_id ⇒ String
The label ID of the Google Drive label.
Corresponds to the JSON property labelId
6163 6164 6165 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6163 def label_id @label_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6170 6171 6172 6173 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6170 def update!(**args) @label_fields = args[:label_fields] if args.key?(:label_fields) @label_id = args[:label_id] if args.key?(:label_id) end |