update all json files

This commit is contained in:
Sebastian Thiel
2020-04-12 18:55:37 +08:00
parent ea3b428364
commit aacc30f08d
260 changed files with 138411 additions and 26293 deletions

View File

@@ -0,0 +1,539 @@
{
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Tool Results",
"description": "API to publish and access results from developer tools.",
"discoveryVersion": "v1",
"documentationLink": "https://firebase.google.com/docs/test-lab/",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "toolresults:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"name": "toolresults",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {},
"revision": "20200406",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"ANR": {
"description": "Additional details for an ANR crash.",
"id": "ANR",
"properties": {
"stackTrace": {
"$ref": "StackTrace",
"description": "The stack trace of the ANR crash.\nOptional."
}
},
"type": "object"
},
"AvailableDeepLinks": {
"description": "A suggestion to use deep links for a Robo run.",
"id": "AvailableDeepLinks",
"properties": {},
"type": "object"
},
"BlankScreen": {
"description": "A warning that Robo encountered a screen that was mostly blank; this may\nindicate a problem with the app.",
"id": "BlankScreen",
"properties": {
"screenId": {
"description": "The screen id of the element",
"type": "string"
}
},
"type": "object"
},
"CrashDialogError": {
"description": "Crash dialog was detected during the test execution",
"id": "CrashDialogError",
"properties": {
"crashPackage": {
"description": "The name of the package that caused the dialog.",
"type": "string"
}
},
"type": "object"
},
"EncounteredLoginScreen": {
"description": "Additional details about encountered login screens.",
"id": "EncounteredLoginScreen",
"properties": {
"distinctScreens": {
"description": "Number of encountered distinct login screens.",
"format": "int32",
"type": "integer"
},
"screenIds": {
"description": "Subset of login screens.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EncounteredNonAndroidUiWidgetScreen": {
"description": "Additional details about encountered screens with elements that are not\nAndroid UI widgets.",
"id": "EncounteredNonAndroidUiWidgetScreen",
"properties": {
"distinctScreens": {
"description": "Number of encountered distinct screens with non Android UI widgets.",
"format": "int32",
"type": "integer"
},
"screenIds": {
"description": "Subset of screens which contain non Android UI widgets.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"FailedToInstall": {
"description": "Failed to install the APK.",
"id": "FailedToInstall",
"properties": {},
"type": "object"
},
"FatalException": {
"description": "Additional details for a fatal exception.",
"id": "FatalException",
"properties": {
"stackTrace": {
"$ref": "StackTrace",
"description": "The stack trace of the fatal exception.\nOptional."
}
},
"type": "object"
},
"InAppPurchasesFound": {
"description": "Additional details of in-app purchases encountered during the crawl.",
"id": "InAppPurchasesFound",
"properties": {
"inAppPurchasesFlowsExplored": {
"description": "The total number of in-app purchases flows explored: how many times the\nrobo tries to buy a SKU.",
"format": "int32",
"type": "integer"
},
"inAppPurchasesFlowsStarted": {
"description": "The total number of in-app purchases flows started.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"InsufficientCoverage": {
"description": "A warning that Robo did not crawl potentially important parts of the app.",
"id": "InsufficientCoverage",
"properties": {},
"type": "object"
},
"IosAppCrashed": {
"description": "Additional details for an iOS app crash.",
"id": "IosAppCrashed",
"properties": {
"stackTrace": {
"$ref": "StackTrace",
"description": "The stack trace, if one is available.\nOptional."
}
},
"type": "object"
},
"LauncherActivityNotFound": {
"description": "Failed to find the launcher activity of an app.",
"id": "LauncherActivityNotFound",
"properties": {},
"type": "object"
},
"NativeCrash": {
"description": "Additional details for a native crash.",
"id": "NativeCrash",
"properties": {
"stackTrace": {
"$ref": "StackTrace",
"description": "The stack trace of the native crash.\nOptional."
}
},
"type": "object"
},
"NonSdkApi": {
"description": "A non-sdk API and examples of it being called along with other metadata\nSee\nhttps://developer.android.com/distribute/best-practices/develop/restrictions-non-sdk-interfaces",
"id": "NonSdkApi",
"properties": {
"apiSignature": {
"description": "The signature of the Non-SDK API",
"type": "string"
},
"exampleStackTraces": {
"description": "Example stack traces of this API being called.",
"items": {
"type": "string"
},
"type": "array"
},
"insights": {
"description": "Optional debugging insights for non-SDK API violations.",
"items": {
"$ref": "NonSdkApiInsight"
},
"type": "array"
},
"invocationCount": {
"description": "The total number of times this API was observed to have been called.",
"format": "int32",
"type": "integer"
},
"list": {
"description": "Which list this API appears on",
"enum": [
"NONE",
"WHITE",
"BLACK",
"GREY",
"GREY_MAX_O",
"GREY_MAX_P",
"GREY_MAX_Q"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"NonSdkApiInsight": {
"description": "Non-SDK API insights (to address debugging solutions).",
"id": "NonSdkApiInsight",
"properties": {
"exampleTraceMessages": {
"description": "Optional sample stack traces, for which this insight applies (there\nshould be at least one).",
"items": {
"type": "string"
},
"type": "array"
},
"matcherId": {
"description": "A unique ID, to be used for determining the effectiveness of this\nparticular insight in the context of a matcher. (required)",
"type": "string"
},
"pendingGoogleUpdateInsight": {
"$ref": "PendingGoogleUpdateInsight",
"description": "An insight indicating that the hidden API usage originates from a\nGoogle-provided library."
},
"upgradeInsight": {
"$ref": "UpgradeInsight",
"description": "An insight indicating that the hidden API usage originates from the\nuse of a library that needs to be upgraded."
}
},
"type": "object"
},
"NonSdkApiUsageViolation": {
"description": "Additional details for a non-sdk API usage violation.",
"id": "NonSdkApiUsageViolation",
"properties": {
"apiSignatures": {
"description": "Signatures of a subset of those hidden API's.",
"items": {
"type": "string"
},
"type": "array"
},
"uniqueApis": {
"description": "Total number of unique hidden API's accessed.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"NonSdkApiUsageViolationReport": {
"description": "Contains a summary and examples of non-sdk API usage violations.",
"id": "NonSdkApiUsageViolationReport",
"properties": {
"exampleApis": {
"description": "Examples of the detected API usages.",
"items": {
"$ref": "NonSdkApi"
},
"type": "array"
},
"minSdkVersion": {
"description": "Minimum API level required for the application to run.",
"format": "int32",
"type": "integer"
},
"targetSdkVersion": {
"description": "Specifies the API Level on which the application is designed to run.",
"format": "int32",
"type": "integer"
},
"uniqueApis": {
"description": "Total number of unique Non-SDK API's accessed.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"OverlappingUIElements": {
"description": "A warning that Robo encountered a screen that has overlapping clickable\nelements; this may indicate a potential UI issue.",
"id": "OverlappingUIElements",
"properties": {
"resourceName": {
"description": "Resource names of the overlapping screen elements",
"items": {
"type": "string"
},
"type": "array"
},
"screenId": {
"description": "The screen id of the elements",
"type": "string"
}
},
"type": "object"
},
"PendingGoogleUpdateInsight": {
"description": "This insight indicates that the hidden API usage originates from a\nGoogle-provided library. Users need not take any action.",
"id": "PendingGoogleUpdateInsight",
"properties": {
"nameOfGoogleLibrary": {
"description": "The name of the Google-provided library with the non-SDK API dependency.",
"type": "string"
}
},
"type": "object"
},
"PerformedGoogleLogin": {
"description": "A notification that Robo signed in with Google.",
"id": "PerformedGoogleLogin",
"properties": {},
"type": "object"
},
"PerformedMonkeyActions": {
"description": "A notification that Robo performed some monkey actions.",
"id": "PerformedMonkeyActions",
"properties": {
"totalActions": {
"description": "The total number of monkey actions performed during the crawl.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"RoboScriptExecution": {
"description": "Execution stats for a user-provided Robo script.",
"id": "RoboScriptExecution",
"properties": {
"successfulActions": {
"description": "The number of Robo script actions executed successfully.",
"format": "int32",
"type": "integer"
},
"totalActions": {
"description": "The total number of actions in the Robo script.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"StackTrace": {
"description": "A stacktrace.",
"id": "StackTrace",
"properties": {
"exception": {
"description": "The stack trace message.\n\nRequired",
"type": "string"
}
},
"type": "object"
},
"StartActivityNotFound": {
"description": "User provided intent failed to resolve to an activity.",
"id": "StartActivityNotFound",
"properties": {
"action": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"type": "object"
},
"UIElementTooDeep": {
"description": "A warning that the screen hierarchy is deeper than the recommended threshold.",
"id": "UIElementTooDeep",
"properties": {
"depth": {
"description": "The depth of the screen element",
"format": "int32",
"type": "integer"
},
"screenId": {
"description": "The screen id of the element",
"type": "string"
},
"screenStateId": {
"description": "The screen state id of the element",
"type": "string"
}
},
"type": "object"
},
"UnspecifiedWarning": {
"description": "Default unspecified warning.",
"id": "UnspecifiedWarning",
"properties": {},
"type": "object"
},
"UnusedRoboDirective": {
"description": "Additional details of an unused robodirective.",
"id": "UnusedRoboDirective",
"properties": {
"resourceName": {
"description": "The name of the resource that was unused.",
"type": "string"
}
},
"type": "object"
},
"UpgradeInsight": {
"description": "This insight is a recommendation to upgrade a given library to the specified\nversion, in order to avoid dependencies on non-SDK APIs.",
"id": "UpgradeInsight",
"properties": {
"packageName": {
"description": "The name of the package to be upgraded.",
"type": "string"
},
"upgradeToVersion": {
"description": "The suggested version to upgrade to.\nOptional: In case we are not sure which version solves this problem",
"type": "string"
}
},
"type": "object"
},
"UsedRoboDirective": {
"description": "Additional details of a used Robo directive.",
"id": "UsedRoboDirective",
"properties": {
"resourceName": {
"description": "The name of the resource that was used.",
"type": "string"
}
},
"type": "object"
},
"UsedRoboIgnoreDirective": {
"description": "Additional details of a used Robo directive with an ignore action.\nNote: This is a different scenario than unused directive.",
"id": "UsedRoboIgnoreDirective",
"properties": {
"resourceName": {
"description": "The name of the resource that was ignored.",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Cloud Tool Results API",
"version": "v1",
"version_module": true
}

View File

@@ -8,14 +8,14 @@
}
}
},
"basePath": "/toolresults/v1beta3/projects/",
"baseUrl": "https://www.googleapis.com/toolresults/v1beta3/projects/",
"basePath": "/toolresults/v1beta3/",
"baseUrl": "https://www.googleapis.com/toolresults/v1beta3/",
"batchPath": "batch/toolresults/v1beta3",
"canonicalName": "Tool Results",
"description": "Reads and publishes results from Firebase Test Lab.",
"discoveryVersion": "v1",
"documentationLink": "https://firebase.google.com/docs/test-lab/",
"etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/rSHkBO8WWiZ0SSJDO3DwsVNnyIM\"",
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/aHs3nf1qVFXP9d0ps2t-6efigbg\"",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
@@ -89,7 +89,7 @@
"type": "string"
}
},
"path": "{projectId}/settings",
"path": "projects/{projectId}/settings",
"response": {
"$ref": "ProjectSettings"
},
@@ -112,7 +112,7 @@
"type": "string"
}
},
"path": "{projectId}:initializeSettings",
"path": "projects/{projectId}:initializeSettings",
"response": {
"$ref": "ProjectSettings"
},
@@ -144,7 +144,7 @@
"type": "string"
}
},
"path": "{projectId}/histories",
"path": "projects/{projectId}/histories",
"request": {
"$ref": "History"
},
@@ -177,7 +177,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}",
"path": "projects/{projectId}/histories/{historyId}",
"response": {
"$ref": "History"
},
@@ -216,7 +216,7 @@
"type": "string"
}
},
"path": "{projectId}/histories",
"path": "projects/{projectId}/histories",
"response": {
"$ref": "ListHistoriesResponse"
},
@@ -255,7 +255,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions",
"path": "projects/{projectId}/histories/{historyId}/executions",
"request": {
"$ref": "Execution"
},
@@ -295,7 +295,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}",
"response": {
"$ref": "Execution"
},
@@ -336,7 +336,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions",
"path": "projects/{projectId}/histories/{historyId}/executions",
"response": {
"$ref": "ListExecutionsResponse"
},
@@ -378,7 +378,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}",
"request": {
"$ref": "Execution"
},
@@ -429,7 +429,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}",
"response": {
"$ref": "ScreenshotCluster"
}
@@ -463,15 +463,139 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/clusters",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters",
"response": {
"$ref": "ListScreenshotClustersResponse"
}
}
}
},
"environments": {
"methods": {
"get": {
"description": "Gets an Environment.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Environment does not exist",
"httpMethod": "GET",
"id": "toolresults.projects.histories.executions.environments.get",
"parameterOrder": [
"projectId",
"historyId",
"executionId",
"environmentId"
],
"parameters": {
"environmentId": {
"description": "Required. An Environment id.",
"location": "path",
"required": true,
"type": "string"
},
"executionId": {
"description": "Required. An Execution id.",
"location": "path",
"required": true,
"type": "string"
},
"historyId": {
"description": "Required. A History id.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. A Project id.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}",
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists Environments for a given Execution.\n\nThe Environments are sorted by display name.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist",
"httpMethod": "GET",
"id": "toolresults.projects.histories.executions.environments.list",
"parameterOrder": [
"projectId",
"historyId",
"executionId"
],
"parameters": {
"executionId": {
"description": "Required. An Execution id.",
"location": "path",
"required": true,
"type": "string"
},
"historyId": {
"description": "Required. A History id.",
"location": "path",
"required": true,
"type": "string"
},
"pageSize": {
"description": "The maximum number of Environments to fetch.\n\nDefault value: 25. The server will use this default if the field is not set or has a value of 0.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A continuation token to resume the query at the next item.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. A Project id.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/environments",
"response": {
"$ref": "ListEnvironmentsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"steps": {
"methods": {
"accessibilityClusters": {
"description": "Lists accessibility clusters for a given Step\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if the locale format is incorrect - NOT_FOUND - if the containing Step does not exist",
"httpMethod": "GET",
"id": "toolresults.projects.histories.executions.steps.accessibilityClusters",
"parameterOrder": [
"name"
],
"parameters": {
"locale": {
"description": "The accepted format is the canonical Unicode format with hyphen as a delimiter. Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE. See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for details.\n\nRequired.",
"location": "query",
"type": "string"
},
"name": {
"description": "A full resource name of the step. For example, projects/my-project/histories/bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef\n\nRequired.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "{+name}:accessibilityClusters",
"response": {
"$ref": "ListStepAccessibilityClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a Step.\n\nThe returned Step will have the id set.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist",
"httpMethod": "POST",
@@ -483,19 +607,19 @@
],
"parameters": {
"executionId": {
"description": "A Execution id.\n\nRequired.",
"description": "Required. An Execution id.",
"location": "path",
"required": true,
"type": "string"
},
"historyId": {
"description": "A History id.\n\nRequired.",
"description": "Required. A History id.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "A Project id.\n\nRequired.",
"description": "Required. A Project id.",
"location": "path",
"required": true,
"type": "string"
@@ -506,7 +630,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps",
"request": {
"$ref": "Step"
},
@@ -553,7 +677,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}",
"response": {
"$ref": "Step"
},
@@ -597,7 +721,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary",
"response": {
"$ref": "PerfMetricsSummary"
},
@@ -645,7 +769,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps",
"response": {
"$ref": "ListStepsResponse"
},
@@ -694,7 +818,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}",
"request": {
"$ref": "Step"
},
@@ -741,7 +865,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles",
"request": {
"$ref": "PublishXunitXmlFilesRequest"
},
@@ -792,7 +916,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary",
"request": {
"$ref": "PerfMetricsSummary"
},
@@ -843,7 +967,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries",
"request": {
"$ref": "PerfSampleSeries"
},
@@ -897,7 +1021,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}",
"response": {
"$ref": "PerfSampleSeries"
},
@@ -961,7 +1085,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries",
"response": {
"$ref": "ListPerfSampleSeriesResponse"
},
@@ -1016,7 +1140,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate",
"request": {
"$ref": "BatchCreatePerfSamplesRequest"
},
@@ -1081,7 +1205,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples",
"response": {
"$ref": "ListPerfSamplesResponse"
},
@@ -1138,7 +1262,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}",
"response": {
"$ref": "TestCase"
},
@@ -1193,7 +1317,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases",
"response": {
"$ref": "ListTestCasesResponse"
},
@@ -1252,7 +1376,7 @@
"type": "string"
}
},
"path": "{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails",
"path": "projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails",
"response": {
"$ref": "ListStepThumbnailsResponse"
},
@@ -1271,7 +1395,7 @@
}
}
},
"revision": "20190704",
"revision": "20200408",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AndroidAppInfo": {
@@ -1528,7 +1652,7 @@
"type": "object"
},
"Duration": {
"description": "A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like \"day\" or \"month\". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.\n\n# Examples\n\nExample 1: Compute Duration from two Timestamps in pseudo code.\n\nTimestamp start = ...; Timestamp end = ...; Duration duration = ...;\n\nduration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - start.nanos;\n\nif (duration.seconds 0) { duration.seconds += 1; duration.nanos -= 1000000000; } else if (durations.seconds > 0 && duration.nanos < 0) { duration.seconds -= 1; duration.nanos += 1000000000; }\n\nExample 2: Compute Timestamp from Timestamp + Duration in pseudo code.\n\nTimestamp start = ...; Duration duration = ...; Timestamp end = ...;\n\nend.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + duration.nanos;\n\nif (end.nanos = 1000000000) { end.seconds += 1; end.nanos -= 1000000000; }\n\nExample 3: Compute Duration from datetime.timedelta in Python.\n\ntd = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.FromTimedelta(td)\n\n# JSON Mapping\n\nIn JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix \"s\" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 microsecond should be expressed in JSON format as \"3.000001s\".",
"description": "A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like \"day\" or \"month\". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years.\n\n# Examples\n\nExample 1: Compute Duration from two Timestamps in pseudo code.\n\nTimestamp start = ...; Timestamp end = ...; Duration duration = ...;\n\nduration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - start.nanos;\n\nif (duration.seconds 0) { duration.seconds += 1; duration.nanos -= 1000000000; } else if (duration.seconds > 0 && duration.nanos < 0) { duration.seconds -= 1; duration.nanos += 1000000000; }\n\nExample 2: Compute Timestamp from Timestamp + Duration in pseudo code.\n\nTimestamp start = ...; Duration duration = ...; Timestamp end = ...;\n\nend.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + duration.nanos;\n\nif (end.nanos = 1000000000) { end.seconds += 1; end.nanos -= 1000000000; }\n\nExample 3: Compute Duration from datetime.timedelta in Python.\n\ntd = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.FromTimedelta(td)\n\n# JSON Mapping\n\nIn JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix \"s\" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 microsecond should be expressed in JSON format as \"3.000001s\".",
"id": "Duration",
"properties": {
"nanos": {
@@ -1544,6 +1668,75 @@
},
"type": "object"
},
"Environment": {
"description": "An Environment represents the set of test runs (Steps) from the parent Execution that are configured with the same set of dimensions (Model, Version, Locale, and Orientation). Multiple such runs occur particularly because of features like sharding (splitting up a test suite to run in parallel across devices) and reruns (running a test multiple times to check for different outcomes).",
"id": "Environment",
"properties": {
"completionTime": {
"$ref": "Timestamp",
"description": "Output only. The time when the Environment status was set to complete.\n\nThis value will be set automatically when state transitions to COMPLETE."
},
"creationTime": {
"$ref": "Timestamp",
"description": "Output only. The time when the Environment was created."
},
"dimensionValue": {
"description": "Dimension values describing the environment. Dimension values always consist of \"Model\", \"Version\", \"Locale\", and \"Orientation\".\n\n- In response: always set - In create request: always set - In update request: never set",
"items": {
"$ref": "EnvironmentDimensionValueEntry"
},
"type": "array"
},
"displayName": {
"description": "A short human-readable name to display in the UI. Maximum of 100 characters. For example: Nexus 5, API 27.",
"type": "string"
},
"environmentId": {
"description": "Output only. An Environment id.",
"type": "string"
},
"environmentResult": {
"$ref": "MergedResult",
"description": "Merged result of the environment."
},
"executionId": {
"description": "Output only. An Execution id.",
"type": "string"
},
"historyId": {
"description": "Output only. A History id.",
"type": "string"
},
"projectId": {
"description": "Output only. A Project id.",
"type": "string"
},
"resultsStorage": {
"$ref": "ResultsStorage",
"description": "The location where output files are stored in the user bucket."
},
"shardSummaries": {
"description": "Output only. Summaries of shards.\n\nOnly one shard will present unless sharding feature is enabled in TestExecutionService.",
"items": {
"$ref": "ShardSummary"
},
"type": "array"
}
},
"type": "object"
},
"EnvironmentDimensionValueEntry": {
"id": "EnvironmentDimensionValueEntry",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"Execution": {
"description": "An Execution represents a collection of Steps. For instance, it could represent: - a mobile test executed across a range of device configurations - a jenkins job with a build step followed by a test step\n\nThe maximum size of an execution message is 1 MiB.\n\nAn Execution can be updated until its state is set to COMPLETE at which point it becomes immutable.",
"id": "Execution",
@@ -1813,6 +2006,36 @@
},
"type": "object"
},
"ListEnvironmentsResponse": {
"description": "Response message for EnvironmentService.ListEnvironments.",
"id": "ListEnvironmentsResponse",
"properties": {
"environments": {
"description": "Environments.\n\nAlways set.",
"items": {
"$ref": "Environment"
},
"type": "array"
},
"executionId": {
"description": "A Execution id\n\nAlways set.",
"type": "string"
},
"historyId": {
"description": "A History id.\n\nAlways set.",
"type": "string"
},
"nextPageToken": {
"description": "A continuation token to resume the query at the next item.\n\nWill only be set if there are more Environments to fetch.",
"type": "string"
},
"projectId": {
"description": "A Project id.\n\nAlways set.",
"type": "string"
}
},
"type": "object"
},
"ListExecutionsResponse": {
"id": "ListExecutionsResponse",
"properties": {
@@ -1890,6 +2113,24 @@
},
"type": "object"
},
"ListStepAccessibilityClustersResponse": {
"description": "Response message for AccessibilityService.ListStepAccessibilityClusters.",
"id": "ListStepAccessibilityClustersResponse",
"properties": {
"clusters": {
"description": "A sequence of accessibility suggestions, grouped into clusters. Within the sequence, clusters that belong to the same SuggestionCategory should be adjacent. Within each category, clusters should be ordered by their SuggestionPriority (ERRORs first). The categories should be ordered by their highest priority cluster.",
"items": {
"$ref": "SuggestionClusterProto"
},
"type": "array"
},
"name": {
"description": "A full resource name of the step. For example, projects/my-project/histories/bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef\n\nAlways presents.",
"type": "string"
}
},
"type": "object"
},
"ListStepThumbnailsResponse": {
"description": "A response containing the thumbnails in a step.",
"id": "ListStepThumbnailsResponse",
@@ -1959,6 +2200,40 @@
},
"type": "object"
},
"MergedResult": {
"description": "Merged test result for environment.\n\nIf the environment has only one step (no reruns or shards), then the merged result is the same as the step result. If the environment has multiple shards and/or reruns, then the results of shards and reruns that belong to the same environment are merged into one environment result.",
"id": "MergedResult",
"properties": {
"outcome": {
"$ref": "Outcome",
"description": "Outcome of the resource"
},
"state": {
"description": "State of the resource",
"enum": [
"complete",
"inProgress",
"pending",
"unknownState"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"testSuiteOverviews": {
"description": "The combined and rolled-up result of each test suite that was run as part of this environment.\n\nCombining: When the test cases from a suite are run in different steps (sharding), the results are added back together in one overview. (e.g., if shard1 has 2 failures and shard2 has 1 failure than the overview failure_count = 3).\n\nRollup: When test cases from the same suite are run multiple times (flaky), the results are combined (e.g., if testcase1.run1 fails, testcase1.run2 passes, and both testcase2.run1 and testcase2.run2 fail then the overview flaky_count = 1 and failure_count = 1).",
"items": {
"$ref": "TestSuiteOverview"
},
"type": "array"
}
},
"type": "object"
},
"MultiStep": {
"description": "Details when multiple steps are run with the same configuration as a group.",
"id": "MultiStep",
@@ -2098,7 +2373,7 @@
"properties": {
"sampleTime": {
"$ref": "Timestamp",
"description": "Timestamp of collection"
"description": "Timestamp of collection."
},
"value": {
"description": "Value observed",
@@ -2202,6 +2477,59 @@
},
"type": "object"
},
"RegionProto": {
"description": "A rectangular region.",
"id": "RegionProto",
"properties": {
"heightPx": {
"description": "The height, in pixels. Always set.",
"format": "int32",
"type": "integer"
},
"leftPx": {
"description": "The left side of the rectangle, in pixels. Always set.",
"format": "int32",
"type": "integer"
},
"topPx": {
"description": "The top of the rectangle, in pixels. Always set.",
"format": "int32",
"type": "integer"
},
"widthPx": {
"description": "The width, in pixels. Always set.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ResultsStorage": {
"description": "The storage for test results.",
"id": "ResultsStorage",
"properties": {
"resultsStoragePath": {
"$ref": "FileReference",
"description": "The root directory for test results."
},
"xunitXmlFile": {
"$ref": "FileReference",
"description": "The path to the Xunit XML file."
}
},
"type": "object"
},
"SafeHtmlProto": {
"description": "IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.",
"id": "SafeHtmlProto",
"properties": {
"privateDoNotAccessOrElseSafeHtmlWrappedValue": {
"description": "IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read this message.",
"type": "string"
}
},
"type": "object"
},
"Screen": {
"id": "Screen",
"properties": {
@@ -2249,6 +2577,17 @@
},
"type": "object"
},
"ShardSummary": {
"description": "Result summary for a shard in an environment.",
"id": "ShardSummary",
"properties": {
"shardResult": {
"$ref": "MergedResult",
"description": "Merged result of the shard."
}
},
"type": "object"
},
"SkippedDetail": {
"description": "Details for an outcome with a SKIPPED outcome summary.",
"id": "SkippedDetail",
@@ -2314,7 +2653,7 @@
"type": "object"
},
"Step": {
"description": "A Step represents a single operation performed as part of Execution. A step can be used to represent the execution of a tool ( for example a test runner execution or an execution of a compiler).\n\nSteps can overlap (for instance two steps might have the same start time if some operations are done in parallel).\n\nHere is an example, let's consider that we have a continuous build is executing a test runner for each iteration. The workflow would look like: - user creates a Execution with id 1 - user creates an TestExecutionStep with id 100 for Execution 1 - user update TestExecutionStep with id 100 to add a raw xml log + the service parses the xml logs and returns a TestExecutionStep with updated TestResult(s). - user update the status of TestExecutionStep with id 100 to COMPLETE\n\nA Step can be updated until its state is set to COMPLETE at which points it becomes immutable.",
"description": "A Step represents a single operation performed as part of Execution. A step can be used to represent the execution of a tool ( for example a test runner execution or an execution of a compiler).\n\nSteps can overlap (for instance two steps might have the same start time if some operations are done in parallel).\n\nHere is an example, let's consider that we have a continuous build is executing a test runner for each iteration. The workflow would look like: - user creates a Execution with id 1 - user creates an TestExecutionStep with id 100 for Execution 1 - user update TestExecutionStep with id 100 to add a raw xml log + the service parses the xml logs and returns a TestExecutionStep with updated TestResult(s). - user update the status of TestExecutionStep with id 100 to COMPLETE\n\nA Step can be updated until its state is set to COMPLETE at which points it becomes immutable.\n\nNext tag: 27",
"id": "Step",
"properties": {
"completionTime": {
@@ -2423,7 +2762,7 @@
"type": "object"
},
"SuccessDetail": {
"description": "Details for an outcome with a SUCCESS outcome summary.",
"description": "Details for an outcome with a SUCCESS outcome summary. LINT.IfChange",
"id": "SuccessDetail",
"properties": {
"otherNativeCrash": {
@@ -2433,9 +2772,104 @@
},
"type": "object"
},
"SuggestionClusterProto": {
"description": "A set of similar suggestions that we suspect are closely related.\n\nThis proto and most of the nested protos are branched from foxandcrown.prelaunchreport.service.SuggestionClusterProto, replacing PLR's dependencies with FTL's.",
"id": "SuggestionClusterProto",
"properties": {
"category": {
"description": "Category in which these types of suggestions should appear. Always set.",
"enum": [
"contentLabeling",
"implementation",
"lowContrast",
"touchTargetSize",
"unknownCategory"
],
"enumDescriptions": [
"",
"",
"",
"",
""
],
"type": "string"
},
"suggestions": {
"description": "A sequence of suggestions. All of the suggestions within a cluster must have the same SuggestionPriority and belong to the same SuggestionCategory. Suggestions with the same screenshot URL should be adjacent.",
"items": {
"$ref": "SuggestionProto"
},
"type": "array"
}
},
"type": "object"
},
"SuggestionProto": {
"id": "SuggestionProto",
"properties": {
"helpUrl": {
"description": "Reference to a help center article concerning this type of suggestion. Always set.",
"type": "string"
},
"longMessage": {
"$ref": "SafeHtmlProto",
"description": "Message, in the user's language, explaining the suggestion, which may contain markup. Always set."
},
"priority": {
"description": "Relative importance of a suggestion. Always set.",
"enum": [
"error",
"info",
"unknownPriority",
"warning"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
},
"pseudoResourceId": {
"description": "A somewhat human readable identifier of the source view, if it does not have a resource_name. This is a path within the accessibility hierarchy, an element with resource name; similar to an XPath.",
"type": "string"
},
"region": {
"$ref": "RegionProto",
"description": "Region within the screenshot that is relevant to this suggestion. Optional."
},
"resourceName": {
"description": "Reference to a view element, identified by its resource name, if it has one.",
"type": "string"
},
"screenId": {
"description": "ID of the screen for the suggestion. It is used for getting the corresponding screenshot path. For example, screen_id \"1\" corresponds to \"1.png\" file in GCS. Always set.",
"type": "string"
},
"secondaryPriority": {
"description": "Relative importance of a suggestion as compared with other suggestions that have the same priority and category. This is a meaningless value that can be used to order suggestions that are in the same category and have the same priority. The larger values have higher priority (i.e., are more important). Optional.",
"format": "double",
"type": "number"
},
"shortMessage": {
"$ref": "SafeHtmlProto",
"description": "Concise message, in the user's language, representing the suggestion, which may contain markup. Always set."
},
"title": {
"description": "General title for the suggestion, in the user's language, without markup. Always set.",
"type": "string"
}
},
"type": "object"
},
"TestCase": {
"id": "TestCase",
"properties": {
"elapsedTime": {
"$ref": "Duration",
"description": "The elapsed run time of the test case.\n\nRequired."
},
"endTime": {
"$ref": "Timestamp",
"description": "The end time of the test case.\n\nOptional."
@@ -2588,6 +3022,7 @@
"enum": [
"anr",
"availableDeepLinks",
"blankScreen",
"compatibleWithOrchestrator",
"completeRoboScriptExecution",
"crashDialogError",
@@ -2604,9 +3039,11 @@
"nativeCrash",
"nonSdkApiUsageReport",
"nonSdkApiUsageViolation",
"overlappingUiElements",
"performedGoogleLogin",
"performedMonkeyActions",
"startActivityNotFound",
"uiElementsTooDeep",
"unspecifiedType",
"unusedRoboDirective",
"usedRoboDirective",
@@ -2637,6 +3074,9 @@
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
@@ -2666,6 +3106,11 @@
"format": "int32",
"type": "integer"
},
"flakyCount": {
"description": "Number of flaky test cases, set by the service by rolling up flaky test attempts.\n\nPresent only for rollup test suite overview at environment level. A step cannot have flaky test cases.",
"format": "int32",
"type": "integer"
},
"name": {
"description": "The name of the test suite.\n\n- In create/response: always set - In update request: never",
"type": "string"
@@ -2816,7 +3261,7 @@
"type": "object"
}
},
"servicePath": "toolresults/v1beta3/projects/",
"servicePath": "toolresults/v1beta3/",
"title": "Cloud Tool Results API",
"version": "v1beta3"
}