# Data Loss Prevention V2 Client - Class BytesType (2.13.0)

2.13.0 (latest) 2.12.0 2.11.0 2.10.0 2.9.2 2.8.1 2.7.0 2.6.1 2.4.1 2.3.0 2.2.3 2.1.0 2.0.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.1 1.14.0 1.13.2 1.12.0 1.11.0 1.10.2 1.9.0 1.8.6 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](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types).

Only the first frame of each multiframe image is inspected. Metadata and
other frames aren't inspected.

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

## Namespace

Google \\ Cloud \\ Dlp \\ V2 \\ ByteContentItem

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `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;`

### AUDIO

    Value: 15

Audio file types. Only used for profiling.

Generated from protobuf enum `AUDIO = 15;`

### VIDEO

    Value: 16

Video file types. Only used for profiling.

Generated from protobuf enum `VIDEO = 16;`

### EXECUTABLE

    Value: 17

Executable file types. Only used for profiling.

Generated from protobuf enum `EXECUTABLE = 17;`

### AI_MODEL

    Value: 18

AI model file types. Only used for profiling.

Generated from protobuf enum `AI_MODEL = 18;`