Data Loss Prevention V2 Client - Class BytesType (1.12.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class BytesType.

The type of data being sent for inspection. To learn more, see Supported file types.

Protobuf type google.privacy.dlp.v2.ByteContentItem.BytesType

Namespace

Google \ Cloud \ Dlp \ V2 \ ByteContentItem

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

BYTES_TYPE_UNSPECIFIED

Value: 0

Unused

Generated from protobuf enum BYTES_TYPE_UNSPECIFIED = 0;

IMAGE

Value: 6

Any image type.

Generated from protobuf enum IMAGE = 6;

IMAGE_JPEG

Value: 1

jpeg

Generated from protobuf enum IMAGE_JPEG = 1;

IMAGE_BMP

Value: 2

bmp

Generated from protobuf enum IMAGE_BMP = 2;

IMAGE_PNG

Value: 3

png

Generated from protobuf enum IMAGE_PNG = 3;

IMAGE_SVG

Value: 4

svg

Generated from protobuf enum IMAGE_SVG = 4;

TEXT_UTF8

Value: 5

plain text

Generated from protobuf enum TEXT_UTF8 = 5;

WORD_DOCUMENT

Value: 7

docx, docm, dotx, dotm

Generated from protobuf enum WORD_DOCUMENT = 7;

PDF

Value: 8

pdf

Generated from protobuf enum PDF = 8;

POWERPOINT_DOCUMENT

Value: 9

pptx, pptm, potx, potm, pot

Generated from protobuf enum POWERPOINT_DOCUMENT = 9;

EXCEL_DOCUMENT

Value: 10

xlsx, xlsm, xltx, xltm

Generated from protobuf enum EXCEL_DOCUMENT = 10;

AVRO

Value: 11

avro

Generated from protobuf enum AVRO = 11;

CSV

Value: 12

csv

Generated from protobuf enum CSV = 12;

TSV

Value: 13

tsv

Generated from protobuf enum TSV = 13;