將洞察資料匯出至要求主體中定義的目的地。
HTTP 要求
POST https://{endpoint}/v1alpha1/{parent=projects/*/locations/*}/insightsdata:export
其中 {endpoint} 是支援的服務端點。
這些網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
parent |
這是必要旗標,要匯出資料的父項資源。 |
要求主體
要求主體包含下列結構的資料:
| JSON 表示法 |
|---|
{ "filter": string, "kmsKey": string, "writeDisposition": enum ( |
| 欄位 | |
|---|---|
filter |
篩選器,可將結果縮小至特定子集。適合用來匯出具有特定屬性的對話。 |
kmsKey |
受 CMEK 保護的 BigQuery 資料表完整 KMS 金鑰名稱。格式:projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} |
writeDisposition |
目的地資料表已存在時的處理選項。 |
exportSchemaVersion |
選用。匯出結構定義的版本。 |
| 匯出工具目的地。以下是互斥欄位清單。回應中最多會設定下列其中一個欄位: | |
bigQueryDestination |
如果接收器是 BigQuery 資料表,則會指定。 |
| 互斥欄位結束。 | |
回應主體
如果成功,回應主體會包含 Operation 的執行個體。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/cloud-platform
詳情請參閱Authentication Overview。
IAM 權限
需要 parent 資源的下列 IAM 權限:
contactcenterinsights.datasetConversations.listcontactcenterinsights.conversations.list
詳情請參閱 IAM 說明文件。