Method: projects.locations.datasets.bulkUploadFeedbackLabels

從外部來源大量上傳意見回饋標籤。目前支援標示 Quality AI 範例對話。

HTTP 要求

POST https://{endpoint}/v1/{parent=projects/*/locations/*/datasets/*}:bulkUploadFeedbackLabels

其中 {endpoint} 是支援的服務端點。

這些網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

這是必要旗標,新意見回饋標籤的父項資源。

要求主體

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

JSON 表示法
{
  "validateOnly": boolean,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcsSource": {
    object (GcsSource)
  },
  "sheetsSource": {
    object (SheetsSource)
  }
  // End of mutually exclusive fields.
}
欄位
validateOnly

boolean

選用。如果設定,系統就不會上傳,而是驗證標籤。如未設定,預設行為是在驗證完成後上傳標籤。

外部資料儲存庫的設定,其中包含會轉換為 FeedbackLabels 的物件。以下是互斥欄位清單。回應中最多會設定下列其中一個欄位:
gcsSource

object (GcsSource)

Cloud Storage bucket 來源。

sheetsSource

object (SheetsSource)

Google 試算表文件來源。

互斥欄位結束。

回應主體

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

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱Authentication Overview。

IAM 權限

需要 parent 資源的下列 IAM 權限:

  • contactcenterinsights.authorizedFeedbackLabels.upload
  • contactcenterinsights.datasetFeedbackLabels.upload
  • contactcenterinsights.feedbackLabels.upload

詳情請參閱 IAM 說明文件。