Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ByteContentItem (v0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ByteContentItem.
Container for bytes to inspect or redact.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data
defdata()->::String
Returns
- (::String) — Content data to inspect or redact.
#data=
defdata=(value)->::String
Parameter
- value (::String) — Content data to inspect or redact.
Returns
- (::String) — Content data to inspect or redact.
#type
deftype()->::Google::Cloud::Dlp::V2::ByteContentItem::BytesType
Returns
- (::Google::Cloud::Dlp::V2::ByteContentItem::BytesType) — The type of data stored in the bytes string. Default will be TEXT_UTF8.
#type=
deftype=(value)->::Google::Cloud::Dlp::V2::ByteContentItem::BytesType
Parameter
- value (::Google::Cloud::Dlp::V2::ByteContentItem::BytesType) — The type of data stored in the bytes string. Default will be TEXT_UTF8.
Returns
- (::Google::Cloud::Dlp::V2::ByteContentItem::BytesType) — The type of data stored in the bytes string. Default will be TEXT_UTF8.