[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class BytesType (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.ByteContentItem.BytesType)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.ByteContentItem.BytesType)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.ByteContentItem.BytesType)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.ByteContentItem.BytesType)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.ByteContentItem.BytesType)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.ByteContentItem.BytesType)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.ByteContentItem.BytesType)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.ByteContentItem.BytesType)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.ByteContentItem.BytesType)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.ByteContentItem.BytesType)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.ByteContentItem.BytesType)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.ByteContentItem.BytesType)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.ByteContentItem.BytesType)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.ByteContentItem.BytesType)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.ByteContentItem.BytesType)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.ByteContentItem.BytesType)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.ByteContentItem.BytesType)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.ByteContentItem.BytesType)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.ByteContentItem.BytesType) \nReference documentation and code samples for the Data Loss Prevention V2 Client class BytesType.\n\nThe type of data being sent for inspection. To learn more, see\n[Supported file\ntypes](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types).\n\nOnly the first frame of each multiframe image is inspected. Metadata and\nother frames aren't inspected.\n\nProtobuf type `google.privacy.dlp.v2.ByteContentItem.BytesType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2 \\\\ ByteContentItem\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### BYTES_TYPE_UNSPECIFIED\n\n Value: 0\n\nUnused\n\nGenerated from protobuf enum `BYTES_TYPE_UNSPECIFIED = 0;`\n\n### IMAGE\n\n Value: 6\n\nAny image type.\n\nGenerated from protobuf enum `IMAGE = 6;`\n\n### IMAGE_JPEG\n\n Value: 1\n\njpeg\n\nGenerated from protobuf enum `IMAGE_JPEG = 1;`\n\n### IMAGE_BMP\n\n Value: 2\n\nbmp\n\nGenerated from protobuf enum `IMAGE_BMP = 2;`\n\n### IMAGE_PNG\n\n Value: 3\n\npng\n\nGenerated from protobuf enum `IMAGE_PNG = 3;`\n\n### IMAGE_SVG\n\n Value: 4\n\nsvg\n\nGenerated from protobuf enum `IMAGE_SVG = 4;`\n\n### TEXT_UTF8\n\n Value: 5\n\nplain text\n\nGenerated from protobuf enum `TEXT_UTF8 = 5;`\n\n### WORD_DOCUMENT\n\n Value: 7\n\ndocx, docm, dotx, dotm\n\nGenerated from protobuf enum `WORD_DOCUMENT = 7;`\n\n### PDF\n\n Value: 8\n\npdf\n\nGenerated from protobuf enum `PDF = 8;`\n\n### POWERPOINT_DOCUMENT\n\n Value: 9\n\npptx, pptm, potx, potm, pot\n\nGenerated from protobuf enum `POWERPOINT_DOCUMENT = 9;`\n\n### EXCEL_DOCUMENT\n\n Value: 10\n\nxlsx, xlsm, xltx, xltm\n\nGenerated from protobuf enum `EXCEL_DOCUMENT = 10;`\n\n### AVRO\n\n Value: 11\n\navro\n\nGenerated from protobuf enum `AVRO = 11;`\n\n### CSV\n\n Value: 12\n\ncsv\n\nGenerated from protobuf enum `CSV = 12;`\n\n### TSV\n\n Value: 13\n\ntsv\n\nGenerated from protobuf enum `TSV = 13;`\n\n### AUDIO\n\n Value: 15\n\nAudio file types. Only used for profiling.\n\nGenerated from protobuf enum `AUDIO = 15;`\n\n### VIDEO\n\n Value: 16\n\nVideo file types. Only used for profiling.\n\nGenerated from protobuf enum `VIDEO = 16;`\n\n### EXECUTABLE\n\n Value: 17\n\nExecutable file types. Only used for profiling.\n\nGenerated from protobuf enum `EXECUTABLE = 17;`\n\n### AI_MODEL\n\n Value: 18\n\nAI model file types. Only used for profiling.\n\nGenerated from protobuf enum `AI_MODEL = 18;`"]]