Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ContentMetadata.
Metadata on content to be scanned.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_labels
def file_labels() -> ::Array<::Google::Cloud::Dlp::V2::FileLabel>
Returns
- (::Array<::Google::Cloud::Dlp::V2::FileLabel>) — Optional. The file labels associated with the content.
#file_labels=
def file_labels=(value) -> ::Array<::Google::Cloud::Dlp::V2::FileLabel>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::FileLabel>) — Optional. The file labels associated with the content.
Returns
- (::Array<::Google::Cloud::Dlp::V2::FileLabel>) — Optional. The file labels associated with the content.
#properties
def properties() -> ::Array<::Google::Cloud::Dlp::V2::KeyValueMetadataProperty>
Returns
- (::Array<::Google::Cloud::Dlp::V2::KeyValueMetadataProperty>) — User provided key-value pairs of content metadata.
#properties=
def properties=(value) -> ::Array<::Google::Cloud::Dlp::V2::KeyValueMetadataProperty>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::KeyValueMetadataProperty>) — User provided key-value pairs of content metadata.
Returns
- (::Array<::Google::Cloud::Dlp::V2::KeyValueMetadataProperty>) — User provided key-value pairs of content metadata.