Method: projects.locations.datasets.insightsdata.export

リクエスト本文で定義された宛先に分析情報データをエクスポートします。

HTTP リクエスト

POST https://{endpoint}/v1alpha1/{parent=projects/*/locations/*/datasets/*}/insightsdata:export

ここで、{endpoint} はサポートされているサービス エンドポイントのいずれかです。

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
parent

string

必須。データのエクスポート元の親リソース。

リクエストの本文

リクエストの本文には、次の構造のデータが含まれます。

JSON 表現
{
  "filter": string,
  "kmsKey": string,
  "writeDisposition": enum (WriteDisposition),
  "exportSchemaVersion": enum (ExportSchemaVersion),

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "bigQueryDestination": {
    object (BigQueryDestination)
  }
  // End of mutually exclusive fields.
}
フィールド
filter

string

結果を絞り込んで、特定のサブセットに限定するフィルタ。特定のプロパティを持つ会話をエクスポートする場合に便利です。

kmsKey

string

CMEK で保護された BigQuery テーブルの完全修飾 KMS 鍵名。形式: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

writeDisposition

enum (WriteDisposition)

宛先テーブルがすでに存在する場合の処理のオプション。

exportSchemaVersion

enum (ExportSchemaVersion)

省略可。エクスポート スキーマのバージョン。

エクスポータの宛先。相互に排他的なフィールドのリストは次のとおりです。レスポンスに設定されるフィールドは、最大 1 つです。
bigQueryDestination

object (BigQueryDestination)

シンクが BigQuery テーブルの場合に指定します。

相互に排他的なフィールドの終了。

レスポンスの本文

成功した場合、レスポンスの本文には Operation のインスタンスが含まれます。

認可スコープ

次の OAuth スコープが必要です。

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

詳細については、Authentication Overview をご覧ください。

IAM 権限

parent リソースに対する次の IAM 権限が必要です。

  • contactcenterinsights.datasetConversations.list
  • contactcenterinsights.conversations.list

詳細については、IAM のドキュメントをご覧ください。