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
def data() -> ::String
Returns
- (::String) — Content data to inspect or redact.
#data=
def data=(value) -> ::String
Parameter
- value (::String) — Content data to inspect or redact.
Returns
- (::String) — Content data to inspect or redact.
#type
def type() -> ::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=
def type=(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.