Represents Data item
| JSON representation |
|---|
{ // Union field |
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 (
|
| Fields | |
|---|---|
byteDataType
|
Required. The type of byte data |
byteData
|
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
|
|
WORD_DOCUMENT
|
DOCX, DOCM, DOTX, DOTM |
EXCEL_DOCUMENT
|
XLSX, XLSM, XLTX, XLYM |
POWERPOINT_DOCUMENT
|
PPTX, PPTM, POTX, POTM, POT |
TXT
|
TXT |
CSV
|
CSV |

