所需的輸入位置和中繼資料。
JSON 表示法 | |
---|---|
{
"gcsSource": {
object ( |
欄位 | |
---|---|
gcsSource |
要讀取輸入內容的 Google Cloud Storage 位置。 |
content |
檔案內容,以位元組串流表示。注意:與所有 目前,這個欄位僅適用於 files.annotate 要求。但不適用於 files.asyncBatchAnnotate 要求。 Base64 編碼字串。 |
mimeType |
檔案類型。目前僅支援「application/pdf」、「image/tiff」和「image/gif」。不支援萬用字元。 |
GcsSource
系統讀取輸入內容的 Google Cloud Storage 位置。
JSON 表示法 | |
---|---|
{ "uri": string } |
欄位 | |
---|---|
uri |
輸入檔案的 Google Cloud Storage URI。這必須是 Google Cloud Storage 物件。目前不支援萬用字元。 |