Method: projects.locations.collections.exportDataObjects

啟動長時間執行的作業,從集合匯出 DataObject。

HTTP 要求

POST https://vectorsearch.googleapis.com/v1/{name}:exportDataObjects

路徑參數

參數
name

string

這是必要旗標,要匯出資料物件的集合資源名稱。格式:projects/{project}/locations/{location}/collections/{collection}

要求主體

要求主體包含下列結構的資料:

JSON 表示法
{

  // Union field destination can be only one of the following:
  "gcsDestination": {
    object (GcsExportDestination)
  }
  // End of list of possible types for union field destination.
}
欄位
聯集欄位 destination。匯出資料的設定。destination 只能是下列其中一個設定:
gcsDestination

object (GcsExportDestination)

使用者要匯出資料物件的 Cloud Storage 位置。

回應主體

如果成功,回應主體會包含 Operation 的執行個體。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱Authentication Overview

GcsExportDestination

匯出作業的 Google Cloud Storage 設定。

JSON 表示法
{
  "exportUri": string,
  "format": enum (Format)
}
欄位
exportUri

string

這是必要旗標,要匯出資料物件的 Cloud Storage URI 前置字串。bucket 必須與集合位於相同區域。

format

enum (Format)

這是必要旗標,匯出資料物件的格式。

格式

匯出資料物件的格式選項。日後可能會新增其他格式。

列舉
FORMAT_UNSPECIFIED 未指定格式。
JSON 匯出的資料物件會採用 JSON 格式。