DataItem

Represents Data item

JSON representation
{

  // Union field data_item can be only one of the following:
  "text": string,
  "byteItem": {
    object (ByteDataItem)
  }
  // End of list of possible types for union field data_item.
}
Fields
Union field data_item. Either of text or bytes data. data_item can be only one of the following:
text

string

Plaintext string data for sanitization.

byteItem

object (ByteDataItem)

Data provided in the form of bytes.

ByteDataItem

Represents Byte Data item.

JSON representation
{
  "byteDataType": enum (ByteItemType),
  "byteData": string
}
Fields
byteDataType

enum (ByteItemType)

Required. The type of byte data

byteData

string (bytes format)

Required. Bytes Data

A base64-encoded string.

ByteItemType

Option to specify the type of byte data.

Enums
BYTE_ITEM_TYPE_UNSPECIFIED Unused
PLAINTEXT_UTF8 plain text
PDF PDF