InputConfig

The desired input location and metadata.

JSON representation
{
  "content": string,
  "mimeType": string
}
Fields
content

string (bytes format)

File content, represented as a stream of bytes. Note: As with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.

Currently, this field only works for files.annotate requests. It does not work for files.asyncBatchAnnotate requests.

A base64-encoded string.

mimeType

string

The type of the file. Currently only "application/pdf", "image/tiff" and "image/gif" are supported. Wildcards are not supported.