Class: Google::Cloud::Dlp::V2::ByteContentItem
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::ByteContentItem
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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::Cloud::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.
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 213 class ByteContentItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of data being sent for inspection. To learn more, see # [Supported file # types](https://cloud.google.com/dlp/docs/supported-file-types). module BytesType # Unused BYTES_TYPE_UNSPECIFIED = 0 # Any image type. IMAGE = 6 # jpeg IMAGE_JPEG = 1 # bmp IMAGE_BMP = 2 # png IMAGE_PNG = 3 # svg IMAGE_SVG = 4 # plain text TEXT_UTF8 = 5 # docx, docm, dotx, dotm WORD_DOCUMENT = 7 # pdf PDF = 8 # pptx, pptm, potx, potm, pot POWERPOINT_DOCUMENT = 9 # xlsx, xlsm, xltx, xltm EXCEL_DOCUMENT = 10 # avro AVRO = 11 # csv CSV = 12 # tsv TSV = 13 end end |
#type ⇒ ::Google::Cloud::Dlp::V2::ByteContentItem::BytesType
Returns The type of data stored in the bytes string. Default will be TEXT_UTF8.
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 213 class ByteContentItem include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of data being sent for inspection. To learn more, see # [Supported file # types](https://cloud.google.com/dlp/docs/supported-file-types). module BytesType # Unused BYTES_TYPE_UNSPECIFIED = 0 # Any image type. IMAGE = 6 # jpeg IMAGE_JPEG = 1 # bmp IMAGE_BMP = 2 # png IMAGE_PNG = 3 # svg IMAGE_SVG = 4 # plain text TEXT_UTF8 = 5 # docx, docm, dotx, dotm WORD_DOCUMENT = 7 # pdf PDF = 8 # pptx, pptm, potx, potm, pot POWERPOINT_DOCUMENT = 9 # xlsx, xlsm, xltx, xltm EXCEL_DOCUMENT = 10 # avro AVRO = 11 # csv CSV = 12 # tsv TSV = 13 end end |