Google Cloud Model Armor V1 Client - Class ByteItemType (0.4.0)

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

Value: 0

Unused

Generated from protobuf enum BYTE_ITEM_TYPE_UNSPECIFIED = 0;

PLAINTEXT_UTF8

Value: 1

plain text

Generated from protobuf enum PLAINTEXT_UTF8 = 1;

PDF

Value: 2

PDF

Generated from protobuf enum PDF = 2;

WORD_DOCUMENT

Value: 3

DOCX, DOCM, DOTX, DOTM

Generated from protobuf enum WORD_DOCUMENT = 3;

EXCEL_DOCUMENT

Value: 4

XLSX, XLSM, XLTX, XLYM

Generated from protobuf enum EXCEL_DOCUMENT = 4;

POWERPOINT_DOCUMENT

Value: 5

PPTX, PPTM, POTX, POTM, POT

Generated from protobuf enum POWERPOINT_DOCUMENT = 5;

TXT

Value: 6

TXT

Generated from protobuf enum TXT = 6;

CSV

Value: 7

CSV

Generated from protobuf enum CSV = 7;