Class: Google::Privacy::Dlp::V2::ByteContentItem
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::ByteContentItem
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb
Overview
Container for bytes to inspect or redact.
Defined Under Namespace
Modules: BytesType
Instance Attribute Summary collapse
-
#data ⇒ String
Content data to inspect or redact.
-
#type ⇒ Google::Privacy::Dlp::V2::ByteContentItem::BytesType
The type of data stored in the bytes string.
Instance Attribute Details
#data ⇒ String
Returns Content data to inspect or redact.
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 151 class ByteContentItem module BytesType BYTES_TYPE_UNSPECIFIED = 0 IMAGE = 6 IMAGE_JPEG = 1 IMAGE_BMP = 2 IMAGE_PNG = 3 IMAGE_SVG = 4 TEXT_UTF8 = 5 AVRO = 11 end end |
#type ⇒ Google::Privacy::Dlp::V2::ByteContentItem::BytesType
Returns The type of data stored in the bytes string. Default will be TEXT_UTF8.
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 151 class ByteContentItem module BytesType BYTES_TYPE_UNSPECIFIED = 0 IMAGE = 6 IMAGE_JPEG = 1 IMAGE_BMP = 2 IMAGE_PNG = 3 IMAGE_SVG = 4 TEXT_UTF8 = 5 AVRO = 11 end end |