InputConfig

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

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

object(GcsSource)

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

content

string (bytes format)

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

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

Base64 編碼字串。

mimeType

string

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

GcsSource

系統將從這個 Google Cloud Storage 位置讀取輸入內容。

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

string

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