DataItem

Rappresenta l'elemento dati

Rappresentazione JSON
{

  // 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.
}
Campi
Campo unione data_item. Dati di testo o byte. data_item può essere solo uno dei seguenti:
text

string

Dati di stringhe in testo normale per la sanificazione.

byteItem

object (ByteDataItem)

Dati forniti sotto forma di byte.

ByteDataItem

Rappresenta l'elemento Dati byte.

Rappresentazione JSON
{
  "byteDataType": enum (ByteItemType),
  "byteData": string
}
Campi
byteDataType

enum (ByteItemType)

Obbligatorio. Il tipo di dati in byte

byteData

string (bytes format)

Obbligatorio. Dati in byte

Una stringa con codifica Base64.

ByteItemType

Opzione per specificare il tipo di dati in byte.

Enum
BYTE_ITEM_TYPE_UNSPECIFIED Non utilizzato
PLAINTEXT_UTF8 testo normale
PDF PDF