class ProjectsHistoriesExecutionsClusters extends Resource (View source)

The "clusters" collection of methods.

Typical usage is:

 $toolresultsService = new Google\Service\ToolResults(...);
 $clusters = $toolresultsService->projects_histories_executions_clusters;

Methods

get(string $projectId, string $historyId, string $executionId, string $clusterId, array $optParams = [])

Retrieves a single screenshot cluster by its ID (clusters.get)

listProjectsHistoriesExecutionsClusters(string $projectId, string $historyId, string $executionId, array $optParams = [])

Lists Screenshot Clusters Returns the list of screenshot clusters corresponding to an execution. Screenshot clusters are created after the execution is finished. Clusters are created from a set of screenshots.

Details

ScreenshotCluster get(string $projectId, string $historyId, string $executionId, string $clusterId, array $optParams = [])

Retrieves a single screenshot cluster by its ID (clusters.get)

Parameters

string $projectId

A Project id. Required.

string $historyId

A History id. Required.

string $executionId

An Execution id. Required.

string $clusterId

A Cluster id Required.

array $optParams

Optional parameters.

Return Value

ScreenshotCluster

Exceptions

Exception

ListScreenshotClustersResponse listProjectsHistoriesExecutionsClusters(string $projectId, string $historyId, string $executionId, array $optParams = [])

Lists Screenshot Clusters Returns the list of screenshot clusters corresponding to an execution. Screenshot clusters are created after the execution is finished. Clusters are created from a set of screenshots.

Between any two screenshots, a matching score is calculated based off their metadata that determines how similar they are. Screenshots are placed in the cluster that has screens which have the highest matching scores. (clusters.listProjectsHistoriesExecutionsClusters)

Parameters

string $projectId

A Project id. Required.

string $historyId

A History id. Required.

string $executionId

An Execution id. Required.

array $optParams

Optional parameters.

Return Value

ListScreenshotClustersResponse

Exceptions

Exception