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