Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel (v1.19.0)

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

#label_fields_to_match=

def label_fields_to_match=(value) -> ::Array<::Google::Cloud::Dlp::V2::CustomInfoType::FileLabelInfoType::GoogleDriveLabel::LabelField>
Parameter
Returns

#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.