1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="toolresults_v1beta3.html">Cloud Tool Results API</a> . <a href="toolresults_v1beta3.projects.html">projects</a> . <a href="toolresults_v1beta3.projects.histories.html">histories</a> . <a href="toolresults_v1beta3.projects.histories.executions.html">executions</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="toolresults_v1beta3.projects.histories.executions.clusters.html">clusters()</a></code> 79</p> 80<p class="firstline">Returns the clusters Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="toolresults_v1beta3.projects.histories.executions.environments.html">environments()</a></code> 84</p> 85<p class="firstline">Returns the environments Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="toolresults_v1beta3.projects.histories.executions.steps.html">steps()</a></code> 89</p> 90<p class="firstline">Returns the steps Resource.</p> 91 92<p class="toc_element"> 93 <code><a href="#close">close()</a></code></p> 94<p class="firstline">Close httplib2 connections.</p> 95<p class="toc_element"> 96 <code><a href="#create">create(projectId, historyId, body=None, requestId=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Creates an Execution. The returned Execution will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist</p> 98<p class="toc_element"> 99 <code><a href="#get">get(projectId, historyId, executionId, x__xgafv=None)</a></code></p> 100<p class="firstline">Gets an Execution. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution does not exist</p> 101<p class="toc_element"> 102 <code><a href="#list">list(projectId, historyId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 103<p class="firstline">Lists Executions for a given History. The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist</p> 104<p class="toc_element"> 105 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 106<p class="firstline">Retrieves the next page of results.</p> 107<p class="toc_element"> 108 <code><a href="#patch">patch(projectId, historyId, executionId, body=None, requestId=None, x__xgafv=None)</a></code></p> 109<p class="firstline">Updates an existing Execution with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal - NOT_FOUND - if the containing History does not exist</p> 110<h3>Method Details</h3> 111<div class="method"> 112 <code class="details" id="close">close()</code> 113 <pre>Close httplib2 connections.</pre> 114</div> 115 116<div class="method"> 117 <code class="details" id="create">create(projectId, historyId, body=None, requestId=None, x__xgafv=None)</code> 118 <pre>Creates an Execution. The returned Execution will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist 119 120Args: 121 projectId: string, A Project id. Required. (required) 122 historyId: string, A History id. Required. (required) 123 body: object, The request body. 124 The object takes the form of: 125 126{ # 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 The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. 127 "completionTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set 128 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 129 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 130 }, 131 "creationTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set 132 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 133 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 134 }, 135 "dimensionDefinitions": [ # The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set 136 { # One dimension of the matrix of different runs of a step. 137 }, 138 ], 139 "executionId": "A String", # A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set 140 "outcome": { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional 141 "failureDetail": { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional 142 "crashed": True or False, # If the failure was severe because the system (app) under test crashed. 143 "deviceOutOfMemory": True or False, # If the device ran out of memory during a test, causing the test to crash. 144 "failedRoboscript": True or False, # If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. 145 "notInstalled": True or False, # If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. 146 "otherNativeCrash": True or False, # If a native process (including any other than the app) crashed. 147 "timedOut": True or False, # If the test overran some time limit, and that is why it failed. 148 "unableToCrawl": True or False, # If the robo was unable to crawl the app; perhaps because the app did not start. 149 }, 150 "inconclusiveDetail": { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional 151 "abortedByUser": True or False, # If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. 152 "hasErrorLogs": True or False, # If results are being provided to the user in certain cases of infrastructure failures 153 "infrastructureFailure": True or False, # If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. For example, a mobile test requires provisioning a device where the test executes, and that provisioning can fail. 154 }, 155 "skippedDetail": { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional 156 "incompatibleAppVersion": True or False, # If the App doesn't support the specific API level. 157 "incompatibleArchitecture": True or False, # If the App doesn't run on the specific architecture, for example, x86. 158 "incompatibleDevice": True or False, # If the requested OS version doesn't run on the specific device model. 159 }, 160 "successDetail": { # Details for an outcome with a SUCCESS outcome summary. LINT.IfChange # More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional 161 "otherNativeCrash": True or False, # If a native process other than the app crashed. 162 }, 163 "summary": "A String", # The simplest way to interpret a result. Required 164 }, 165 "specification": { # The details about how to run the execution. # Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional 166 "androidTest": { # An Android mobile test specification. # An Android mobile test execution specification. 167 "androidAppInfo": { # Android app information. # Information about the application under test. 168 "name": "A String", # The name of the app. Optional 169 "packageName": "A String", # The package name of the app. Required. 170 "versionCode": "A String", # The internal version code of the app. Optional. 171 "versionName": "A String", # The version name of the app. Optional. 172 }, 173 "androidInstrumentationTest": { # A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests. # An Android instrumentation test. 174 "testPackageId": "A String", # The java package for the test to be executed. Required 175 "testRunnerClass": "A String", # The InstrumentationTestRunner class. Required 176 "testTargets": [ # Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run. 177 "A String", 178 ], 179 "useOrchestrator": True or False, # The flag indicates whether Android Test Orchestrator will be used to run test or not. 180 }, 181 "androidRoboTest": { # A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes. # An Android robo test. 182 "appInitialActivity": "A String", # The initial activity that should be used to start the app. Optional 183 "bootstrapPackageId": "A String", # The java package for the bootstrap. Optional 184 "bootstrapRunnerClass": "A String", # The runner class for the bootstrap. Optional 185 "maxDepth": 42, # The max depth of the traversal stack Robo can explore. Optional 186 "maxSteps": 42, # The max number of steps/actions Robo can execute. Default is no limit (0). Optional 187 }, 188 "androidTestLoop": { # Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. # An Android test loop. 189 }, 190 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 191 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 192 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 193 }, 194 }, 195 "iosTest": { # A iOS mobile test specification # An iOS mobile test execution specification. 196 "iosAppInfo": { # iOS app information # Information about the application under test. 197 "name": "A String", # The name of the app. Required 198 }, 199 "iosRoboTest": { # A Robo test for an iOS application. # An iOS Robo test. 200 }, 201 "iosTestLoop": { # A game loop test of an iOS application. # An iOS test loop. 202 "bundleId": "A String", # Bundle ID of the app. 203 }, 204 "iosXcTest": { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest. 205 "bundleId": "A String", # Bundle ID of the app. 206 "xcodeVersion": "A String", # Xcode version that the test was run with. 207 }, 208 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 209 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 210 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 211 }, 212 }, 213 }, 214 "state": "A String", # The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional 215 "testExecutionMatrixId": "A String", # TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set 216} 217 218 requestId: string, A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. 219 x__xgafv: string, V1 error format. 220 Allowed values 221 1 - v1 error format 222 2 - v2 error format 223 224Returns: 225 An object of the form: 226 227 { # 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 The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. 228 "completionTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set 229 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 230 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 231 }, 232 "creationTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set 233 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 234 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 235 }, 236 "dimensionDefinitions": [ # The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set 237 { # One dimension of the matrix of different runs of a step. 238 }, 239 ], 240 "executionId": "A String", # A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set 241 "outcome": { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional 242 "failureDetail": { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional 243 "crashed": True or False, # If the failure was severe because the system (app) under test crashed. 244 "deviceOutOfMemory": True or False, # If the device ran out of memory during a test, causing the test to crash. 245 "failedRoboscript": True or False, # If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. 246 "notInstalled": True or False, # If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. 247 "otherNativeCrash": True or False, # If a native process (including any other than the app) crashed. 248 "timedOut": True or False, # If the test overran some time limit, and that is why it failed. 249 "unableToCrawl": True or False, # If the robo was unable to crawl the app; perhaps because the app did not start. 250 }, 251 "inconclusiveDetail": { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional 252 "abortedByUser": True or False, # If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. 253 "hasErrorLogs": True or False, # If results are being provided to the user in certain cases of infrastructure failures 254 "infrastructureFailure": True or False, # If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. For example, a mobile test requires provisioning a device where the test executes, and that provisioning can fail. 255 }, 256 "skippedDetail": { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional 257 "incompatibleAppVersion": True or False, # If the App doesn't support the specific API level. 258 "incompatibleArchitecture": True or False, # If the App doesn't run on the specific architecture, for example, x86. 259 "incompatibleDevice": True or False, # If the requested OS version doesn't run on the specific device model. 260 }, 261 "successDetail": { # Details for an outcome with a SUCCESS outcome summary. LINT.IfChange # More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional 262 "otherNativeCrash": True or False, # If a native process other than the app crashed. 263 }, 264 "summary": "A String", # The simplest way to interpret a result. Required 265 }, 266 "specification": { # The details about how to run the execution. # Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional 267 "androidTest": { # An Android mobile test specification. # An Android mobile test execution specification. 268 "androidAppInfo": { # Android app information. # Information about the application under test. 269 "name": "A String", # The name of the app. Optional 270 "packageName": "A String", # The package name of the app. Required. 271 "versionCode": "A String", # The internal version code of the app. Optional. 272 "versionName": "A String", # The version name of the app. Optional. 273 }, 274 "androidInstrumentationTest": { # A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests. # An Android instrumentation test. 275 "testPackageId": "A String", # The java package for the test to be executed. Required 276 "testRunnerClass": "A String", # The InstrumentationTestRunner class. Required 277 "testTargets": [ # Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run. 278 "A String", 279 ], 280 "useOrchestrator": True or False, # The flag indicates whether Android Test Orchestrator will be used to run test or not. 281 }, 282 "androidRoboTest": { # A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes. # An Android robo test. 283 "appInitialActivity": "A String", # The initial activity that should be used to start the app. Optional 284 "bootstrapPackageId": "A String", # The java package for the bootstrap. Optional 285 "bootstrapRunnerClass": "A String", # The runner class for the bootstrap. Optional 286 "maxDepth": 42, # The max depth of the traversal stack Robo can explore. Optional 287 "maxSteps": 42, # The max number of steps/actions Robo can execute. Default is no limit (0). Optional 288 }, 289 "androidTestLoop": { # Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. # An Android test loop. 290 }, 291 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 292 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 293 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 294 }, 295 }, 296 "iosTest": { # A iOS mobile test specification # An iOS mobile test execution specification. 297 "iosAppInfo": { # iOS app information # Information about the application under test. 298 "name": "A String", # The name of the app. Required 299 }, 300 "iosRoboTest": { # A Robo test for an iOS application. # An iOS Robo test. 301 }, 302 "iosTestLoop": { # A game loop test of an iOS application. # An iOS test loop. 303 "bundleId": "A String", # Bundle ID of the app. 304 }, 305 "iosXcTest": { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest. 306 "bundleId": "A String", # Bundle ID of the app. 307 "xcodeVersion": "A String", # Xcode version that the test was run with. 308 }, 309 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 310 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 311 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 312 }, 313 }, 314 }, 315 "state": "A String", # The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional 316 "testExecutionMatrixId": "A String", # TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set 317}</pre> 318</div> 319 320<div class="method"> 321 <code class="details" id="get">get(projectId, historyId, executionId, x__xgafv=None)</code> 322 <pre>Gets an Execution. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution does not exist 323 324Args: 325 projectId: string, A Project id. Required. (required) 326 historyId: string, A History id. Required. (required) 327 executionId: string, An Execution id. Required. (required) 328 x__xgafv: string, V1 error format. 329 Allowed values 330 1 - v1 error format 331 2 - v2 error format 332 333Returns: 334 An object of the form: 335 336 { # 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 The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. 337 "completionTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set 338 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 339 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 340 }, 341 "creationTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set 342 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 343 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 344 }, 345 "dimensionDefinitions": [ # The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set 346 { # One dimension of the matrix of different runs of a step. 347 }, 348 ], 349 "executionId": "A String", # A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set 350 "outcome": { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional 351 "failureDetail": { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional 352 "crashed": True or False, # If the failure was severe because the system (app) under test crashed. 353 "deviceOutOfMemory": True or False, # If the device ran out of memory during a test, causing the test to crash. 354 "failedRoboscript": True or False, # If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. 355 "notInstalled": True or False, # If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. 356 "otherNativeCrash": True or False, # If a native process (including any other than the app) crashed. 357 "timedOut": True or False, # If the test overran some time limit, and that is why it failed. 358 "unableToCrawl": True or False, # If the robo was unable to crawl the app; perhaps because the app did not start. 359 }, 360 "inconclusiveDetail": { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional 361 "abortedByUser": True or False, # If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. 362 "hasErrorLogs": True or False, # If results are being provided to the user in certain cases of infrastructure failures 363 "infrastructureFailure": True or False, # If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. For example, a mobile test requires provisioning a device where the test executes, and that provisioning can fail. 364 }, 365 "skippedDetail": { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional 366 "incompatibleAppVersion": True or False, # If the App doesn't support the specific API level. 367 "incompatibleArchitecture": True or False, # If the App doesn't run on the specific architecture, for example, x86. 368 "incompatibleDevice": True or False, # If the requested OS version doesn't run on the specific device model. 369 }, 370 "successDetail": { # Details for an outcome with a SUCCESS outcome summary. LINT.IfChange # More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional 371 "otherNativeCrash": True or False, # If a native process other than the app crashed. 372 }, 373 "summary": "A String", # The simplest way to interpret a result. Required 374 }, 375 "specification": { # The details about how to run the execution. # Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional 376 "androidTest": { # An Android mobile test specification. # An Android mobile test execution specification. 377 "androidAppInfo": { # Android app information. # Information about the application under test. 378 "name": "A String", # The name of the app. Optional 379 "packageName": "A String", # The package name of the app. Required. 380 "versionCode": "A String", # The internal version code of the app. Optional. 381 "versionName": "A String", # The version name of the app. Optional. 382 }, 383 "androidInstrumentationTest": { # A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests. # An Android instrumentation test. 384 "testPackageId": "A String", # The java package for the test to be executed. Required 385 "testRunnerClass": "A String", # The InstrumentationTestRunner class. Required 386 "testTargets": [ # Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run. 387 "A String", 388 ], 389 "useOrchestrator": True or False, # The flag indicates whether Android Test Orchestrator will be used to run test or not. 390 }, 391 "androidRoboTest": { # A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes. # An Android robo test. 392 "appInitialActivity": "A String", # The initial activity that should be used to start the app. Optional 393 "bootstrapPackageId": "A String", # The java package for the bootstrap. Optional 394 "bootstrapRunnerClass": "A String", # The runner class for the bootstrap. Optional 395 "maxDepth": 42, # The max depth of the traversal stack Robo can explore. Optional 396 "maxSteps": 42, # The max number of steps/actions Robo can execute. Default is no limit (0). Optional 397 }, 398 "androidTestLoop": { # Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. # An Android test loop. 399 }, 400 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 401 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 402 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 403 }, 404 }, 405 "iosTest": { # A iOS mobile test specification # An iOS mobile test execution specification. 406 "iosAppInfo": { # iOS app information # Information about the application under test. 407 "name": "A String", # The name of the app. Required 408 }, 409 "iosRoboTest": { # A Robo test for an iOS application. # An iOS Robo test. 410 }, 411 "iosTestLoop": { # A game loop test of an iOS application. # An iOS test loop. 412 "bundleId": "A String", # Bundle ID of the app. 413 }, 414 "iosXcTest": { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest. 415 "bundleId": "A String", # Bundle ID of the app. 416 "xcodeVersion": "A String", # Xcode version that the test was run with. 417 }, 418 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 419 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 420 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 421 }, 422 }, 423 }, 424 "state": "A String", # The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional 425 "testExecutionMatrixId": "A String", # TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set 426}</pre> 427</div> 428 429<div class="method"> 430 <code class="details" id="list">list(projectId, historyId, pageSize=None, pageToken=None, x__xgafv=None)</code> 431 <pre>Lists Executions for a given History. The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist 432 433Args: 434 projectId: string, A Project id. Required. (required) 435 historyId: string, A History id. Required. (required) 436 pageSize: integer, The maximum number of Executions to fetch. Default value: 25. The server will use this default if the field is not set or has a value of 0. Optional. 437 pageToken: string, A continuation token to resume the query at the next item. Optional. 438 x__xgafv: string, V1 error format. 439 Allowed values 440 1 - v1 error format 441 2 - v2 error format 442 443Returns: 444 An object of the form: 445 446 { 447 "executions": [ # Executions. Always set. 448 { # 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 The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. 449 "completionTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set 450 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 451 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 452 }, 453 "creationTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set 454 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 455 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 456 }, 457 "dimensionDefinitions": [ # The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set 458 { # One dimension of the matrix of different runs of a step. 459 }, 460 ], 461 "executionId": "A String", # A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set 462 "outcome": { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional 463 "failureDetail": { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional 464 "crashed": True or False, # If the failure was severe because the system (app) under test crashed. 465 "deviceOutOfMemory": True or False, # If the device ran out of memory during a test, causing the test to crash. 466 "failedRoboscript": True or False, # If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. 467 "notInstalled": True or False, # If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. 468 "otherNativeCrash": True or False, # If a native process (including any other than the app) crashed. 469 "timedOut": True or False, # If the test overran some time limit, and that is why it failed. 470 "unableToCrawl": True or False, # If the robo was unable to crawl the app; perhaps because the app did not start. 471 }, 472 "inconclusiveDetail": { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional 473 "abortedByUser": True or False, # If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. 474 "hasErrorLogs": True or False, # If results are being provided to the user in certain cases of infrastructure failures 475 "infrastructureFailure": True or False, # If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. For example, a mobile test requires provisioning a device where the test executes, and that provisioning can fail. 476 }, 477 "skippedDetail": { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional 478 "incompatibleAppVersion": True or False, # If the App doesn't support the specific API level. 479 "incompatibleArchitecture": True or False, # If the App doesn't run on the specific architecture, for example, x86. 480 "incompatibleDevice": True or False, # If the requested OS version doesn't run on the specific device model. 481 }, 482 "successDetail": { # Details for an outcome with a SUCCESS outcome summary. LINT.IfChange # More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional 483 "otherNativeCrash": True or False, # If a native process other than the app crashed. 484 }, 485 "summary": "A String", # The simplest way to interpret a result. Required 486 }, 487 "specification": { # The details about how to run the execution. # Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional 488 "androidTest": { # An Android mobile test specification. # An Android mobile test execution specification. 489 "androidAppInfo": { # Android app information. # Information about the application under test. 490 "name": "A String", # The name of the app. Optional 491 "packageName": "A String", # The package name of the app. Required. 492 "versionCode": "A String", # The internal version code of the app. Optional. 493 "versionName": "A String", # The version name of the app. Optional. 494 }, 495 "androidInstrumentationTest": { # A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests. # An Android instrumentation test. 496 "testPackageId": "A String", # The java package for the test to be executed. Required 497 "testRunnerClass": "A String", # The InstrumentationTestRunner class. Required 498 "testTargets": [ # Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run. 499 "A String", 500 ], 501 "useOrchestrator": True or False, # The flag indicates whether Android Test Orchestrator will be used to run test or not. 502 }, 503 "androidRoboTest": { # A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes. # An Android robo test. 504 "appInitialActivity": "A String", # The initial activity that should be used to start the app. Optional 505 "bootstrapPackageId": "A String", # The java package for the bootstrap. Optional 506 "bootstrapRunnerClass": "A String", # The runner class for the bootstrap. Optional 507 "maxDepth": 42, # The max depth of the traversal stack Robo can explore. Optional 508 "maxSteps": 42, # The max number of steps/actions Robo can execute. Default is no limit (0). Optional 509 }, 510 "androidTestLoop": { # Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. # An Android test loop. 511 }, 512 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 513 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 514 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 515 }, 516 }, 517 "iosTest": { # A iOS mobile test specification # An iOS mobile test execution specification. 518 "iosAppInfo": { # iOS app information # Information about the application under test. 519 "name": "A String", # The name of the app. Required 520 }, 521 "iosRoboTest": { # A Robo test for an iOS application. # An iOS Robo test. 522 }, 523 "iosTestLoop": { # A game loop test of an iOS application. # An iOS test loop. 524 "bundleId": "A String", # Bundle ID of the app. 525 }, 526 "iosXcTest": { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest. 527 "bundleId": "A String", # Bundle ID of the app. 528 "xcodeVersion": "A String", # Xcode version that the test was run with. 529 }, 530 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 531 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 532 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 533 }, 534 }, 535 }, 536 "state": "A String", # The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional 537 "testExecutionMatrixId": "A String", # TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set 538 }, 539 ], 540 "nextPageToken": "A String", # A continuation token to resume the query at the next item. Will only be set if there are more Executions to fetch. 541}</pre> 542</div> 543 544<div class="method"> 545 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 546 <pre>Retrieves the next page of results. 547 548Args: 549 previous_request: The request for the previous page. (required) 550 previous_response: The response from the request for the previous page. (required) 551 552Returns: 553 A request object that you can call 'execute()' on to request the next 554 page. Returns None if there are no more items in the collection. 555 </pre> 556</div> 557 558<div class="method"> 559 <code class="details" id="patch">patch(projectId, historyId, executionId, body=None, requestId=None, x__xgafv=None)</code> 560 <pre>Updates an existing Execution with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal - NOT_FOUND - if the containing History does not exist 561 562Args: 563 projectId: string, A Project id. Required. (required) 564 historyId: string, Required. (required) 565 executionId: string, Required. (required) 566 body: object, The request body. 567 The object takes the form of: 568 569{ # 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 The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. 570 "completionTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set 571 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 572 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 573 }, 574 "creationTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set 575 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 576 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 577 }, 578 "dimensionDefinitions": [ # The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set 579 { # One dimension of the matrix of different runs of a step. 580 }, 581 ], 582 "executionId": "A String", # A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set 583 "outcome": { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional 584 "failureDetail": { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional 585 "crashed": True or False, # If the failure was severe because the system (app) under test crashed. 586 "deviceOutOfMemory": True or False, # If the device ran out of memory during a test, causing the test to crash. 587 "failedRoboscript": True or False, # If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. 588 "notInstalled": True or False, # If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. 589 "otherNativeCrash": True or False, # If a native process (including any other than the app) crashed. 590 "timedOut": True or False, # If the test overran some time limit, and that is why it failed. 591 "unableToCrawl": True or False, # If the robo was unable to crawl the app; perhaps because the app did not start. 592 }, 593 "inconclusiveDetail": { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional 594 "abortedByUser": True or False, # If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. 595 "hasErrorLogs": True or False, # If results are being provided to the user in certain cases of infrastructure failures 596 "infrastructureFailure": True or False, # If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. For example, a mobile test requires provisioning a device where the test executes, and that provisioning can fail. 597 }, 598 "skippedDetail": { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional 599 "incompatibleAppVersion": True or False, # If the App doesn't support the specific API level. 600 "incompatibleArchitecture": True or False, # If the App doesn't run on the specific architecture, for example, x86. 601 "incompatibleDevice": True or False, # If the requested OS version doesn't run on the specific device model. 602 }, 603 "successDetail": { # Details for an outcome with a SUCCESS outcome summary. LINT.IfChange # More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional 604 "otherNativeCrash": True or False, # If a native process other than the app crashed. 605 }, 606 "summary": "A String", # The simplest way to interpret a result. Required 607 }, 608 "specification": { # The details about how to run the execution. # Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional 609 "androidTest": { # An Android mobile test specification. # An Android mobile test execution specification. 610 "androidAppInfo": { # Android app information. # Information about the application under test. 611 "name": "A String", # The name of the app. Optional 612 "packageName": "A String", # The package name of the app. Required. 613 "versionCode": "A String", # The internal version code of the app. Optional. 614 "versionName": "A String", # The version name of the app. Optional. 615 }, 616 "androidInstrumentationTest": { # A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests. # An Android instrumentation test. 617 "testPackageId": "A String", # The java package for the test to be executed. Required 618 "testRunnerClass": "A String", # The InstrumentationTestRunner class. Required 619 "testTargets": [ # Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run. 620 "A String", 621 ], 622 "useOrchestrator": True or False, # The flag indicates whether Android Test Orchestrator will be used to run test or not. 623 }, 624 "androidRoboTest": { # A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes. # An Android robo test. 625 "appInitialActivity": "A String", # The initial activity that should be used to start the app. Optional 626 "bootstrapPackageId": "A String", # The java package for the bootstrap. Optional 627 "bootstrapRunnerClass": "A String", # The runner class for the bootstrap. Optional 628 "maxDepth": 42, # The max depth of the traversal stack Robo can explore. Optional 629 "maxSteps": 42, # The max number of steps/actions Robo can execute. Default is no limit (0). Optional 630 }, 631 "androidTestLoop": { # Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. # An Android test loop. 632 }, 633 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 634 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 635 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 636 }, 637 }, 638 "iosTest": { # A iOS mobile test specification # An iOS mobile test execution specification. 639 "iosAppInfo": { # iOS app information # Information about the application under test. 640 "name": "A String", # The name of the app. Required 641 }, 642 "iosRoboTest": { # A Robo test for an iOS application. # An iOS Robo test. 643 }, 644 "iosTestLoop": { # A game loop test of an iOS application. # An iOS test loop. 645 "bundleId": "A String", # Bundle ID of the app. 646 }, 647 "iosXcTest": { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest. 648 "bundleId": "A String", # Bundle ID of the app. 649 "xcodeVersion": "A String", # Xcode version that the test was run with. 650 }, 651 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 652 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 653 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 654 }, 655 }, 656 }, 657 "state": "A String", # The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional 658 "testExecutionMatrixId": "A String", # TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set 659} 660 661 requestId: string, A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. 662 x__xgafv: string, V1 error format. 663 Allowed values 664 1 - v1 error format 665 2 - v2 error format 666 667Returns: 668 An object of the form: 669 670 { # 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 The maximum size of an execution message is 1 MiB. An Execution can be updated until its state is set to COMPLETE at which point it becomes immutable. 671 "completionTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set 672 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 673 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 674 }, 675 "creationTime": { # A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set 676 "nanos": 42, # Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. 677 "seconds": "A String", # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. 678 }, 679 "dimensionDefinitions": [ # The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set 680 { # One dimension of the matrix of different runs of a step. 681 }, 682 ], 683 "executionId": "A String", # A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set 684 "outcome": { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional 685 "failureDetail": { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional 686 "crashed": True or False, # If the failure was severe because the system (app) under test crashed. 687 "deviceOutOfMemory": True or False, # If the device ran out of memory during a test, causing the test to crash. 688 "failedRoboscript": True or False, # If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. 689 "notInstalled": True or False, # If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. 690 "otherNativeCrash": True or False, # If a native process (including any other than the app) crashed. 691 "timedOut": True or False, # If the test overran some time limit, and that is why it failed. 692 "unableToCrawl": True or False, # If the robo was unable to crawl the app; perhaps because the app did not start. 693 }, 694 "inconclusiveDetail": { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional 695 "abortedByUser": True or False, # If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test was running. 696 "hasErrorLogs": True or False, # If results are being provided to the user in certain cases of infrastructure failures 697 "infrastructureFailure": True or False, # If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. For example, a mobile test requires provisioning a device where the test executes, and that provisioning can fail. 698 }, 699 "skippedDetail": { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional 700 "incompatibleAppVersion": True or False, # If the App doesn't support the specific API level. 701 "incompatibleArchitecture": True or False, # If the App doesn't run on the specific architecture, for example, x86. 702 "incompatibleDevice": True or False, # If the requested OS version doesn't run on the specific device model. 703 }, 704 "successDetail": { # Details for an outcome with a SUCCESS outcome summary. LINT.IfChange # More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional 705 "otherNativeCrash": True or False, # If a native process other than the app crashed. 706 }, 707 "summary": "A String", # The simplest way to interpret a result. Required 708 }, 709 "specification": { # The details about how to run the execution. # Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional 710 "androidTest": { # An Android mobile test specification. # An Android mobile test execution specification. 711 "androidAppInfo": { # Android app information. # Information about the application under test. 712 "name": "A String", # The name of the app. Optional 713 "packageName": "A String", # The package name of the app. Required. 714 "versionCode": "A String", # The internal version code of the app. Optional. 715 "versionName": "A String", # The version name of the app. Optional. 716 }, 717 "androidInstrumentationTest": { # A test of an Android application that can control an Android component independently of its normal lifecycle. See for more information on types of Android tests. # An Android instrumentation test. 718 "testPackageId": "A String", # The java package for the test to be executed. Required 719 "testRunnerClass": "A String", # The InstrumentationTestRunner class. Required 720 "testTargets": [ # Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class package_name.class_name#method_name" If empty, all targets in the module will be run. 721 "A String", 722 ], 723 "useOrchestrator": True or False, # The flag indicates whether Android Test Orchestrator will be used to run test or not. 724 }, 725 "androidRoboTest": { # A test of an android application that explores the application on a virtual or physical Android device, finding culprits and crashes as it goes. # An Android robo test. 726 "appInitialActivity": "A String", # The initial activity that should be used to start the app. Optional 727 "bootstrapPackageId": "A String", # The java package for the bootstrap. Optional 728 "bootstrapRunnerClass": "A String", # The runner class for the bootstrap. Optional 729 "maxDepth": 42, # The max depth of the traversal stack Robo can explore. Optional 730 "maxSteps": 42, # The max number of steps/actions Robo can execute. Default is no limit (0). Optional 731 }, 732 "androidTestLoop": { # Test Loops are tests that can be launched by the app itself, determining when to run by listening for an intent. # An Android test loop. 733 }, 734 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 735 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 736 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 737 }, 738 }, 739 "iosTest": { # A iOS mobile test specification # An iOS mobile test execution specification. 740 "iosAppInfo": { # iOS app information # Information about the application under test. 741 "name": "A String", # The name of the app. Required 742 }, 743 "iosRoboTest": { # A Robo test for an iOS application. # An iOS Robo test. 744 }, 745 "iosTestLoop": { # A game loop test of an iOS application. # An iOS test loop. 746 "bundleId": "A String", # Bundle ID of the app. 747 }, 748 "iosXcTest": { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest. 749 "bundleId": "A String", # Bundle ID of the app. 750 "xcodeVersion": "A String", # Xcode version that the test was run with. 751 }, 752 "testTimeout": { # 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. # Max time a test is allowed to run before it is automatically cancelled. 753 "nanos": 42, # Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. 754 "seconds": "A String", # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years 755 }, 756 }, 757 }, 758 "state": "A String", # The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional 759 "testExecutionMatrixId": "A String", # TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set 760}</pre> 761</div> 762 763</body></html>