Google Cloud Model Armor V1 Client - Class ByteItemType (0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Model Armor V1 Client class ByteItemType.
Option to specify the type of byte data.
Protobuf type google.cloud.modelarmor.v1.ByteDataItem.ByteItemType
Namespace
Google \ Cloud \ ModelArmor \ V1 \ ByteDataItem
Methods
static::name
Parameter |
Name |
Description |
value |
mixed
|
static::value
Parameter |
Name |
Description |
name |
mixed
|
Constants
BYTE_ITEM_TYPE_UNSPECIFIED
Unused
Generated from protobuf enum BYTE_ITEM_TYPE_UNSPECIFIED = 0;
PLAINTEXT_UTF8
plain text
Generated from protobuf enum PLAINTEXT_UTF8 = 1;
PDF
PDF
Generated from protobuf enum PDF = 2;
WORD_DOCUMENT
DOCX, DOCM, DOTX, DOTM
Generated from protobuf enum WORD_DOCUMENT = 3;
EXCEL_DOCUMENT
XLSX, XLSM, XLTX, XLYM
Generated from protobuf enum EXCEL_DOCUMENT = 4;
POWERPOINT_DOCUMENT
PPTX, PPTM, POTX, POTM, POT
Generated from protobuf enum POWERPOINT_DOCUMENT = 5;
TXT
TXT
Generated from protobuf enum TXT = 6;
CSV
CSV
Generated from protobuf enum CSV = 7;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["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,["# Google Cloud Model Armor V1 Client - Class ByteItemType (0.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.0 (latest)](/php/docs/reference/cloud-modelarmor/latest/V1.ByteDataItem.ByteItemType)\n- [0.3.1](/php/docs/reference/cloud-modelarmor/0.3.1/V1.ByteDataItem.ByteItemType)\n- [0.2.0](/php/docs/reference/cloud-modelarmor/0.2.0/V1.ByteDataItem.ByteItemType)\n- [0.1.0](/php/docs/reference/cloud-modelarmor/0.1.0/V1.ByteDataItem.ByteItemType) \nReference documentation and code samples for the Google Cloud Model Armor V1 Client class ByteItemType.\n\nOption to specify the type of byte data.\n\nProtobuf type `google.cloud.modelarmor.v1.ByteDataItem.ByteItemType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ModelArmor \\\\ V1 \\\\ ByteDataItem\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### BYTE_ITEM_TYPE_UNSPECIFIED\n\n Value: 0\n\nUnused\n\nGenerated from protobuf enum `BYTE_ITEM_TYPE_UNSPECIFIED = 0;`\n\n### PLAINTEXT_UTF8\n\n Value: 1\n\nplain text\n\nGenerated from protobuf enum `PLAINTEXT_UTF8 = 1;`\n\n### PDF\n\n Value: 2\n\nPDF\n\nGenerated from protobuf enum `PDF = 2;`\n\n### WORD_DOCUMENT\n\n Value: 3\n\nDOCX, DOCM, DOTX, DOTM\n\nGenerated from protobuf enum `WORD_DOCUMENT = 3;`\n\n### EXCEL_DOCUMENT\n\n Value: 4\n\nXLSX, XLSM, XLTX, XLYM\n\nGenerated from protobuf enum `EXCEL_DOCUMENT = 4;`\n\n### POWERPOINT_DOCUMENT\n\n Value: 5\n\nPPTX, PPTM, POTX, POTM, POT\n\nGenerated from protobuf enum `POWERPOINT_DOCUMENT = 5;`\n\n### TXT\n\n Value: 6\n\nTXT\n\nGenerated from protobuf enum `TXT = 6;`\n\n### CSV\n\n Value: 7\n\nCSV\n\nGenerated from protobuf enum `CSV = 7;`"]]