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

@@ -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"
}