The desired input location and metadata.
JSON representation | |
---|---|
{ "mimeType": string, // Union field |
Fields | ||
---|---|---|
mimeType |
Required. Mimetype of the input. Current supported mimetypes are application/pdf, image/tiff, and image/gif. In addition, application/json type is supported for requests with |
|
Union field source . Required. source can be only one of the following: |
||
gcsSource |
The Google Cloud Storage location to read the input from. This must be a single file. |
|
contents |
Content in bytes, represented as a stream of bytes. Note: As with all This field only works for synchronous documents.process method. A base64-encoded string. |
GcsSource
The Google Cloud Storage location where the input file will be read from.
JSON representation | |
---|---|
{ "uri": string } |
Fields | |
---|---|
uri |
|