Method: projects.locations.collections.exportDataObjects

Collection から 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 接頭辞。バケットはコレクションと同じリージョンに存在する必要があります。

format

enum (Format)

必須。エクスポートされたデータ オブジェクトの形式。

形式

エクスポートされたデータ オブジェクトの形式のオプション。今後、新しい形式が追加される可能性があります。

列挙型
FORMAT_UNSPECIFIED 未指定の形式。
JSON エクスポートされたデータ オブジェクトは JSON 形式になります。