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

有關詳細信息,請參閱身份驗證概述