InputConfig

所需的輸入位置和中繼資料。

JSON 表示法
{
  "gcsSource": {
    object (GcsSource)
  },
  "content": string,
  "mimeType": string
}
欄位
gcsSource

object (GcsSource)

要讀取輸入內容的 Google Cloud Storage 位置。

content

string (bytes format)

檔案內容,以位元組串流表示。注意:與所有 bytes 欄位一樣,protobuffers 會使用純二進位表示法,而 JSON 表示法則會使用 base64。

目前,這個欄位僅適用於 files.annotate 要求。但不適用於 files.asyncBatchAnnotate 要求。

Base64 編碼字串。

mimeType

string

檔案類型。目前僅支援「application/pdf」、「image/tiff」和「image/gif」。不支援萬用字元。

GcsSource

系統讀取輸入內容的 Google Cloud Storage 位置。

JSON 表示法
{
  "uri": string
}
欄位
uri

string

輸入檔案的 Google Cloud Storage URI。這必須是 Google Cloud Storage 物件。目前不支援萬用字元。