Method: projects.locations.authorizedViewSets.authorizedViews.queryPerformanceOverview

为一组对话生成预定义效果指标的摘要。目前,您可以通过指定时间范围和智能体 ID 来指定对话。摘要中包含与上一时间段内对话指标的比较,以及与同一时间段内同行的比较。

HTTP 请求

POST https://{endpoint}/v1/{parent=projects/*/locations/*/authorizedViewSets/*/authorizedViews/*}: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 文档。