blob: 1fe82b4ffffbeab68603fab2487b514ec0d7f98b [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<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.executions.html">executions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(projectId, historyId, body=None, requestId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Creates an Execution.</p>
80<p class="toc_element">
81 <code><a href="#get">get(projectId, historyId, executionId, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets an Execution.</p>
83<p class="toc_element">
84 <code><a href="#list">list(projectId, historyId, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Lists Executions for a given History.</p>
86<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
90 <code><a href="#patch">patch(projectId, historyId, executionId, body=None, requestId=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Updates an existing Execution with the supplied partial entity.</p>
92<h3>Method Details</h3>
93<div class="method">
94 <code class="details" id="create">create(projectId, historyId, body=None, requestId=None, x__xgafv=None)</code>
95 <pre>Creates an Execution.
96
97The returned Execution will have the id set.
98
99May return any of the following canonical error codes:
100
101- PERMISSION_DENIED - if the user is not authorized to write to project
102- INVALID_ARGUMENT - if the request is malformed
103- NOT_FOUND - if the containing History does not exist
104
105Args:
106 projectId: string, A Project id.
107
108Required. (required)
109 historyId: string, A History id.
110
111Required. (required)
112 body: object, The request body.
113 The object takes the form of:
114
115{ # An Execution represents a collection of Steps. For instance, it could
116 # represent:
117 # - a mobile test executed across a range of device configurations
118 # - a jenkins job with a build step followed by a test step
119 #
120 # The maximum size of an execution message is 1 MiB.
121 #
122 # An Execution can be updated until its state is set to COMPLETE at which
123 # point it becomes immutable.
124 &quot;completionTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution status transitioned to COMPLETE.
125 #
126 # This value will be set automatically when state transitions to
127 # COMPLETE.
128 #
129 # - In response: set if the execution state is COMPLETE.
130 # - In create/update request: never set
131 # calendar, encoded as a count of seconds and fractions of seconds at
132 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
133 # January 1, 1970, in the proleptic Gregorian calendar which extends the
134 # Gregorian calendar backwards to year one.
135 #
136 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
137 # second table is needed for interpretation, using a [24-hour linear
138 # smear](https://developers.google.com/time/smear).
139 #
140 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
141 # restricting to that range, we ensure that we can convert to and from [RFC
142 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
143 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
144 # second values with fractions must still have non-negative nanos values
145 # that count forward in time. Must be from 0 to 999,999,999
146 # inclusive.
147 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
148 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
149 # 9999-12-31T23:59:59Z inclusive.
150 },
151 &quot;executionId&quot;: &quot;A String&quot;, # A unique identifier within a History for this Execution.
152 #
153 # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
154 #
155 # - In response always set
156 # - In create/update request: never set
157 &quot;outcome&quot;: { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE
158 #
159 # - In response: present if set by create/update request
160 # - In create/update request: optional
161 &quot;summary&quot;: &quot;A String&quot;, # The simplest way to interpret a result.
162 #
163 # Required
164 &quot;failureDetail&quot;: { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome.
165 #
166 # Returns INVALID_ARGUMENT if this field is set
167 # but the summary is not FAILURE.
168 #
169 # Optional
170 &quot;unableToCrawl&quot;: True or False, # If the robo was unable to crawl the app; perhaps because the app did not
171 # start.
172 &quot;notInstalled&quot;: True or False, # If an app is not installed and thus no test can be run with the app.
173 # This might be caused by trying to run a test on an unsupported platform.
174 &quot;timedOut&quot;: True or False, # If the test overran some time limit, and that is why it failed.
175 &quot;otherNativeCrash&quot;: True or False, # If a native process (including any other than the app) crashed.
176 &quot;crashed&quot;: True or False, # If the failure was severe because the system (app) under test crashed.
177 },
178 &quot;inconclusiveDetail&quot;: { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome.
179 #
180 # Returns INVALID_ARGUMENT if this field is set
181 # but the summary is not INCONCLUSIVE.
182 #
183 # Optional
184 &quot;hasErrorLogs&quot;: True or False, # If results are being provided to the user in certain cases of
185 # infrastructure failures
186 &quot;infrastructureFailure&quot;: True or False, # If the test runner could not determine success or failure because the test
187 # depends on a component other than the system under test which failed.
188 #
189 # For example, a mobile test requires provisioning a device where the test
190 # executes, and that provisioning can fail.
191 &quot;abortedByUser&quot;: True or False, # If the end user aborted the test execution before a pass or fail could be
192 # determined.
193 # For example, the user pressed ctrl-c which sent a kill signal to the test
194 # runner while the test was running.
195 },
196 &quot;successDetail&quot;: { # Details for an outcome with a SUCCESS outcome summary. # More information about a SUCCESS outcome.
197 #
198 # Returns INVALID_ARGUMENT if this field is set
199 # but the summary is not SUCCESS.
200 #
201 # Optional
202 # LINT.IfChange
203 &quot;otherNativeCrash&quot;: True or False, # If a native process other than the app crashed.
204 },
205 &quot;skippedDetail&quot;: { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome.
206 #
207 # Returns INVALID_ARGUMENT if this field is set
208 # but the summary is not SKIPPED.
209 #
210 # Optional
211 &quot;incompatibleAppVersion&quot;: True or False, # If the App doesn&#x27;t support the specific API level.
212 &quot;incompatibleDevice&quot;: True or False, # If the requested OS version doesn&#x27;t run on the specific device model.
213 &quot;incompatibleArchitecture&quot;: True or False, # If the App doesn&#x27;t run on the specific architecture, for example, x86.
214 },
215 },
216 &quot;specification&quot;: { # The details about how to run the execution. # Lightweight information about execution request.
217 #
218 # - In response: present if set by create
219 # - In create: optional
220 # - In update: optional
221 &quot;iosTest&quot;: { # A iOS mobile test specification # An iOS mobile test execution specification.
222 &quot;iosAppInfo&quot;: { # iOS app information # Information about the application under test.
223 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
224 # Required
225 },
226 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
227 # automatically cancelled.
228 # A Duration represents a signed, fixed-length span of time represented
229 # as a count of seconds and fractions of seconds at nanosecond
230 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
231 # or &quot;month&quot;. It is related to Timestamp in that the difference between
232 # two Timestamp values is a Duration and it can be added or subtracted
233 # from a Timestamp. Range is approximately +-10,000 years.
234 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
235 # of time. Durations less than one second are represented with a 0
236 # `seconds` field and a positive or negative `nanos` field. For durations
237 # of one second or more, a non-zero value for the `nanos` field must be
238 # of the same sign as the `seconds` field. Must be from -999,999,999
239 # to +999,999,999 inclusive.
240 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
241 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
242 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
243 },
244 &quot;iosRoboTest&quot;: { # A Robo test for an iOS application. # An iOS Robo test.
245 },
246 &quot;iosXcTest&quot;: { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest.
247 &quot;xcodeVersion&quot;: &quot;A String&quot;, # Xcode version that the test was run with.
248 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
249 },
250 &quot;iosTestLoop&quot;: { # A game loop test of an iOS application. # An iOS test loop.
251 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
252 },
253 },
254 &quot;androidTest&quot;: { # An Android mobile test specification. # An Android mobile test execution specification.
255 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
256 # automatically cancelled.
257 # A Duration represents a signed, fixed-length span of time represented
258 # as a count of seconds and fractions of seconds at nanosecond
259 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
260 # or &quot;month&quot;. It is related to Timestamp in that the difference between
261 # two Timestamp values is a Duration and it can be added or subtracted
262 # from a Timestamp. Range is approximately +-10,000 years.
263 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
264 # of time. Durations less than one second are represented with a 0
265 # `seconds` field and a positive or negative `nanos` field. For durations
266 # of one second or more, a non-zero value for the `nanos` field must be
267 # of the same sign as the `seconds` field. Must be from -999,999,999
268 # to +999,999,999 inclusive.
269 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
270 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
271 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
272 },
273 &quot;androidRoboTest&quot;: { # A test of an android application that explores the application on a virtual # An Android robo test.
274 # or physical Android device, finding culprits and crashes as it goes.
275 &quot;appInitialActivity&quot;: &quot;A String&quot;, # The initial activity that should be used to start the app.
276 # Optional
277 &quot;bootstrapRunnerClass&quot;: &quot;A String&quot;, # The runner class for the bootstrap.
278 # Optional
279 &quot;maxSteps&quot;: 42, # The max number of steps/actions Robo can execute.
280 # Default is no limit (0).
281 # Optional
282 &quot;maxDepth&quot;: 42, # The max depth of the traversal stack Robo can explore.
283 # Optional
284 &quot;bootstrapPackageId&quot;: &quot;A String&quot;, # The java package for the bootstrap.
285 # Optional
286 },
287 &quot;androidTestLoop&quot;: { # Test Loops are tests that can be launched by the app itself, determining # An Android test loop.
288 # when to run by listening for an intent.
289 },
290 &quot;androidAppInfo&quot;: { # Android app information. # Information about the application under test.
291 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
292 # Optional
293 &quot;packageName&quot;: &quot;A String&quot;, # The package name of the app.
294 # Required.
295 &quot;versionName&quot;: &quot;A String&quot;, # The version name of the app.
296 # Optional.
297 &quot;versionCode&quot;: &quot;A String&quot;, # The internal version code of the app.
298 # Optional.
299 },
300 &quot;androidInstrumentationTest&quot;: { # A test of an Android application that can control an Android component # An Android instrumentation test.
301 # independently of its normal lifecycle.
302 #
303 # See &lt;http://developer.android.com/tools/testing/testing_android.html&gt; for
304 # more information on types of Android tests.
305 &quot;testPackageId&quot;: &quot;A String&quot;, # The java package for the test to be executed.
306 # Required
307 &quot;testTargets&quot;: [ # Each target must be fully qualified with the package name or class name,
308 # in one of these formats:
309 # - &quot;package package_name&quot;
310 # - &quot;class package_name.class_name&quot;
311 # - &quot;class package_name.class_name#method_name&quot;
312 #
313 # If empty, all targets in the module will be run.
314 &quot;A String&quot;,
315 ],
316 &quot;useOrchestrator&quot;: True or False, # The flag indicates whether Android Test Orchestrator will be used to run
317 # test or not.
318 &quot;testRunnerClass&quot;: &quot;A String&quot;, # The InstrumentationTestRunner class.
319 # Required
320 },
321 },
322 },
323 &quot;creationTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution was created.
324 #
325 # This value will be set automatically when CreateExecution is called.
326 #
327 # - In response: always set
328 # - In create/update request: never set
329 # calendar, encoded as a count of seconds and fractions of seconds at
330 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
331 # January 1, 1970, in the proleptic Gregorian calendar which extends the
332 # Gregorian calendar backwards to year one.
333 #
334 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
335 # second table is needed for interpretation, using a [24-hour linear
336 # smear](https://developers.google.com/time/smear).
337 #
338 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
339 # restricting to that range, we ensure that we can convert to and from [RFC
340 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
341 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
342 # second values with fractions must still have non-negative nanos values
343 # that count forward in time. Must be from 0 to 999,999,999
344 # inclusive.
345 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
346 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
347 # 9999-12-31T23:59:59Z inclusive.
348 },
349 &quot;dimensionDefinitions&quot;: [ # The dimensions along which different steps in this execution may vary.
350 # This must remain fixed over the life of the execution.
351 #
352 # Returns INVALID_ARGUMENT if this field is set in an update request.
353 #
354 # Returns INVALID_ARGUMENT if the same name occurs in more than one
355 # dimension_definition.
356 #
357 # Returns INVALID_ARGUMENT if the size of the list is over 100.
358 #
359 # - In response: present if set by create
360 # - In create request: optional
361 # - In update request: never set
362 { # One dimension of the matrix of different runs of a step.
363 },
364 ],
365 &quot;testExecutionMatrixId&quot;: &quot;A String&quot;, # TestExecution Matrix ID that the TestExecutionService uses.
366 #
367 # - In response: present if set by create
368 # - In create: optional
369 # - In update: never set
370 &quot;state&quot;: &quot;A String&quot;, # The initial state is IN_PROGRESS.
371 #
372 # The only legal state transitions is from IN_PROGRESS to COMPLETE.
373 #
374 # A PRECONDITION_FAILED will be returned if an invalid transition is
375 # requested.
376 #
377 # The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be
378 # returned if the state is set to COMPLETE multiple times.
379 #
380 # If the state is set to COMPLETE, all the in-progress steps within the
381 # execution will be set as COMPLETE. If the outcome of the step is not set,
382 # the outcome will be set to INCONCLUSIVE.
383 #
384 # - In response always set
385 # - In create/update request: optional
386}
387
388 requestId: string, A unique request ID for server to detect duplicated requests.
389For example, a UUID.
390
391Optional, but strongly recommended.
392 x__xgafv: string, V1 error format.
393 Allowed values
394 1 - v1 error format
395 2 - v2 error format
396
397Returns:
398 An object of the form:
399
400 { # An Execution represents a collection of Steps. For instance, it could
401 # represent:
402 # - a mobile test executed across a range of device configurations
403 # - a jenkins job with a build step followed by a test step
404 #
405 # The maximum size of an execution message is 1 MiB.
406 #
407 # An Execution can be updated until its state is set to COMPLETE at which
408 # point it becomes immutable.
409 &quot;completionTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution status transitioned to COMPLETE.
410 #
411 # This value will be set automatically when state transitions to
412 # COMPLETE.
413 #
414 # - In response: set if the execution state is COMPLETE.
415 # - In create/update request: never set
416 # calendar, encoded as a count of seconds and fractions of seconds at
417 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
418 # January 1, 1970, in the proleptic Gregorian calendar which extends the
419 # Gregorian calendar backwards to year one.
420 #
421 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
422 # second table is needed for interpretation, using a [24-hour linear
423 # smear](https://developers.google.com/time/smear).
424 #
425 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
426 # restricting to that range, we ensure that we can convert to and from [RFC
427 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
428 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
429 # second values with fractions must still have non-negative nanos values
430 # that count forward in time. Must be from 0 to 999,999,999
431 # inclusive.
432 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
433 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
434 # 9999-12-31T23:59:59Z inclusive.
435 },
436 &quot;executionId&quot;: &quot;A String&quot;, # A unique identifier within a History for this Execution.
437 #
438 # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
439 #
440 # - In response always set
441 # - In create/update request: never set
442 &quot;outcome&quot;: { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE
443 #
444 # - In response: present if set by create/update request
445 # - In create/update request: optional
446 &quot;summary&quot;: &quot;A String&quot;, # The simplest way to interpret a result.
447 #
448 # Required
449 &quot;failureDetail&quot;: { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome.
450 #
451 # Returns INVALID_ARGUMENT if this field is set
452 # but the summary is not FAILURE.
453 #
454 # Optional
455 &quot;unableToCrawl&quot;: True or False, # If the robo was unable to crawl the app; perhaps because the app did not
456 # start.
457 &quot;notInstalled&quot;: True or False, # If an app is not installed and thus no test can be run with the app.
458 # This might be caused by trying to run a test on an unsupported platform.
459 &quot;timedOut&quot;: True or False, # If the test overran some time limit, and that is why it failed.
460 &quot;otherNativeCrash&quot;: True or False, # If a native process (including any other than the app) crashed.
461 &quot;crashed&quot;: True or False, # If the failure was severe because the system (app) under test crashed.
462 },
463 &quot;inconclusiveDetail&quot;: { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome.
464 #
465 # Returns INVALID_ARGUMENT if this field is set
466 # but the summary is not INCONCLUSIVE.
467 #
468 # Optional
469 &quot;hasErrorLogs&quot;: True or False, # If results are being provided to the user in certain cases of
470 # infrastructure failures
471 &quot;infrastructureFailure&quot;: True or False, # If the test runner could not determine success or failure because the test
472 # depends on a component other than the system under test which failed.
473 #
474 # For example, a mobile test requires provisioning a device where the test
475 # executes, and that provisioning can fail.
476 &quot;abortedByUser&quot;: True or False, # If the end user aborted the test execution before a pass or fail could be
477 # determined.
478 # For example, the user pressed ctrl-c which sent a kill signal to the test
479 # runner while the test was running.
480 },
481 &quot;successDetail&quot;: { # Details for an outcome with a SUCCESS outcome summary. # More information about a SUCCESS outcome.
482 #
483 # Returns INVALID_ARGUMENT if this field is set
484 # but the summary is not SUCCESS.
485 #
486 # Optional
487 # LINT.IfChange
488 &quot;otherNativeCrash&quot;: True or False, # If a native process other than the app crashed.
489 },
490 &quot;skippedDetail&quot;: { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome.
491 #
492 # Returns INVALID_ARGUMENT if this field is set
493 # but the summary is not SKIPPED.
494 #
495 # Optional
496 &quot;incompatibleAppVersion&quot;: True or False, # If the App doesn&#x27;t support the specific API level.
497 &quot;incompatibleDevice&quot;: True or False, # If the requested OS version doesn&#x27;t run on the specific device model.
498 &quot;incompatibleArchitecture&quot;: True or False, # If the App doesn&#x27;t run on the specific architecture, for example, x86.
499 },
500 },
501 &quot;specification&quot;: { # The details about how to run the execution. # Lightweight information about execution request.
502 #
503 # - In response: present if set by create
504 # - In create: optional
505 # - In update: optional
506 &quot;iosTest&quot;: { # A iOS mobile test specification # An iOS mobile test execution specification.
507 &quot;iosAppInfo&quot;: { # iOS app information # Information about the application under test.
508 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
509 # Required
510 },
511 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
512 # automatically cancelled.
513 # A Duration represents a signed, fixed-length span of time represented
514 # as a count of seconds and fractions of seconds at nanosecond
515 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
516 # or &quot;month&quot;. It is related to Timestamp in that the difference between
517 # two Timestamp values is a Duration and it can be added or subtracted
518 # from a Timestamp. Range is approximately +-10,000 years.
519 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
520 # of time. Durations less than one second are represented with a 0
521 # `seconds` field and a positive or negative `nanos` field. For durations
522 # of one second or more, a non-zero value for the `nanos` field must be
523 # of the same sign as the `seconds` field. Must be from -999,999,999
524 # to +999,999,999 inclusive.
525 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
526 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
527 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
528 },
529 &quot;iosRoboTest&quot;: { # A Robo test for an iOS application. # An iOS Robo test.
530 },
531 &quot;iosXcTest&quot;: { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest.
532 &quot;xcodeVersion&quot;: &quot;A String&quot;, # Xcode version that the test was run with.
533 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
534 },
535 &quot;iosTestLoop&quot;: { # A game loop test of an iOS application. # An iOS test loop.
536 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
537 },
538 },
539 &quot;androidTest&quot;: { # An Android mobile test specification. # An Android mobile test execution specification.
540 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
541 # automatically cancelled.
542 # A Duration represents a signed, fixed-length span of time represented
543 # as a count of seconds and fractions of seconds at nanosecond
544 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
545 # or &quot;month&quot;. It is related to Timestamp in that the difference between
546 # two Timestamp values is a Duration and it can be added or subtracted
547 # from a Timestamp. Range is approximately +-10,000 years.
548 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
549 # of time. Durations less than one second are represented with a 0
550 # `seconds` field and a positive or negative `nanos` field. For durations
551 # of one second or more, a non-zero value for the `nanos` field must be
552 # of the same sign as the `seconds` field. Must be from -999,999,999
553 # to +999,999,999 inclusive.
554 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
555 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
556 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
557 },
558 &quot;androidRoboTest&quot;: { # A test of an android application that explores the application on a virtual # An Android robo test.
559 # or physical Android device, finding culprits and crashes as it goes.
560 &quot;appInitialActivity&quot;: &quot;A String&quot;, # The initial activity that should be used to start the app.
561 # Optional
562 &quot;bootstrapRunnerClass&quot;: &quot;A String&quot;, # The runner class for the bootstrap.
563 # Optional
564 &quot;maxSteps&quot;: 42, # The max number of steps/actions Robo can execute.
565 # Default is no limit (0).
566 # Optional
567 &quot;maxDepth&quot;: 42, # The max depth of the traversal stack Robo can explore.
568 # Optional
569 &quot;bootstrapPackageId&quot;: &quot;A String&quot;, # The java package for the bootstrap.
570 # Optional
571 },
572 &quot;androidTestLoop&quot;: { # Test Loops are tests that can be launched by the app itself, determining # An Android test loop.
573 # when to run by listening for an intent.
574 },
575 &quot;androidAppInfo&quot;: { # Android app information. # Information about the application under test.
576 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
577 # Optional
578 &quot;packageName&quot;: &quot;A String&quot;, # The package name of the app.
579 # Required.
580 &quot;versionName&quot;: &quot;A String&quot;, # The version name of the app.
581 # Optional.
582 &quot;versionCode&quot;: &quot;A String&quot;, # The internal version code of the app.
583 # Optional.
584 },
585 &quot;androidInstrumentationTest&quot;: { # A test of an Android application that can control an Android component # An Android instrumentation test.
586 # independently of its normal lifecycle.
587 #
588 # See &lt;http://developer.android.com/tools/testing/testing_android.html&gt; for
589 # more information on types of Android tests.
590 &quot;testPackageId&quot;: &quot;A String&quot;, # The java package for the test to be executed.
591 # Required
592 &quot;testTargets&quot;: [ # Each target must be fully qualified with the package name or class name,
593 # in one of these formats:
594 # - &quot;package package_name&quot;
595 # - &quot;class package_name.class_name&quot;
596 # - &quot;class package_name.class_name#method_name&quot;
597 #
598 # If empty, all targets in the module will be run.
599 &quot;A String&quot;,
600 ],
601 &quot;useOrchestrator&quot;: True or False, # The flag indicates whether Android Test Orchestrator will be used to run
602 # test or not.
603 &quot;testRunnerClass&quot;: &quot;A String&quot;, # The InstrumentationTestRunner class.
604 # Required
605 },
606 },
607 },
608 &quot;creationTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution was created.
609 #
610 # This value will be set automatically when CreateExecution is called.
611 #
612 # - In response: always set
613 # - In create/update request: never set
614 # calendar, encoded as a count of seconds and fractions of seconds at
615 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
616 # January 1, 1970, in the proleptic Gregorian calendar which extends the
617 # Gregorian calendar backwards to year one.
618 #
619 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
620 # second table is needed for interpretation, using a [24-hour linear
621 # smear](https://developers.google.com/time/smear).
622 #
623 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
624 # restricting to that range, we ensure that we can convert to and from [RFC
625 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
626 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
627 # second values with fractions must still have non-negative nanos values
628 # that count forward in time. Must be from 0 to 999,999,999
629 # inclusive.
630 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
631 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
632 # 9999-12-31T23:59:59Z inclusive.
633 },
634 &quot;dimensionDefinitions&quot;: [ # The dimensions along which different steps in this execution may vary.
635 # This must remain fixed over the life of the execution.
636 #
637 # Returns INVALID_ARGUMENT if this field is set in an update request.
638 #
639 # Returns INVALID_ARGUMENT if the same name occurs in more than one
640 # dimension_definition.
641 #
642 # Returns INVALID_ARGUMENT if the size of the list is over 100.
643 #
644 # - In response: present if set by create
645 # - In create request: optional
646 # - In update request: never set
647 { # One dimension of the matrix of different runs of a step.
648 },
649 ],
650 &quot;testExecutionMatrixId&quot;: &quot;A String&quot;, # TestExecution Matrix ID that the TestExecutionService uses.
651 #
652 # - In response: present if set by create
653 # - In create: optional
654 # - In update: never set
655 &quot;state&quot;: &quot;A String&quot;, # The initial state is IN_PROGRESS.
656 #
657 # The only legal state transitions is from IN_PROGRESS to COMPLETE.
658 #
659 # A PRECONDITION_FAILED will be returned if an invalid transition is
660 # requested.
661 #
662 # The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be
663 # returned if the state is set to COMPLETE multiple times.
664 #
665 # If the state is set to COMPLETE, all the in-progress steps within the
666 # execution will be set as COMPLETE. If the outcome of the step is not set,
667 # the outcome will be set to INCONCLUSIVE.
668 #
669 # - In response always set
670 # - In create/update request: optional
671 }</pre>
672</div>
673
674<div class="method">
675 <code class="details" id="get">get(projectId, historyId, executionId, x__xgafv=None)</code>
676 <pre>Gets an Execution.
677
678May return any of the following canonical error codes:
679
680- PERMISSION_DENIED - if the user is not authorized to write to project
681- INVALID_ARGUMENT - if the request is malformed
682- NOT_FOUND - if the Execution does not exist
683
684Args:
685 projectId: string, A Project id.
686
687Required. (required)
688 historyId: string, A History id.
689
690Required. (required)
691 executionId: string, An Execution id.
692
693Required. (required)
694 x__xgafv: string, V1 error format.
695 Allowed values
696 1 - v1 error format
697 2 - v2 error format
698
699Returns:
700 An object of the form:
701
702 { # An Execution represents a collection of Steps. For instance, it could
703 # represent:
704 # - a mobile test executed across a range of device configurations
705 # - a jenkins job with a build step followed by a test step
706 #
707 # The maximum size of an execution message is 1 MiB.
708 #
709 # An Execution can be updated until its state is set to COMPLETE at which
710 # point it becomes immutable.
711 &quot;completionTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution status transitioned to COMPLETE.
712 #
713 # This value will be set automatically when state transitions to
714 # COMPLETE.
715 #
716 # - In response: set if the execution state is COMPLETE.
717 # - In create/update request: never set
718 # calendar, encoded as a count of seconds and fractions of seconds at
719 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
720 # January 1, 1970, in the proleptic Gregorian calendar which extends the
721 # Gregorian calendar backwards to year one.
722 #
723 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
724 # second table is needed for interpretation, using a [24-hour linear
725 # smear](https://developers.google.com/time/smear).
726 #
727 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
728 # restricting to that range, we ensure that we can convert to and from [RFC
729 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
730 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
731 # second values with fractions must still have non-negative nanos values
732 # that count forward in time. Must be from 0 to 999,999,999
733 # inclusive.
734 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
735 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
736 # 9999-12-31T23:59:59Z inclusive.
737 },
738 &quot;executionId&quot;: &quot;A String&quot;, # A unique identifier within a History for this Execution.
739 #
740 # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
741 #
742 # - In response always set
743 # - In create/update request: never set
744 &quot;outcome&quot;: { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE
745 #
746 # - In response: present if set by create/update request
747 # - In create/update request: optional
748 &quot;summary&quot;: &quot;A String&quot;, # The simplest way to interpret a result.
749 #
750 # Required
751 &quot;failureDetail&quot;: { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome.
752 #
753 # Returns INVALID_ARGUMENT if this field is set
754 # but the summary is not FAILURE.
755 #
756 # Optional
757 &quot;unableToCrawl&quot;: True or False, # If the robo was unable to crawl the app; perhaps because the app did not
758 # start.
759 &quot;notInstalled&quot;: True or False, # If an app is not installed and thus no test can be run with the app.
760 # This might be caused by trying to run a test on an unsupported platform.
761 &quot;timedOut&quot;: True or False, # If the test overran some time limit, and that is why it failed.
762 &quot;otherNativeCrash&quot;: True or False, # If a native process (including any other than the app) crashed.
763 &quot;crashed&quot;: True or False, # If the failure was severe because the system (app) under test crashed.
764 },
765 &quot;inconclusiveDetail&quot;: { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome.
766 #
767 # Returns INVALID_ARGUMENT if this field is set
768 # but the summary is not INCONCLUSIVE.
769 #
770 # Optional
771 &quot;hasErrorLogs&quot;: True or False, # If results are being provided to the user in certain cases of
772 # infrastructure failures
773 &quot;infrastructureFailure&quot;: True or False, # If the test runner could not determine success or failure because the test
774 # depends on a component other than the system under test which failed.
775 #
776 # For example, a mobile test requires provisioning a device where the test
777 # executes, and that provisioning can fail.
778 &quot;abortedByUser&quot;: True or False, # If the end user aborted the test execution before a pass or fail could be
779 # determined.
780 # For example, the user pressed ctrl-c which sent a kill signal to the test
781 # runner while the test was running.
782 },
783 &quot;successDetail&quot;: { # Details for an outcome with a SUCCESS outcome summary. # More information about a SUCCESS outcome.
784 #
785 # Returns INVALID_ARGUMENT if this field is set
786 # but the summary is not SUCCESS.
787 #
788 # Optional
789 # LINT.IfChange
790 &quot;otherNativeCrash&quot;: True or False, # If a native process other than the app crashed.
791 },
792 &quot;skippedDetail&quot;: { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome.
793 #
794 # Returns INVALID_ARGUMENT if this field is set
795 # but the summary is not SKIPPED.
796 #
797 # Optional
798 &quot;incompatibleAppVersion&quot;: True or False, # If the App doesn&#x27;t support the specific API level.
799 &quot;incompatibleDevice&quot;: True or False, # If the requested OS version doesn&#x27;t run on the specific device model.
800 &quot;incompatibleArchitecture&quot;: True or False, # If the App doesn&#x27;t run on the specific architecture, for example, x86.
801 },
802 },
803 &quot;specification&quot;: { # The details about how to run the execution. # Lightweight information about execution request.
804 #
805 # - In response: present if set by create
806 # - In create: optional
807 # - In update: optional
808 &quot;iosTest&quot;: { # A iOS mobile test specification # An iOS mobile test execution specification.
809 &quot;iosAppInfo&quot;: { # iOS app information # Information about the application under test.
810 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
811 # Required
812 },
813 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
814 # automatically cancelled.
815 # A Duration represents a signed, fixed-length span of time represented
816 # as a count of seconds and fractions of seconds at nanosecond
817 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
818 # or &quot;month&quot;. It is related to Timestamp in that the difference between
819 # two Timestamp values is a Duration and it can be added or subtracted
820 # from a Timestamp. Range is approximately +-10,000 years.
821 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
822 # of time. Durations less than one second are represented with a 0
823 # `seconds` field and a positive or negative `nanos` field. For durations
824 # of one second or more, a non-zero value for the `nanos` field must be
825 # of the same sign as the `seconds` field. Must be from -999,999,999
826 # to +999,999,999 inclusive.
827 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
828 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
829 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
830 },
831 &quot;iosRoboTest&quot;: { # A Robo test for an iOS application. # An iOS Robo test.
832 },
833 &quot;iosXcTest&quot;: { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest.
834 &quot;xcodeVersion&quot;: &quot;A String&quot;, # Xcode version that the test was run with.
835 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
836 },
837 &quot;iosTestLoop&quot;: { # A game loop test of an iOS application. # An iOS test loop.
838 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
839 },
840 },
841 &quot;androidTest&quot;: { # An Android mobile test specification. # An Android mobile test execution specification.
842 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
843 # automatically cancelled.
844 # A Duration represents a signed, fixed-length span of time represented
845 # as a count of seconds and fractions of seconds at nanosecond
846 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
847 # or &quot;month&quot;. It is related to Timestamp in that the difference between
848 # two Timestamp values is a Duration and it can be added or subtracted
849 # from a Timestamp. Range is approximately +-10,000 years.
850 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
851 # of time. Durations less than one second are represented with a 0
852 # `seconds` field and a positive or negative `nanos` field. For durations
853 # of one second or more, a non-zero value for the `nanos` field must be
854 # of the same sign as the `seconds` field. Must be from -999,999,999
855 # to +999,999,999 inclusive.
856 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
857 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
858 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
859 },
860 &quot;androidRoboTest&quot;: { # A test of an android application that explores the application on a virtual # An Android robo test.
861 # or physical Android device, finding culprits and crashes as it goes.
862 &quot;appInitialActivity&quot;: &quot;A String&quot;, # The initial activity that should be used to start the app.
863 # Optional
864 &quot;bootstrapRunnerClass&quot;: &quot;A String&quot;, # The runner class for the bootstrap.
865 # Optional
866 &quot;maxSteps&quot;: 42, # The max number of steps/actions Robo can execute.
867 # Default is no limit (0).
868 # Optional
869 &quot;maxDepth&quot;: 42, # The max depth of the traversal stack Robo can explore.
870 # Optional
871 &quot;bootstrapPackageId&quot;: &quot;A String&quot;, # The java package for the bootstrap.
872 # Optional
873 },
874 &quot;androidTestLoop&quot;: { # Test Loops are tests that can be launched by the app itself, determining # An Android test loop.
875 # when to run by listening for an intent.
876 },
877 &quot;androidAppInfo&quot;: { # Android app information. # Information about the application under test.
878 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
879 # Optional
880 &quot;packageName&quot;: &quot;A String&quot;, # The package name of the app.
881 # Required.
882 &quot;versionName&quot;: &quot;A String&quot;, # The version name of the app.
883 # Optional.
884 &quot;versionCode&quot;: &quot;A String&quot;, # The internal version code of the app.
885 # Optional.
886 },
887 &quot;androidInstrumentationTest&quot;: { # A test of an Android application that can control an Android component # An Android instrumentation test.
888 # independently of its normal lifecycle.
889 #
890 # See &lt;http://developer.android.com/tools/testing/testing_android.html&gt; for
891 # more information on types of Android tests.
892 &quot;testPackageId&quot;: &quot;A String&quot;, # The java package for the test to be executed.
893 # Required
894 &quot;testTargets&quot;: [ # Each target must be fully qualified with the package name or class name,
895 # in one of these formats:
896 # - &quot;package package_name&quot;
897 # - &quot;class package_name.class_name&quot;
898 # - &quot;class package_name.class_name#method_name&quot;
899 #
900 # If empty, all targets in the module will be run.
901 &quot;A String&quot;,
902 ],
903 &quot;useOrchestrator&quot;: True or False, # The flag indicates whether Android Test Orchestrator will be used to run
904 # test or not.
905 &quot;testRunnerClass&quot;: &quot;A String&quot;, # The InstrumentationTestRunner class.
906 # Required
907 },
908 },
909 },
910 &quot;creationTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution was created.
911 #
912 # This value will be set automatically when CreateExecution is called.
913 #
914 # - In response: always set
915 # - In create/update request: never set
916 # calendar, encoded as a count of seconds and fractions of seconds at
917 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
918 # January 1, 1970, in the proleptic Gregorian calendar which extends the
919 # Gregorian calendar backwards to year one.
920 #
921 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
922 # second table is needed for interpretation, using a [24-hour linear
923 # smear](https://developers.google.com/time/smear).
924 #
925 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
926 # restricting to that range, we ensure that we can convert to and from [RFC
927 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
928 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
929 # second values with fractions must still have non-negative nanos values
930 # that count forward in time. Must be from 0 to 999,999,999
931 # inclusive.
932 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
933 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
934 # 9999-12-31T23:59:59Z inclusive.
935 },
936 &quot;dimensionDefinitions&quot;: [ # The dimensions along which different steps in this execution may vary.
937 # This must remain fixed over the life of the execution.
938 #
939 # Returns INVALID_ARGUMENT if this field is set in an update request.
940 #
941 # Returns INVALID_ARGUMENT if the same name occurs in more than one
942 # dimension_definition.
943 #
944 # Returns INVALID_ARGUMENT if the size of the list is over 100.
945 #
946 # - In response: present if set by create
947 # - In create request: optional
948 # - In update request: never set
949 { # One dimension of the matrix of different runs of a step.
950 },
951 ],
952 &quot;testExecutionMatrixId&quot;: &quot;A String&quot;, # TestExecution Matrix ID that the TestExecutionService uses.
953 #
954 # - In response: present if set by create
955 # - In create: optional
956 # - In update: never set
957 &quot;state&quot;: &quot;A String&quot;, # The initial state is IN_PROGRESS.
958 #
959 # The only legal state transitions is from IN_PROGRESS to COMPLETE.
960 #
961 # A PRECONDITION_FAILED will be returned if an invalid transition is
962 # requested.
963 #
964 # The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be
965 # returned if the state is set to COMPLETE multiple times.
966 #
967 # If the state is set to COMPLETE, all the in-progress steps within the
968 # execution will be set as COMPLETE. If the outcome of the step is not set,
969 # the outcome will be set to INCONCLUSIVE.
970 #
971 # - In response always set
972 # - In create/update request: optional
973 }</pre>
974</div>
975
976<div class="method">
977 <code class="details" id="list">list(projectId, historyId, pageToken=None, pageSize=None, x__xgafv=None)</code>
978 <pre>Lists Executions for a given History.
979
980The executions are sorted by creation_time in descending order. The
981execution_id key will be used to order the executions with the same
982creation_time.
983
984May return any of the following canonical error codes:
985
986- PERMISSION_DENIED - if the user is not authorized to read project
987- INVALID_ARGUMENT - if the request is malformed
988- NOT_FOUND - if the containing History does not exist
989
990Args:
991 projectId: string, A Project id.
992
993Required. (required)
994 historyId: string, A History id.
995
996Required. (required)
997 pageToken: string, A continuation token to resume the query at the next item.
998
999Optional.
1000 pageSize: integer, The maximum number of Executions to fetch.
1001
1002Default value: 25. The server will use this default if the field is not set
1003or has a value of 0.
1004
1005Optional.
1006 x__xgafv: string, V1 error format.
1007 Allowed values
1008 1 - v1 error format
1009 2 - v2 error format
1010
1011Returns:
1012 An object of the form:
1013
1014 {
1015 &quot;nextPageToken&quot;: &quot;A String&quot;, # A continuation token to resume the query at the next item.
1016 #
1017 # Will only be set if there are more Executions to fetch.
1018 &quot;executions&quot;: [ # Executions.
1019 #
1020 # Always set.
1021 { # An Execution represents a collection of Steps. For instance, it could
1022 # represent:
1023 # - a mobile test executed across a range of device configurations
1024 # - a jenkins job with a build step followed by a test step
1025 #
1026 # The maximum size of an execution message is 1 MiB.
1027 #
1028 # An Execution can be updated until its state is set to COMPLETE at which
1029 # point it becomes immutable.
1030 &quot;completionTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution status transitioned to COMPLETE.
1031 #
1032 # This value will be set automatically when state transitions to
1033 # COMPLETE.
1034 #
1035 # - In response: set if the execution state is COMPLETE.
1036 # - In create/update request: never set
1037 # calendar, encoded as a count of seconds and fractions of seconds at
1038 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1039 # January 1, 1970, in the proleptic Gregorian calendar which extends the
1040 # Gregorian calendar backwards to year one.
1041 #
1042 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
1043 # second table is needed for interpretation, using a [24-hour linear
1044 # smear](https://developers.google.com/time/smear).
1045 #
1046 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
1047 # restricting to that range, we ensure that we can convert to and from [RFC
1048 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
1049 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
1050 # second values with fractions must still have non-negative nanos values
1051 # that count forward in time. Must be from 0 to 999,999,999
1052 # inclusive.
1053 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
1054 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
1055 # 9999-12-31T23:59:59Z inclusive.
1056 },
1057 &quot;executionId&quot;: &quot;A String&quot;, # A unique identifier within a History for this Execution.
1058 #
1059 # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
1060 #
1061 # - In response always set
1062 # - In create/update request: never set
1063 &quot;outcome&quot;: { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE
1064 #
1065 # - In response: present if set by create/update request
1066 # - In create/update request: optional
1067 &quot;summary&quot;: &quot;A String&quot;, # The simplest way to interpret a result.
1068 #
1069 # Required
1070 &quot;failureDetail&quot;: { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome.
1071 #
1072 # Returns INVALID_ARGUMENT if this field is set
1073 # but the summary is not FAILURE.
1074 #
1075 # Optional
1076 &quot;unableToCrawl&quot;: True or False, # If the robo was unable to crawl the app; perhaps because the app did not
1077 # start.
1078 &quot;notInstalled&quot;: True or False, # If an app is not installed and thus no test can be run with the app.
1079 # This might be caused by trying to run a test on an unsupported platform.
1080 &quot;timedOut&quot;: True or False, # If the test overran some time limit, and that is why it failed.
1081 &quot;otherNativeCrash&quot;: True or False, # If a native process (including any other than the app) crashed.
1082 &quot;crashed&quot;: True or False, # If the failure was severe because the system (app) under test crashed.
1083 },
1084 &quot;inconclusiveDetail&quot;: { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome.
1085 #
1086 # Returns INVALID_ARGUMENT if this field is set
1087 # but the summary is not INCONCLUSIVE.
1088 #
1089 # Optional
1090 &quot;hasErrorLogs&quot;: True or False, # If results are being provided to the user in certain cases of
1091 # infrastructure failures
1092 &quot;infrastructureFailure&quot;: True or False, # If the test runner could not determine success or failure because the test
1093 # depends on a component other than the system under test which failed.
1094 #
1095 # For example, a mobile test requires provisioning a device where the test
1096 # executes, and that provisioning can fail.
1097 &quot;abortedByUser&quot;: True or False, # If the end user aborted the test execution before a pass or fail could be
1098 # determined.
1099 # For example, the user pressed ctrl-c which sent a kill signal to the test
1100 # runner while the test was running.
1101 },
1102 &quot;successDetail&quot;: { # Details for an outcome with a SUCCESS outcome summary. # More information about a SUCCESS outcome.
1103 #
1104 # Returns INVALID_ARGUMENT if this field is set
1105 # but the summary is not SUCCESS.
1106 #
1107 # Optional
1108 # LINT.IfChange
1109 &quot;otherNativeCrash&quot;: True or False, # If a native process other than the app crashed.
1110 },
1111 &quot;skippedDetail&quot;: { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome.
1112 #
1113 # Returns INVALID_ARGUMENT if this field is set
1114 # but the summary is not SKIPPED.
1115 #
1116 # Optional
1117 &quot;incompatibleAppVersion&quot;: True or False, # If the App doesn&#x27;t support the specific API level.
1118 &quot;incompatibleDevice&quot;: True or False, # If the requested OS version doesn&#x27;t run on the specific device model.
1119 &quot;incompatibleArchitecture&quot;: True or False, # If the App doesn&#x27;t run on the specific architecture, for example, x86.
1120 },
1121 },
1122 &quot;specification&quot;: { # The details about how to run the execution. # Lightweight information about execution request.
1123 #
1124 # - In response: present if set by create
1125 # - In create: optional
1126 # - In update: optional
1127 &quot;iosTest&quot;: { # A iOS mobile test specification # An iOS mobile test execution specification.
1128 &quot;iosAppInfo&quot;: { # iOS app information # Information about the application under test.
1129 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
1130 # Required
1131 },
1132 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
1133 # automatically cancelled.
1134 # A Duration represents a signed, fixed-length span of time represented
1135 # as a count of seconds and fractions of seconds at nanosecond
1136 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
1137 # or &quot;month&quot;. It is related to Timestamp in that the difference between
1138 # two Timestamp values is a Duration and it can be added or subtracted
1139 # from a Timestamp. Range is approximately +-10,000 years.
1140 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
1141 # of time. Durations less than one second are represented with a 0
1142 # `seconds` field and a positive or negative `nanos` field. For durations
1143 # of one second or more, a non-zero value for the `nanos` field must be
1144 # of the same sign as the `seconds` field. Must be from -999,999,999
1145 # to +999,999,999 inclusive.
1146 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
1147 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
1148 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
1149 },
1150 &quot;iosRoboTest&quot;: { # A Robo test for an iOS application. # An iOS Robo test.
1151 },
1152 &quot;iosXcTest&quot;: { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest.
1153 &quot;xcodeVersion&quot;: &quot;A String&quot;, # Xcode version that the test was run with.
1154 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
1155 },
1156 &quot;iosTestLoop&quot;: { # A game loop test of an iOS application. # An iOS test loop.
1157 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
1158 },
1159 },
1160 &quot;androidTest&quot;: { # An Android mobile test specification. # An Android mobile test execution specification.
1161 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
1162 # automatically cancelled.
1163 # A Duration represents a signed, fixed-length span of time represented
1164 # as a count of seconds and fractions of seconds at nanosecond
1165 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
1166 # or &quot;month&quot;. It is related to Timestamp in that the difference between
1167 # two Timestamp values is a Duration and it can be added or subtracted
1168 # from a Timestamp. Range is approximately +-10,000 years.
1169 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
1170 # of time. Durations less than one second are represented with a 0
1171 # `seconds` field and a positive or negative `nanos` field. For durations
1172 # of one second or more, a non-zero value for the `nanos` field must be
1173 # of the same sign as the `seconds` field. Must be from -999,999,999
1174 # to +999,999,999 inclusive.
1175 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
1176 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
1177 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
1178 },
1179 &quot;androidRoboTest&quot;: { # A test of an android application that explores the application on a virtual # An Android robo test.
1180 # or physical Android device, finding culprits and crashes as it goes.
1181 &quot;appInitialActivity&quot;: &quot;A String&quot;, # The initial activity that should be used to start the app.
1182 # Optional
1183 &quot;bootstrapRunnerClass&quot;: &quot;A String&quot;, # The runner class for the bootstrap.
1184 # Optional
1185 &quot;maxSteps&quot;: 42, # The max number of steps/actions Robo can execute.
1186 # Default is no limit (0).
1187 # Optional
1188 &quot;maxDepth&quot;: 42, # The max depth of the traversal stack Robo can explore.
1189 # Optional
1190 &quot;bootstrapPackageId&quot;: &quot;A String&quot;, # The java package for the bootstrap.
1191 # Optional
1192 },
1193 &quot;androidTestLoop&quot;: { # Test Loops are tests that can be launched by the app itself, determining # An Android test loop.
1194 # when to run by listening for an intent.
1195 },
1196 &quot;androidAppInfo&quot;: { # Android app information. # Information about the application under test.
1197 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
1198 # Optional
1199 &quot;packageName&quot;: &quot;A String&quot;, # The package name of the app.
1200 # Required.
1201 &quot;versionName&quot;: &quot;A String&quot;, # The version name of the app.
1202 # Optional.
1203 &quot;versionCode&quot;: &quot;A String&quot;, # The internal version code of the app.
1204 # Optional.
1205 },
1206 &quot;androidInstrumentationTest&quot;: { # A test of an Android application that can control an Android component # An Android instrumentation test.
1207 # independently of its normal lifecycle.
1208 #
1209 # See &lt;http://developer.android.com/tools/testing/testing_android.html&gt; for
1210 # more information on types of Android tests.
1211 &quot;testPackageId&quot;: &quot;A String&quot;, # The java package for the test to be executed.
1212 # Required
1213 &quot;testTargets&quot;: [ # Each target must be fully qualified with the package name or class name,
1214 # in one of these formats:
1215 # - &quot;package package_name&quot;
1216 # - &quot;class package_name.class_name&quot;
1217 # - &quot;class package_name.class_name#method_name&quot;
1218 #
1219 # If empty, all targets in the module will be run.
1220 &quot;A String&quot;,
1221 ],
1222 &quot;useOrchestrator&quot;: True or False, # The flag indicates whether Android Test Orchestrator will be used to run
1223 # test or not.
1224 &quot;testRunnerClass&quot;: &quot;A String&quot;, # The InstrumentationTestRunner class.
1225 # Required
1226 },
1227 },
1228 },
1229 &quot;creationTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution was created.
1230 #
1231 # This value will be set automatically when CreateExecution is called.
1232 #
1233 # - In response: always set
1234 # - In create/update request: never set
1235 # calendar, encoded as a count of seconds and fractions of seconds at
1236 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1237 # January 1, 1970, in the proleptic Gregorian calendar which extends the
1238 # Gregorian calendar backwards to year one.
1239 #
1240 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
1241 # second table is needed for interpretation, using a [24-hour linear
1242 # smear](https://developers.google.com/time/smear).
1243 #
1244 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
1245 # restricting to that range, we ensure that we can convert to and from [RFC
1246 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
1247 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
1248 # second values with fractions must still have non-negative nanos values
1249 # that count forward in time. Must be from 0 to 999,999,999
1250 # inclusive.
1251 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
1252 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
1253 # 9999-12-31T23:59:59Z inclusive.
1254 },
1255 &quot;dimensionDefinitions&quot;: [ # The dimensions along which different steps in this execution may vary.
1256 # This must remain fixed over the life of the execution.
1257 #
1258 # Returns INVALID_ARGUMENT if this field is set in an update request.
1259 #
1260 # Returns INVALID_ARGUMENT if the same name occurs in more than one
1261 # dimension_definition.
1262 #
1263 # Returns INVALID_ARGUMENT if the size of the list is over 100.
1264 #
1265 # - In response: present if set by create
1266 # - In create request: optional
1267 # - In update request: never set
1268 { # One dimension of the matrix of different runs of a step.
1269 },
1270 ],
1271 &quot;testExecutionMatrixId&quot;: &quot;A String&quot;, # TestExecution Matrix ID that the TestExecutionService uses.
1272 #
1273 # - In response: present if set by create
1274 # - In create: optional
1275 # - In update: never set
1276 &quot;state&quot;: &quot;A String&quot;, # The initial state is IN_PROGRESS.
1277 #
1278 # The only legal state transitions is from IN_PROGRESS to COMPLETE.
1279 #
1280 # A PRECONDITION_FAILED will be returned if an invalid transition is
1281 # requested.
1282 #
1283 # The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be
1284 # returned if the state is set to COMPLETE multiple times.
1285 #
1286 # If the state is set to COMPLETE, all the in-progress steps within the
1287 # execution will be set as COMPLETE. If the outcome of the step is not set,
1288 # the outcome will be set to INCONCLUSIVE.
1289 #
1290 # - In response always set
1291 # - In create/update request: optional
1292 },
1293 ],
1294 }</pre>
1295</div>
1296
1297<div class="method">
1298 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1299 <pre>Retrieves the next page of results.
1300
1301Args:
1302 previous_request: The request for the previous page. (required)
1303 previous_response: The response from the request for the previous page. (required)
1304
1305Returns:
1306 A request object that you can call &#x27;execute()&#x27; on to request the next
1307 page. Returns None if there are no more items in the collection.
1308 </pre>
1309</div>
1310
1311<div class="method">
1312 <code class="details" id="patch">patch(projectId, historyId, executionId, body=None, requestId=None, x__xgafv=None)</code>
1313 <pre>Updates an existing Execution with the supplied partial entity.
1314
1315May return any of the following canonical error codes:
1316
1317- PERMISSION_DENIED - if the user is not authorized to write to project
1318- INVALID_ARGUMENT - if the request is malformed
1319- FAILED_PRECONDITION - if the requested state transition is illegal
1320- NOT_FOUND - if the containing History does not exist
1321
1322Args:
1323 projectId: string, A Project id.
1324Required. (required)
1325 historyId: string, Required. (required)
1326 executionId: string, Required. (required)
1327 body: object, The request body.
1328 The object takes the form of:
1329
1330{ # An Execution represents a collection of Steps. For instance, it could
1331 # represent:
1332 # - a mobile test executed across a range of device configurations
1333 # - a jenkins job with a build step followed by a test step
1334 #
1335 # The maximum size of an execution message is 1 MiB.
1336 #
1337 # An Execution can be updated until its state is set to COMPLETE at which
1338 # point it becomes immutable.
1339 &quot;completionTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution status transitioned to COMPLETE.
1340 #
1341 # This value will be set automatically when state transitions to
1342 # COMPLETE.
1343 #
1344 # - In response: set if the execution state is COMPLETE.
1345 # - In create/update request: never set
1346 # calendar, encoded as a count of seconds and fractions of seconds at
1347 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1348 # January 1, 1970, in the proleptic Gregorian calendar which extends the
1349 # Gregorian calendar backwards to year one.
1350 #
1351 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
1352 # second table is needed for interpretation, using a [24-hour linear
1353 # smear](https://developers.google.com/time/smear).
1354 #
1355 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
1356 # restricting to that range, we ensure that we can convert to and from [RFC
1357 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
1358 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
1359 # second values with fractions must still have non-negative nanos values
1360 # that count forward in time. Must be from 0 to 999,999,999
1361 # inclusive.
1362 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
1363 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
1364 # 9999-12-31T23:59:59Z inclusive.
1365 },
1366 &quot;executionId&quot;: &quot;A String&quot;, # A unique identifier within a History for this Execution.
1367 #
1368 # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
1369 #
1370 # - In response always set
1371 # - In create/update request: never set
1372 &quot;outcome&quot;: { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE
1373 #
1374 # - In response: present if set by create/update request
1375 # - In create/update request: optional
1376 &quot;summary&quot;: &quot;A String&quot;, # The simplest way to interpret a result.
1377 #
1378 # Required
1379 &quot;failureDetail&quot;: { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome.
1380 #
1381 # Returns INVALID_ARGUMENT if this field is set
1382 # but the summary is not FAILURE.
1383 #
1384 # Optional
1385 &quot;unableToCrawl&quot;: True or False, # If the robo was unable to crawl the app; perhaps because the app did not
1386 # start.
1387 &quot;notInstalled&quot;: True or False, # If an app is not installed and thus no test can be run with the app.
1388 # This might be caused by trying to run a test on an unsupported platform.
1389 &quot;timedOut&quot;: True or False, # If the test overran some time limit, and that is why it failed.
1390 &quot;otherNativeCrash&quot;: True or False, # If a native process (including any other than the app) crashed.
1391 &quot;crashed&quot;: True or False, # If the failure was severe because the system (app) under test crashed.
1392 },
1393 &quot;inconclusiveDetail&quot;: { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome.
1394 #
1395 # Returns INVALID_ARGUMENT if this field is set
1396 # but the summary is not INCONCLUSIVE.
1397 #
1398 # Optional
1399 &quot;hasErrorLogs&quot;: True or False, # If results are being provided to the user in certain cases of
1400 # infrastructure failures
1401 &quot;infrastructureFailure&quot;: True or False, # If the test runner could not determine success or failure because the test
1402 # depends on a component other than the system under test which failed.
1403 #
1404 # For example, a mobile test requires provisioning a device where the test
1405 # executes, and that provisioning can fail.
1406 &quot;abortedByUser&quot;: True or False, # If the end user aborted the test execution before a pass or fail could be
1407 # determined.
1408 # For example, the user pressed ctrl-c which sent a kill signal to the test
1409 # runner while the test was running.
1410 },
1411 &quot;successDetail&quot;: { # Details for an outcome with a SUCCESS outcome summary. # More information about a SUCCESS outcome.
1412 #
1413 # Returns INVALID_ARGUMENT if this field is set
1414 # but the summary is not SUCCESS.
1415 #
1416 # Optional
1417 # LINT.IfChange
1418 &quot;otherNativeCrash&quot;: True or False, # If a native process other than the app crashed.
1419 },
1420 &quot;skippedDetail&quot;: { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome.
1421 #
1422 # Returns INVALID_ARGUMENT if this field is set
1423 # but the summary is not SKIPPED.
1424 #
1425 # Optional
1426 &quot;incompatibleAppVersion&quot;: True or False, # If the App doesn&#x27;t support the specific API level.
1427 &quot;incompatibleDevice&quot;: True or False, # If the requested OS version doesn&#x27;t run on the specific device model.
1428 &quot;incompatibleArchitecture&quot;: True or False, # If the App doesn&#x27;t run on the specific architecture, for example, x86.
1429 },
1430 },
1431 &quot;specification&quot;: { # The details about how to run the execution. # Lightweight information about execution request.
1432 #
1433 # - In response: present if set by create
1434 # - In create: optional
1435 # - In update: optional
1436 &quot;iosTest&quot;: { # A iOS mobile test specification # An iOS mobile test execution specification.
1437 &quot;iosAppInfo&quot;: { # iOS app information # Information about the application under test.
1438 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
1439 # Required
1440 },
1441 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
1442 # automatically cancelled.
1443 # A Duration represents a signed, fixed-length span of time represented
1444 # as a count of seconds and fractions of seconds at nanosecond
1445 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
1446 # or &quot;month&quot;. It is related to Timestamp in that the difference between
1447 # two Timestamp values is a Duration and it can be added or subtracted
1448 # from a Timestamp. Range is approximately +-10,000 years.
1449 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
1450 # of time. Durations less than one second are represented with a 0
1451 # `seconds` field and a positive or negative `nanos` field. For durations
1452 # of one second or more, a non-zero value for the `nanos` field must be
1453 # of the same sign as the `seconds` field. Must be from -999,999,999
1454 # to +999,999,999 inclusive.
1455 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
1456 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
1457 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
1458 },
1459 &quot;iosRoboTest&quot;: { # A Robo test for an iOS application. # An iOS Robo test.
1460 },
1461 &quot;iosXcTest&quot;: { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest.
1462 &quot;xcodeVersion&quot;: &quot;A String&quot;, # Xcode version that the test was run with.
1463 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
1464 },
1465 &quot;iosTestLoop&quot;: { # A game loop test of an iOS application. # An iOS test loop.
1466 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
1467 },
1468 },
1469 &quot;androidTest&quot;: { # An Android mobile test specification. # An Android mobile test execution specification.
1470 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
1471 # automatically cancelled.
1472 # A Duration represents a signed, fixed-length span of time represented
1473 # as a count of seconds and fractions of seconds at nanosecond
1474 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
1475 # or &quot;month&quot;. It is related to Timestamp in that the difference between
1476 # two Timestamp values is a Duration and it can be added or subtracted
1477 # from a Timestamp. Range is approximately +-10,000 years.
1478 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
1479 # of time. Durations less than one second are represented with a 0
1480 # `seconds` field and a positive or negative `nanos` field. For durations
1481 # of one second or more, a non-zero value for the `nanos` field must be
1482 # of the same sign as the `seconds` field. Must be from -999,999,999
1483 # to +999,999,999 inclusive.
1484 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
1485 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
1486 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
1487 },
1488 &quot;androidRoboTest&quot;: { # A test of an android application that explores the application on a virtual # An Android robo test.
1489 # or physical Android device, finding culprits and crashes as it goes.
1490 &quot;appInitialActivity&quot;: &quot;A String&quot;, # The initial activity that should be used to start the app.
1491 # Optional
1492 &quot;bootstrapRunnerClass&quot;: &quot;A String&quot;, # The runner class for the bootstrap.
1493 # Optional
1494 &quot;maxSteps&quot;: 42, # The max number of steps/actions Robo can execute.
1495 # Default is no limit (0).
1496 # Optional
1497 &quot;maxDepth&quot;: 42, # The max depth of the traversal stack Robo can explore.
1498 # Optional
1499 &quot;bootstrapPackageId&quot;: &quot;A String&quot;, # The java package for the bootstrap.
1500 # Optional
1501 },
1502 &quot;androidTestLoop&quot;: { # Test Loops are tests that can be launched by the app itself, determining # An Android test loop.
1503 # when to run by listening for an intent.
1504 },
1505 &quot;androidAppInfo&quot;: { # Android app information. # Information about the application under test.
1506 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
1507 # Optional
1508 &quot;packageName&quot;: &quot;A String&quot;, # The package name of the app.
1509 # Required.
1510 &quot;versionName&quot;: &quot;A String&quot;, # The version name of the app.
1511 # Optional.
1512 &quot;versionCode&quot;: &quot;A String&quot;, # The internal version code of the app.
1513 # Optional.
1514 },
1515 &quot;androidInstrumentationTest&quot;: { # A test of an Android application that can control an Android component # An Android instrumentation test.
1516 # independently of its normal lifecycle.
1517 #
1518 # See &lt;http://developer.android.com/tools/testing/testing_android.html&gt; for
1519 # more information on types of Android tests.
1520 &quot;testPackageId&quot;: &quot;A String&quot;, # The java package for the test to be executed.
1521 # Required
1522 &quot;testTargets&quot;: [ # Each target must be fully qualified with the package name or class name,
1523 # in one of these formats:
1524 # - &quot;package package_name&quot;
1525 # - &quot;class package_name.class_name&quot;
1526 # - &quot;class package_name.class_name#method_name&quot;
1527 #
1528 # If empty, all targets in the module will be run.
1529 &quot;A String&quot;,
1530 ],
1531 &quot;useOrchestrator&quot;: True or False, # The flag indicates whether Android Test Orchestrator will be used to run
1532 # test or not.
1533 &quot;testRunnerClass&quot;: &quot;A String&quot;, # The InstrumentationTestRunner class.
1534 # Required
1535 },
1536 },
1537 },
1538 &quot;creationTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution was created.
1539 #
1540 # This value will be set automatically when CreateExecution is called.
1541 #
1542 # - In response: always set
1543 # - In create/update request: never set
1544 # calendar, encoded as a count of seconds and fractions of seconds at
1545 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1546 # January 1, 1970, in the proleptic Gregorian calendar which extends the
1547 # Gregorian calendar backwards to year one.
1548 #
1549 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
1550 # second table is needed for interpretation, using a [24-hour linear
1551 # smear](https://developers.google.com/time/smear).
1552 #
1553 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
1554 # restricting to that range, we ensure that we can convert to and from [RFC
1555 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
1556 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
1557 # second values with fractions must still have non-negative nanos values
1558 # that count forward in time. Must be from 0 to 999,999,999
1559 # inclusive.
1560 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
1561 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
1562 # 9999-12-31T23:59:59Z inclusive.
1563 },
1564 &quot;dimensionDefinitions&quot;: [ # The dimensions along which different steps in this execution may vary.
1565 # This must remain fixed over the life of the execution.
1566 #
1567 # Returns INVALID_ARGUMENT if this field is set in an update request.
1568 #
1569 # Returns INVALID_ARGUMENT if the same name occurs in more than one
1570 # dimension_definition.
1571 #
1572 # Returns INVALID_ARGUMENT if the size of the list is over 100.
1573 #
1574 # - In response: present if set by create
1575 # - In create request: optional
1576 # - In update request: never set
1577 { # One dimension of the matrix of different runs of a step.
1578 },
1579 ],
1580 &quot;testExecutionMatrixId&quot;: &quot;A String&quot;, # TestExecution Matrix ID that the TestExecutionService uses.
1581 #
1582 # - In response: present if set by create
1583 # - In create: optional
1584 # - In update: never set
1585 &quot;state&quot;: &quot;A String&quot;, # The initial state is IN_PROGRESS.
1586 #
1587 # The only legal state transitions is from IN_PROGRESS to COMPLETE.
1588 #
1589 # A PRECONDITION_FAILED will be returned if an invalid transition is
1590 # requested.
1591 #
1592 # The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be
1593 # returned if the state is set to COMPLETE multiple times.
1594 #
1595 # If the state is set to COMPLETE, all the in-progress steps within the
1596 # execution will be set as COMPLETE. If the outcome of the step is not set,
1597 # the outcome will be set to INCONCLUSIVE.
1598 #
1599 # - In response always set
1600 # - In create/update request: optional
1601}
1602
1603 requestId: string, A unique request ID for server to detect duplicated requests.
1604For example, a UUID.
1605
1606Optional, but strongly recommended.
1607 x__xgafv: string, V1 error format.
1608 Allowed values
1609 1 - v1 error format
1610 2 - v2 error format
1611
1612Returns:
1613 An object of the form:
1614
1615 { # An Execution represents a collection of Steps. For instance, it could
1616 # represent:
1617 # - a mobile test executed across a range of device configurations
1618 # - a jenkins job with a build step followed by a test step
1619 #
1620 # The maximum size of an execution message is 1 MiB.
1621 #
1622 # An Execution can be updated until its state is set to COMPLETE at which
1623 # point it becomes immutable.
1624 &quot;completionTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution status transitioned to COMPLETE.
1625 #
1626 # This value will be set automatically when state transitions to
1627 # COMPLETE.
1628 #
1629 # - In response: set if the execution state is COMPLETE.
1630 # - In create/update request: never set
1631 # calendar, encoded as a count of seconds and fractions of seconds at
1632 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1633 # January 1, 1970, in the proleptic Gregorian calendar which extends the
1634 # Gregorian calendar backwards to year one.
1635 #
1636 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
1637 # second table is needed for interpretation, using a [24-hour linear
1638 # smear](https://developers.google.com/time/smear).
1639 #
1640 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
1641 # restricting to that range, we ensure that we can convert to and from [RFC
1642 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
1643 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
1644 # second values with fractions must still have non-negative nanos values
1645 # that count forward in time. Must be from 0 to 999,999,999
1646 # inclusive.
1647 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
1648 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
1649 # 9999-12-31T23:59:59Z inclusive.
1650 },
1651 &quot;executionId&quot;: &quot;A String&quot;, # A unique identifier within a History for this Execution.
1652 #
1653 # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller.
1654 #
1655 # - In response always set
1656 # - In create/update request: never set
1657 &quot;outcome&quot;: { # Interprets a result so that humans and machines can act on it. # Classify the result, for example into SUCCESS or FAILURE
1658 #
1659 # - In response: present if set by create/update request
1660 # - In create/update request: optional
1661 &quot;summary&quot;: &quot;A String&quot;, # The simplest way to interpret a result.
1662 #
1663 # Required
1664 &quot;failureDetail&quot;: { # Details for an outcome with a FAILURE outcome summary. # More information about a FAILURE outcome.
1665 #
1666 # Returns INVALID_ARGUMENT if this field is set
1667 # but the summary is not FAILURE.
1668 #
1669 # Optional
1670 &quot;unableToCrawl&quot;: True or False, # If the robo was unable to crawl the app; perhaps because the app did not
1671 # start.
1672 &quot;notInstalled&quot;: True or False, # If an app is not installed and thus no test can be run with the app.
1673 # This might be caused by trying to run a test on an unsupported platform.
1674 &quot;timedOut&quot;: True or False, # If the test overran some time limit, and that is why it failed.
1675 &quot;otherNativeCrash&quot;: True or False, # If a native process (including any other than the app) crashed.
1676 &quot;crashed&quot;: True or False, # If the failure was severe because the system (app) under test crashed.
1677 },
1678 &quot;inconclusiveDetail&quot;: { # Details for an outcome with an INCONCLUSIVE outcome summary. # More information about an INCONCLUSIVE outcome.
1679 #
1680 # Returns INVALID_ARGUMENT if this field is set
1681 # but the summary is not INCONCLUSIVE.
1682 #
1683 # Optional
1684 &quot;hasErrorLogs&quot;: True or False, # If results are being provided to the user in certain cases of
1685 # infrastructure failures
1686 &quot;infrastructureFailure&quot;: True or False, # If the test runner could not determine success or failure because the test
1687 # depends on a component other than the system under test which failed.
1688 #
1689 # For example, a mobile test requires provisioning a device where the test
1690 # executes, and that provisioning can fail.
1691 &quot;abortedByUser&quot;: True or False, # If the end user aborted the test execution before a pass or fail could be
1692 # determined.
1693 # For example, the user pressed ctrl-c which sent a kill signal to the test
1694 # runner while the test was running.
1695 },
1696 &quot;successDetail&quot;: { # Details for an outcome with a SUCCESS outcome summary. # More information about a SUCCESS outcome.
1697 #
1698 # Returns INVALID_ARGUMENT if this field is set
1699 # but the summary is not SUCCESS.
1700 #
1701 # Optional
1702 # LINT.IfChange
1703 &quot;otherNativeCrash&quot;: True or False, # If a native process other than the app crashed.
1704 },
1705 &quot;skippedDetail&quot;: { # Details for an outcome with a SKIPPED outcome summary. # More information about a SKIPPED outcome.
1706 #
1707 # Returns INVALID_ARGUMENT if this field is set
1708 # but the summary is not SKIPPED.
1709 #
1710 # Optional
1711 &quot;incompatibleAppVersion&quot;: True or False, # If the App doesn&#x27;t support the specific API level.
1712 &quot;incompatibleDevice&quot;: True or False, # If the requested OS version doesn&#x27;t run on the specific device model.
1713 &quot;incompatibleArchitecture&quot;: True or False, # If the App doesn&#x27;t run on the specific architecture, for example, x86.
1714 },
1715 },
1716 &quot;specification&quot;: { # The details about how to run the execution. # Lightweight information about execution request.
1717 #
1718 # - In response: present if set by create
1719 # - In create: optional
1720 # - In update: optional
1721 &quot;iosTest&quot;: { # A iOS mobile test specification # An iOS mobile test execution specification.
1722 &quot;iosAppInfo&quot;: { # iOS app information # Information about the application under test.
1723 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
1724 # Required
1725 },
1726 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
1727 # automatically cancelled.
1728 # A Duration represents a signed, fixed-length span of time represented
1729 # as a count of seconds and fractions of seconds at nanosecond
1730 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
1731 # or &quot;month&quot;. It is related to Timestamp in that the difference between
1732 # two Timestamp values is a Duration and it can be added or subtracted
1733 # from a Timestamp. Range is approximately +-10,000 years.
1734 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
1735 # of time. Durations less than one second are represented with a 0
1736 # `seconds` field and a positive or negative `nanos` field. For durations
1737 # of one second or more, a non-zero value for the `nanos` field must be
1738 # of the same sign as the `seconds` field. Must be from -999,999,999
1739 # to +999,999,999 inclusive.
1740 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
1741 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
1742 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
1743 },
1744 &quot;iosRoboTest&quot;: { # A Robo test for an iOS application. # An iOS Robo test.
1745 },
1746 &quot;iosXcTest&quot;: { # A test of an iOS application that uses the XCTest framework. # An iOS XCTest.
1747 &quot;xcodeVersion&quot;: &quot;A String&quot;, # Xcode version that the test was run with.
1748 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
1749 },
1750 &quot;iosTestLoop&quot;: { # A game loop test of an iOS application. # An iOS test loop.
1751 &quot;bundleId&quot;: &quot;A String&quot;, # Bundle ID of the app.
1752 },
1753 },
1754 &quot;androidTest&quot;: { # An Android mobile test specification. # An Android mobile test execution specification.
1755 &quot;testTimeout&quot;: { # # Max time a test is allowed to run before it is
1756 # automatically cancelled.
1757 # A Duration represents a signed, fixed-length span of time represented
1758 # as a count of seconds and fractions of seconds at nanosecond
1759 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
1760 # or &quot;month&quot;. It is related to Timestamp in that the difference between
1761 # two Timestamp values is a Duration and it can be added or subtracted
1762 # from a Timestamp. Range is approximately +-10,000 years.
1763 &quot;nanos&quot;: 42, # Signed fractions of a second at nanosecond resolution of the span
1764 # of time. Durations less than one second are represented with a 0
1765 # `seconds` field and a positive or negative `nanos` field. For durations
1766 # of one second or more, a non-zero value for the `nanos` field must be
1767 # of the same sign as the `seconds` field. Must be from -999,999,999
1768 # to +999,999,999 inclusive.
1769 &quot;seconds&quot;: &quot;A String&quot;, # Signed seconds of the span of time. Must be from -315,576,000,000
1770 # to +315,576,000,000 inclusive. Note: these bounds are computed from:
1771 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
1772 },
1773 &quot;androidRoboTest&quot;: { # A test of an android application that explores the application on a virtual # An Android robo test.
1774 # or physical Android device, finding culprits and crashes as it goes.
1775 &quot;appInitialActivity&quot;: &quot;A String&quot;, # The initial activity that should be used to start the app.
1776 # Optional
1777 &quot;bootstrapRunnerClass&quot;: &quot;A String&quot;, # The runner class for the bootstrap.
1778 # Optional
1779 &quot;maxSteps&quot;: 42, # The max number of steps/actions Robo can execute.
1780 # Default is no limit (0).
1781 # Optional
1782 &quot;maxDepth&quot;: 42, # The max depth of the traversal stack Robo can explore.
1783 # Optional
1784 &quot;bootstrapPackageId&quot;: &quot;A String&quot;, # The java package for the bootstrap.
1785 # Optional
1786 },
1787 &quot;androidTestLoop&quot;: { # Test Loops are tests that can be launched by the app itself, determining # An Android test loop.
1788 # when to run by listening for an intent.
1789 },
1790 &quot;androidAppInfo&quot;: { # Android app information. # Information about the application under test.
1791 &quot;name&quot;: &quot;A String&quot;, # The name of the app.
1792 # Optional
1793 &quot;packageName&quot;: &quot;A String&quot;, # The package name of the app.
1794 # Required.
1795 &quot;versionName&quot;: &quot;A String&quot;, # The version name of the app.
1796 # Optional.
1797 &quot;versionCode&quot;: &quot;A String&quot;, # The internal version code of the app.
1798 # Optional.
1799 },
1800 &quot;androidInstrumentationTest&quot;: { # A test of an Android application that can control an Android component # An Android instrumentation test.
1801 # independently of its normal lifecycle.
1802 #
1803 # See &lt;http://developer.android.com/tools/testing/testing_android.html&gt; for
1804 # more information on types of Android tests.
1805 &quot;testPackageId&quot;: &quot;A String&quot;, # The java package for the test to be executed.
1806 # Required
1807 &quot;testTargets&quot;: [ # Each target must be fully qualified with the package name or class name,
1808 # in one of these formats:
1809 # - &quot;package package_name&quot;
1810 # - &quot;class package_name.class_name&quot;
1811 # - &quot;class package_name.class_name#method_name&quot;
1812 #
1813 # If empty, all targets in the module will be run.
1814 &quot;A String&quot;,
1815 ],
1816 &quot;useOrchestrator&quot;: True or False, # The flag indicates whether Android Test Orchestrator will be used to run
1817 # test or not.
1818 &quot;testRunnerClass&quot;: &quot;A String&quot;, # The InstrumentationTestRunner class.
1819 # Required
1820 },
1821 },
1822 },
1823 &quot;creationTime&quot;: { # A Timestamp represents a point in time independent of any time zone or local # The time when the Execution was created.
1824 #
1825 # This value will be set automatically when CreateExecution is called.
1826 #
1827 # - In response: always set
1828 # - In create/update request: never set
1829 # calendar, encoded as a count of seconds and fractions of seconds at
1830 # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1831 # January 1, 1970, in the proleptic Gregorian calendar which extends the
1832 # Gregorian calendar backwards to year one.
1833 #
1834 # All minutes are 60 seconds long. Leap seconds are &quot;smeared&quot; so that no leap
1835 # second table is needed for interpretation, using a [24-hour linear
1836 # smear](https://developers.google.com/time/smear).
1837 #
1838 # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
1839 # restricting to that range, we ensure that we can convert to and from [RFC
1840 # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
1841 &quot;nanos&quot;: 42, # Non-negative fractions of a second at nanosecond resolution. Negative
1842 # second values with fractions must still have non-negative nanos values
1843 # that count forward in time. Must be from 0 to 999,999,999
1844 # inclusive.
1845 &quot;seconds&quot;: &quot;A String&quot;, # Represents seconds of UTC time since Unix epoch
1846 # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
1847 # 9999-12-31T23:59:59Z inclusive.
1848 },
1849 &quot;dimensionDefinitions&quot;: [ # The dimensions along which different steps in this execution may vary.
1850 # This must remain fixed over the life of the execution.
1851 #
1852 # Returns INVALID_ARGUMENT if this field is set in an update request.
1853 #
1854 # Returns INVALID_ARGUMENT if the same name occurs in more than one
1855 # dimension_definition.
1856 #
1857 # Returns INVALID_ARGUMENT if the size of the list is over 100.
1858 #
1859 # - In response: present if set by create
1860 # - In create request: optional
1861 # - In update request: never set
1862 { # One dimension of the matrix of different runs of a step.
1863 },
1864 ],
1865 &quot;testExecutionMatrixId&quot;: &quot;A String&quot;, # TestExecution Matrix ID that the TestExecutionService uses.
1866 #
1867 # - In response: present if set by create
1868 # - In create: optional
1869 # - In update: never set
1870 &quot;state&quot;: &quot;A String&quot;, # The initial state is IN_PROGRESS.
1871 #
1872 # The only legal state transitions is from IN_PROGRESS to COMPLETE.
1873 #
1874 # A PRECONDITION_FAILED will be returned if an invalid transition is
1875 # requested.
1876 #
1877 # The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be
1878 # returned if the state is set to COMPLETE multiple times.
1879 #
1880 # If the state is set to COMPLETE, all the in-progress steps within the
1881 # execution will be set as COMPLETE. If the outcome of the step is not set,
1882 # the outcome will be set to INCONCLUSIVE.
1883 #
1884 # - In response always set
1885 # - In create/update request: optional
1886 }</pre>
1887</div>
1888
1889</body></html>