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. To learn more, see Supported file types.

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
POWERPOINT_DOCUMENT pptx, pptm, potx, potm, pot
EXCEL_DOCUMENT xlsx, xlsm, xltx, xltm
AVRO avro
CSV csv
TSV tsv