Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel.
Google Drive labels published by Google.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#label_fields_to_match
def label_fields_to_match() -> ::Array<::Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel::LabelField>
Returns
- (::Array<::Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel::LabelField>) — The field values of the Google Drive label to match.
#label_fields_to_match=
def label_fields_to_match=(value) -> ::Array<::Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel::LabelField>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel::LabelField>) — The field values of the Google Drive label to match.
Returns
- (::Array<::Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel::LabelField>) — The field values of the Google Drive label to match.
#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.