get(projectId, historyId, executionId, clusterId, x__xgafv=None)
Retrieves a single screenshot cluster by its ID
list(projectId, historyId, executionId, x__xgafv=None)
Lists Screenshot Clusters
get(projectId, historyId, executionId, clusterId, x__xgafv=None)
Retrieves a single screenshot cluster by its ID
Args:
projectId: string, A Project id.
Required. (required)
historyId: string, A History id.
Required. (required)
executionId: string, An Execution id.
Required. (required)
clusterId: string, A Cluster id
Required. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"activity": "A String", # A string that describes the activity of every screen in the cluster.
"screens": [ # Full list of screens.
{
"locale": "A String", # Locale of the device that the screenshot was taken on.
# Required.
"fileReference": "A String", # File reference of the png file.
# Required.
"model": "A String", # Model of the device that the screenshot was taken on.
# Required.
"version": "A String", # OS version of the device that the screenshot was taken on.
# Required.
},
],
"keyScreen": { # A singular screen that represents the cluster as a whole. This screen will
# act as the "cover" of the entire cluster. When users look at the clusters,
# only the key screen from each cluster will be shown. Which screen is the
# key screen is determined by the ClusteringAlgorithm
"locale": "A String", # Locale of the device that the screenshot was taken on.
# Required.
"fileReference": "A String", # File reference of the png file.
# Required.
"model": "A String", # Model of the device that the screenshot was taken on.
# Required.
"version": "A String", # OS version of the device that the screenshot was taken on.
# Required.
},
"clusterId": "A String", # A unique identifier for the cluster.
# @OutputOnly
}
list(projectId, historyId, executionId, x__xgafv=None)
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.
Args:
projectId: string, A Project id.
Required. (required)
historyId: string, A History id.
Required. (required)
executionId: string, An Execution id.
Required. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"clusters": [ # The set of clusters associated with an execution
# Always set
{
"activity": "A String", # A string that describes the activity of every screen in the cluster.
"screens": [ # Full list of screens.
{
"locale": "A String", # Locale of the device that the screenshot was taken on.
# Required.
"fileReference": "A String", # File reference of the png file.
# Required.
"model": "A String", # Model of the device that the screenshot was taken on.
# Required.
"version": "A String", # OS version of the device that the screenshot was taken on.
# Required.
},
],
"keyScreen": { # A singular screen that represents the cluster as a whole. This screen will
# act as the "cover" of the entire cluster. When users look at the clusters,
# only the key screen from each cluster will be shown. Which screen is the
# key screen is determined by the ClusteringAlgorithm
"locale": "A String", # Locale of the device that the screenshot was taken on.
# Required.
"fileReference": "A String", # File reference of the png file.
# Required.
"model": "A String", # Model of the device that the screenshot was taken on.
# Required.
"version": "A String", # OS version of the device that the screenshot was taken on.
# Required.
},
"clusterId": "A String", # A unique identifier for the cluster.
# @OutputOnly
},
],
}