ByteContentItem

Container for bytes to inspect or redact.

JSON representation
{
  "type": enum (BytesType),
  "data": string
}
Fields
type

enum (BytesType)

The type of data stored in the bytes string. Default will be TEXT_UTF8.

data

string (bytes format)

Content data to inspect or redact.

A base64-encoded string.

BytesType

The type of data being sent for inspection.

Enums
BYTES_TYPE_UNSPECIFIED Unused
IMAGE Any image type.
IMAGE_JPEG jpeg
IMAGE_BMP bmp
IMAGE_PNG png
IMAGE_SVG svg
TEXT_UTF8 plain text
WORD_DOCUMENT docx, docm, dotx, dotm
PDF pdf
AVRO avro
CSV csv
TSV tsv