Method: projects.histories.executions.clusters.list

列出屏幕截图集群

返回与执行对应的屏幕截图集群列表。执行完成后会创建屏幕截图簇。集群是根据一组屏幕截图创建的。在任意两个屏幕截图之间,根据其元数据计算匹配分数,以确定它们的相似程度。屏幕截图被放置在具有最高匹配分数的屏幕的集群中。

HTTP请求

GET https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters

URL 使用gRPC 转码语法。

路径参数

参数
projectId

string

项目 ID。

必需的。

historyId

string

历史记录 ID。

必需的。

executionId

string

执行 ID。

必需的。

请求正文

请求正文必须为空。

响应体

如果成功,响应正文包含具有以下结构的数据:

JSON 表示
{
  "clusters": [
    {
      object (ScreenshotCluster)
    }
  ]
}
领域
clusters[]

object ( ScreenshotCluster )

与执行关联的集群集始终设置

授权范围

需要以下 OAuth 范围:

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

有关详细信息,请参阅身份验证概述