Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata.
Google Drive labels published by Google.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#label_fields
def label_fields() -> ::Array<::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata::LabelFieldMetadata>
Returns
- (::Array<::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata::LabelFieldMetadata>) — The field values of the Google Drive label
#label_fields=
def label_fields=(value) -> ::Array<::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata::LabelFieldMetadata>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata::LabelFieldMetadata>) — The field values of the Google Drive label
Returns
- (::Array<::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata::LabelFieldMetadata>) — The field values of the Google Drive label
#label_id
def label_id() -> ::String
Returns
- (::String) — The label ID of the Google Drive label.
#label_id=
def label_id=(value) -> ::String
Parameter
- value (::String) — The label ID of the Google Drive label.
Returns
- (::String) — The label ID of the Google Drive label.