Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::FileLabel.
Represents a file label.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#google_drive_label
def google_drive_label() -> ::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata-
(::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata) — Google Drive labels published by Google.
Note: The following fields are mutually exclusive:
google_drive_label,sensitivity_label. If a field in that set is populated, all other fields in the set will automatically be cleared.
#google_drive_label=
def google_drive_label=(value) -> ::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata-
value (::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata) — Google Drive labels published by Google.
Note: The following fields are mutually exclusive:
google_drive_label,sensitivity_label. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::FileLabel::GoogleDriveLabelMetadata) — Google Drive labels published by Google.
Note: The following fields are mutually exclusive:
google_drive_label,sensitivity_label. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sensitivity_label
def sensitivity_label() -> ::Google::Cloud::Dlp::V2::FileLabel::SensitivityLabelMetadata-
(::Google::Cloud::Dlp::V2::FileLabel::SensitivityLabelMetadata) — Sensitivity labels published by Microsoft.
Note: The following fields are mutually exclusive:
sensitivity_label,google_drive_label. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sensitivity_label=
def sensitivity_label=(value) -> ::Google::Cloud::Dlp::V2::FileLabel::SensitivityLabelMetadata-
value (::Google::Cloud::Dlp::V2::FileLabel::SensitivityLabelMetadata) — Sensitivity labels published by Microsoft.
Note: The following fields are mutually exclusive:
sensitivity_label,google_drive_label. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::FileLabel::SensitivityLabelMetadata) — Sensitivity labels published by Microsoft.
Note: The following fields are mutually exclusive:
sensitivity_label,google_drive_label. If a field in that set is populated, all other fields in the set will automatically be cleared.