Method: projects.locations.queryPerformanceOverview

為一組對話生成預先定義成效指標的摘要。目前可以指定時間範圍和代理 ID 來指定對話。摘要會比較先前時間範圍內對話的計算指標,以及與同業在相同時間範圍內的比較結果。

HTTP 要求

POST https://{endpoint}/v1alpha1/{parent=projects/*/locations/*}:queryPerformanceOverview

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

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

路徑參數

參數
parent

string

這是必要旗標,對話的父項資源,用於衍生出成效統計資料。"projects/{project}/locations/{location}"

要求主體

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

JSON 表示法
{
  "filter": string,
  "queryInterval": {
    object (QueryInterval)
  },

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "agentPerformanceSource": {
    object (AgentSource)
  }
  // End of mutually exclusive fields.
  "comparisonQueryInterval": {
    object (QueryInterval)
  }
}
欄位
filter

string

選用。篩選並選取部分對話,計算成效總覽。支援與 QueryMetricsRequest 中篩選器欄位相同的篩選器。這裡不應包含來源和查詢間隔/比較查詢間隔。

queryInterval

object (QueryInterval)

這是必要旗標,要擷取成效統計資料的對話時間範圍。

對話來源類型,用於衍生出成效。以下是互斥欄位清單。回應中最多會設定下列其中一個欄位:
agentPerformanceSource

object (AgentSource)

對話來自單一代理。

互斥欄位結束。
comparisonQueryInterval

object (QueryInterval)

要比較成效的對話時間範圍。

回應主體

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

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱Authentication Overview。

IAM 權限

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

  • contactcenterinsights.authorizedConversations.list
  • contactcenterinsights.conversations.list

詳情請參閱 IAM 說明文件。