@maxim_mazurok/gapi.client.toolresults-v1beta3 0.0.20220811

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts ADDED
@@ -0,0 +1,2421 @@
1
+ /* Type definitions for non-npm package Cloud Tool Results API v1beta3 0.0 */
2
+ // Project: https://firebase.google.com/docs/test-lab/
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://toolresults.googleapis.com/$discovery/rest?version=v1beta3
13
+ // Revision: 20220811
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Cloud Tool Results API v1beta3 */
19
+ function load(urlOrObject: "https://toolresults.googleapis.com/$discovery/rest?version=v1beta3"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "toolresults", version: "v1beta3"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "toolresults", version: "v1beta3", callback: () => any): void;
24
+
25
+ namespace toolresults {
26
+ interface AndroidAppInfo {
27
+ /** The name of the app. Optional */
28
+ name?: string;
29
+ /** The package name of the app. Required. */
30
+ packageName?: string;
31
+ /** The internal version code of the app. Optional. */
32
+ versionCode?: string;
33
+ /** The version name of the app. Optional. */
34
+ versionName?: string;
35
+ }
36
+ interface AndroidInstrumentationTest {
37
+ /** The java package for the test to be executed. Required */
38
+ testPackageId?: string;
39
+ /** The InstrumentationTestRunner class. Required */
40
+ testRunnerClass?: string;
41
+ /**
42
+ * Each target must be fully qualified with the package name or class name, in one of these formats: - "package package_name" - "class package_name.class_name" - "class
43
+ * package_name.class_name#method_name" If empty, all targets in the module will be run.
44
+ */
45
+ testTargets?: string[];
46
+ /** The flag indicates whether Android Test Orchestrator will be used to run test or not. */
47
+ useOrchestrator?: boolean;
48
+ }
49
+ interface AndroidRoboTest {
50
+ /** The initial activity that should be used to start the app. Optional */
51
+ appInitialActivity?: string;
52
+ /** The java package for the bootstrap. Optional */
53
+ bootstrapPackageId?: string;
54
+ /** The runner class for the bootstrap. Optional */
55
+ bootstrapRunnerClass?: string;
56
+ /** The max depth of the traversal stack Robo can explore. Optional */
57
+ maxDepth?: number;
58
+ /** The max number of steps/actions Robo can execute. Default is no limit (0). Optional */
59
+ maxSteps?: number;
60
+ }
61
+ interface AndroidTest {
62
+ /** Information about the application under test. */
63
+ androidAppInfo?: AndroidAppInfo;
64
+ /** An Android instrumentation test. */
65
+ androidInstrumentationTest?: AndroidInstrumentationTest;
66
+ /** An Android robo test. */
67
+ androidRoboTest?: AndroidRoboTest;
68
+ /** An Android test loop. */
69
+ androidTestLoop?: any;
70
+ /** Max time a test is allowed to run before it is automatically cancelled. */
71
+ testTimeout?: Duration;
72
+ }
73
+ // tslint:disable-next-line:no-empty-interface
74
+ interface AndroidTestLoop {
75
+ }
76
+ interface ANR {
77
+ /** The stack trace of the ANR crash. Optional. */
78
+ stackTrace?: StackTrace;
79
+ }
80
+ interface Any {
81
+ /**
82
+ * A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's
83
+ * path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In
84
+ * practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme,
85
+ * one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a
86
+ * google.protobuf.Type value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to
87
+ * avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not
88
+ * currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme)
89
+ * might be used with implementation specific semantics.
90
+ */
91
+ typeUrl?: string;
92
+ /** Must be a valid serialized protocol buffer of the above specified type. */
93
+ value?: string;
94
+ }
95
+ interface AppStartTime {
96
+ /**
97
+ * Optional. The time from app start to reaching the developer-reported "fully drawn" time. This is only stored if the app includes a call to Activity.reportFullyDrawn(). See
98
+ * https://developer.android.com/topic/performance/launch-time.html#time-full
99
+ */
100
+ fullyDrawnTime?: Duration;
101
+ /** The time from app start to the first displayed activity being drawn, as reported in Logcat. See https://developer.android.com/topic/performance/launch-time.html#time-initial */
102
+ initialDisplayTime?: Duration;
103
+ }
104
+ // tslint:disable-next-line:no-empty-interface
105
+ interface AvailableDeepLinks {
106
+ }
107
+ interface BasicPerfSampleSeries {
108
+ perfMetricType?: string;
109
+ perfUnit?: string;
110
+ sampleSeriesLabel?: string;
111
+ }
112
+ interface BatchCreatePerfSamplesRequest {
113
+ /** The set of PerfSamples to create should not include existing timestamps */
114
+ perfSamples?: PerfSample[];
115
+ }
116
+ interface BatchCreatePerfSamplesResponse {
117
+ perfSamples?: PerfSample[];
118
+ }
119
+ interface BlankScreen {
120
+ /** The screen id of the element */
121
+ screenId?: string;
122
+ }
123
+ interface CPUInfo {
124
+ /** description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A' */
125
+ cpuProcessor?: string;
126
+ /** the CPU clock speed in GHz */
127
+ cpuSpeedInGhz?: number;
128
+ /** the number of CPU cores */
129
+ numberOfCores?: number;
130
+ }
131
+ interface CrashDialogError {
132
+ /** The name of the package that caused the dialog. */
133
+ crashPackage?: string;
134
+ }
135
+ // tslint:disable-next-line:no-empty-interface
136
+ interface DetectedAppSplashScreen {
137
+ }
138
+ // tslint:disable-next-line:no-empty-interface
139
+ interface DeviceOutOfMemory {
140
+ }
141
+ interface Duration {
142
+ /**
143
+ * Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos`
144
+ * field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999
145
+ * inclusive.
146
+ */
147
+ nanos?: number;
148
+ /**
149
+ * Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25
150
+ * days/year * 10000 years
151
+ */
152
+ seconds?: string;
153
+ }
154
+ interface EncounteredLoginScreen {
155
+ /** Number of encountered distinct login screens. */
156
+ distinctScreens?: number;
157
+ /** Subset of login screens. */
158
+ screenIds?: string[];
159
+ }
160
+ interface EncounteredNonAndroidUiWidgetScreen {
161
+ /** Number of encountered distinct screens with non Android UI widgets. */
162
+ distinctScreens?: number;
163
+ /** Subset of screens which contain non Android UI widgets. */
164
+ screenIds?: string[];
165
+ }
166
+ interface Environment {
167
+ /** Output only. The time when the Environment status was set to complete. This value will be set automatically when state transitions to COMPLETE. */
168
+ completionTime?: Timestamp;
169
+ /** Output only. The time when the Environment was created. */
170
+ creationTime?: Timestamp;
171
+ /**
172
+ * Dimension values describing the environment. Dimension values always consist of "Model", "Version", "Locale", and "Orientation". - In response: always set - In create request:
173
+ * always set - In update request: never set
174
+ */
175
+ dimensionValue?: EnvironmentDimensionValueEntry[];
176
+ /** A short human-readable name to display in the UI. Maximum of 100 characters. For example: Nexus 5, API 27. */
177
+ displayName?: string;
178
+ /** Output only. An Environment id. */
179
+ environmentId?: string;
180
+ /** Merged result of the environment. */
181
+ environmentResult?: MergedResult;
182
+ /** Output only. An Execution id. */
183
+ executionId?: string;
184
+ /** Output only. A History id. */
185
+ historyId?: string;
186
+ /** Output only. A Project id. */
187
+ projectId?: string;
188
+ /** The location where output files are stored in the user bucket. */
189
+ resultsStorage?: ResultsStorage;
190
+ /** Output only. Summaries of shards. Only one shard will present unless sharding feature is enabled in TestExecutionService. */
191
+ shardSummaries?: ShardSummary[];
192
+ }
193
+ interface EnvironmentDimensionValueEntry {
194
+ key?: string;
195
+ value?: string;
196
+ }
197
+ interface Execution {
198
+ /**
199
+ * The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is
200
+ * COMPLETE. - In create/update request: never set
201
+ */
202
+ completionTime?: Timestamp;
203
+ /** The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set */
204
+ creationTime?: Timestamp;
205
+ /**
206
+ * The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an
207
+ * update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response:
208
+ * present if set by create - In create request: optional - In update request: never set
209
+ */
210
+ dimensionDefinitions?: any[];
211
+ /**
212
+ * A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update
213
+ * request: never set
214
+ */
215
+ executionId?: string;
216
+ /** Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional */
217
+ outcome?: Outcome;
218
+ /** Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional */
219
+ specification?: Specification;
220
+ /**
221
+ * The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The
222
+ * state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress
223
+ * steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update
224
+ * request: optional
225
+ */
226
+ state?: string;
227
+ /** TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set */
228
+ testExecutionMatrixId?: string;
229
+ }
230
+ // tslint:disable-next-line:no-empty-interface
231
+ interface FailedToInstall {
232
+ }
233
+ interface FailureDetail {
234
+ /** If the failure was severe because the system (app) under test crashed. */
235
+ crashed?: boolean;
236
+ /** If the device ran out of memory during a test, causing the test to crash. */
237
+ deviceOutOfMemory?: boolean;
238
+ /** If the Roboscript failed to complete successfully, e.g., because a Roboscript action or assertion failed or a Roboscript action could not be matched during the entire crawl. */
239
+ failedRoboscript?: boolean;
240
+ /** If an app is not installed and thus no test can be run with the app. This might be caused by trying to run a test on an unsupported platform. */
241
+ notInstalled?: boolean;
242
+ /** If a native process (including any other than the app) crashed. */
243
+ otherNativeCrash?: boolean;
244
+ /** If the test overran some time limit, and that is why it failed. */
245
+ timedOut?: boolean;
246
+ /** If the robo was unable to crawl the app; perhaps because the app did not start. */
247
+ unableToCrawl?: boolean;
248
+ }
249
+ interface FatalException {
250
+ /** The stack trace of the fatal exception. Optional. */
251
+ stackTrace?: StackTrace;
252
+ }
253
+ interface FileReference {
254
+ /**
255
+ * The URI of a file stored in Google Cloud Storage. For example: http://storage.googleapis.com/mybucket/path/to/test.xml or in gsutil format: gs://mybucket/path/to/test.xml with
256
+ * version-specific info, gs://mybucket/path/to/test.xml#1360383693690000 An INVALID_ARGUMENT error will be returned if the URI format is not supported. - In response: always set - In
257
+ * create/update request: always set
258
+ */
259
+ fileUri?: string;
260
+ }
261
+ interface GraphicsStats {
262
+ /** Histogram of frame render times. There should be 154 buckets ranging from [5ms, 6ms) to [4950ms, infinity) */
263
+ buckets?: GraphicsStatsBucket[];
264
+ /** Total "high input latency" events. */
265
+ highInputLatencyCount?: string;
266
+ /** Total frames with slow render time. Should be <= total_frames. */
267
+ jankyFrames?: string;
268
+ /** Total "missed vsync" events. */
269
+ missedVsyncCount?: string;
270
+ /** 50th percentile frame render time in milliseconds. */
271
+ p50Millis?: string;
272
+ /** 90th percentile frame render time in milliseconds. */
273
+ p90Millis?: string;
274
+ /** 95th percentile frame render time in milliseconds. */
275
+ p95Millis?: string;
276
+ /** 99th percentile frame render time in milliseconds. */
277
+ p99Millis?: string;
278
+ /** Total "slow bitmap upload" events. */
279
+ slowBitmapUploadCount?: string;
280
+ /** Total "slow draw" events. */
281
+ slowDrawCount?: string;
282
+ /** Total "slow UI thread" events. */
283
+ slowUiThreadCount?: string;
284
+ /** Total frames rendered by package. */
285
+ totalFrames?: string;
286
+ }
287
+ interface GraphicsStatsBucket {
288
+ /** Number of frames in the bucket. */
289
+ frameCount?: string;
290
+ /** Lower bound of render time in milliseconds. */
291
+ renderMillis?: string;
292
+ }
293
+ interface History {
294
+ /** A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional */
295
+ displayName?: string;
296
+ /**
297
+ * A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request:
298
+ * never set
299
+ */
300
+ historyId?: string;
301
+ /** A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set */
302
+ name?: string;
303
+ /** The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown. */
304
+ testPlatform?: string;
305
+ }
306
+ interface Image {
307
+ /** An error explaining why the thumbnail could not be rendered. */
308
+ error?: Status;
309
+ /** A reference to the full-size, original image. This is the same as the tool_outputs entry for the image under its Step. Always set. */
310
+ sourceImage?: ToolOutputReference;
311
+ /** The step to which the image is attached. Always set. */
312
+ stepId?: string;
313
+ /** The thumbnail. */
314
+ thumbnail?: Thumbnail;
315
+ }
316
+ interface InAppPurchasesFound {
317
+ /** The total number of in-app purchases flows explored: how many times the robo tries to buy a SKU. */
318
+ inAppPurchasesFlowsExplored?: number;
319
+ /** The total number of in-app purchases flows started. */
320
+ inAppPurchasesFlowsStarted?: number;
321
+ }
322
+ interface InconclusiveDetail {
323
+ /**
324
+ * If the end user aborted the test execution before a pass or fail could be determined. For example, the user pressed ctrl-c which sent a kill signal to the test runner while the test
325
+ * was running.
326
+ */
327
+ abortedByUser?: boolean;
328
+ /** If results are being provided to the user in certain cases of infrastructure failures */
329
+ hasErrorLogs?: boolean;
330
+ /**
331
+ * If the test runner could not determine success or failure because the test depends on a component other than the system under test which failed. For example, a mobile test requires
332
+ * provisioning a device where the test executes, and that provisioning can fail.
333
+ */
334
+ infrastructureFailure?: boolean;
335
+ }
336
+ interface IndividualOutcome {
337
+ /** Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive). The primary step is 0. */
338
+ multistepNumber?: number;
339
+ outcomeSummary?: string;
340
+ /** How long it took for this step to run. */
341
+ runDuration?: Duration;
342
+ stepId?: string;
343
+ }
344
+ // tslint:disable-next-line:no-empty-interface
345
+ interface InsufficientCoverage {
346
+ }
347
+ interface IosAppCrashed {
348
+ /** The stack trace, if one is available. Optional. */
349
+ stackTrace?: StackTrace;
350
+ }
351
+ interface IosAppInfo {
352
+ /** The name of the app. Required */
353
+ name?: string;
354
+ }
355
+ // tslint:disable-next-line:no-empty-interface
356
+ interface IosRoboTest {
357
+ }
358
+ interface IosTest {
359
+ /** Information about the application under test. */
360
+ iosAppInfo?: IosAppInfo;
361
+ /** An iOS Robo test. */
362
+ iosRoboTest?: any;
363
+ /** An iOS test loop. */
364
+ iosTestLoop?: IosTestLoop;
365
+ /** An iOS XCTest. */
366
+ iosXcTest?: IosXcTest;
367
+ /** Max time a test is allowed to run before it is automatically cancelled. */
368
+ testTimeout?: Duration;
369
+ }
370
+ interface IosTestLoop {
371
+ /** Bundle ID of the app. */
372
+ bundleId?: string;
373
+ }
374
+ interface IosXcTest {
375
+ /** Bundle ID of the app. */
376
+ bundleId?: string;
377
+ /** Xcode version that the test was run with. */
378
+ xcodeVersion?: string;
379
+ }
380
+ // tslint:disable-next-line:no-empty-interface
381
+ interface LauncherActivityNotFound {
382
+ }
383
+ interface ListEnvironmentsResponse {
384
+ /** Environments. Always set. */
385
+ environments?: Environment[];
386
+ /** A Execution id Always set. */
387
+ executionId?: string;
388
+ /** A History id. Always set. */
389
+ historyId?: string;
390
+ /** A continuation token to resume the query at the next item. Will only be set if there are more Environments to fetch. */
391
+ nextPageToken?: string;
392
+ /** A Project id. Always set. */
393
+ projectId?: string;
394
+ }
395
+ interface ListExecutionsResponse {
396
+ /** Executions. Always set. */
397
+ executions?: Execution[];
398
+ /** A continuation token to resume the query at the next item. Will only be set if there are more Executions to fetch. */
399
+ nextPageToken?: string;
400
+ }
401
+ interface ListHistoriesResponse {
402
+ /** Histories. */
403
+ histories?: History[];
404
+ /**
405
+ * A continuation token to resume the query at the next item. Will only be set if there are more histories to fetch. Tokens are valid for up to one hour from the time of the first list
406
+ * request. For instance, if you make a list request at 1PM and use the token from this first request 10 minutes later, the token from this second response will only be valid for 50
407
+ * minutes.
408
+ */
409
+ nextPageToken?: string;
410
+ }
411
+ interface ListPerfSampleSeriesResponse {
412
+ /** The resulting PerfSampleSeries sorted by id */
413
+ perfSampleSeries?: PerfSampleSeries[];
414
+ }
415
+ interface ListPerfSamplesResponse {
416
+ /**
417
+ * Optional, returned if result size exceeds the page size specified in the request (or the default page size, 500, if unspecified). It indicates the last sample timestamp to be used
418
+ * as page_token in subsequent request
419
+ */
420
+ nextPageToken?: string;
421
+ perfSamples?: PerfSample[];
422
+ }
423
+ interface ListScreenshotClustersResponse {
424
+ /** The set of clusters associated with an execution Always set */
425
+ clusters?: ScreenshotCluster[];
426
+ }
427
+ interface ListStepAccessibilityClustersResponse {
428
+ /**
429
+ * A sequence of accessibility suggestions, grouped into clusters. Within the sequence, clusters that belong to the same SuggestionCategory should be adjacent. Within each category,
430
+ * clusters should be ordered by their SuggestionPriority (ERRORs first). The categories should be ordered by their highest priority cluster.
431
+ */
432
+ clusters?: SuggestionClusterProto[];
433
+ /** A full resource name of the step. For example, projects/my-project/histories/bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef Always presents. */
434
+ name?: string;
435
+ }
436
+ interface ListStepsResponse {
437
+ /** A continuation token to resume the query at the next item. If set, indicates that there are more steps to read, by calling list again with this value in the page_token field. */
438
+ nextPageToken?: string;
439
+ /** Steps. */
440
+ steps?: Step[];
441
+ }
442
+ interface ListStepThumbnailsResponse {
443
+ /** A continuation token to resume the query at the next item. If set, indicates that there are more thumbnails to read, by calling list again with this value in the page_token field. */
444
+ nextPageToken?: string;
445
+ /**
446
+ * A list of image data. Images are returned in a deterministic order; they are ordered by these factors, in order of importance: * First, by their associated test case. Images without
447
+ * a test case are considered greater than images with one. * Second, by their creation time. Images without a creation time are greater than images with one. * Third, by the order in
448
+ * which they were added to the step (by calls to CreateStep or UpdateStep).
449
+ */
450
+ thumbnails?: Image[];
451
+ }
452
+ interface ListTestCasesResponse {
453
+ nextPageToken?: string;
454
+ /** List of test cases. */
455
+ testCases?: TestCase[];
456
+ }
457
+ // tslint:disable-next-line:no-empty-interface
458
+ interface LogcatCollectionError {
459
+ }
460
+ // tslint:disable-next-line:no-empty-interface
461
+ interface MatrixDimensionDefinition {
462
+ }
463
+ interface MemoryInfo {
464
+ /** Maximum memory that can be allocated to the process in KiB */
465
+ memoryCapInKibibyte?: string;
466
+ /** Total memory available on the device in KiB */
467
+ memoryTotalInKibibyte?: string;
468
+ }
469
+ interface MergedResult {
470
+ /** Outcome of the resource */
471
+ outcome?: Outcome;
472
+ /** State of the resource */
473
+ state?: string;
474
+ /**
475
+ * The combined and rolled-up result of each test suite that was run as part of this environment. Combining: When the test cases from a suite are run in different steps (sharding), the
476
+ * results are added back together in one overview. (e.g., if shard1 has 2 failures and shard2 has 1 failure than the overview failure_count = 3). Rollup: When test cases from the same
477
+ * suite are run multiple times (flaky), the results are combined (e.g., if testcase1.run1 fails, testcase1.run2 passes, and both testcase2.run1 and testcase2.run2 fail then the
478
+ * overview flaky_count = 1 and failure_count = 1).
479
+ */
480
+ testSuiteOverviews?: TestSuiteOverview[];
481
+ }
482
+ interface MultiStep {
483
+ /** Unique int given to each step. Ranges from 0(inclusive) to total number of steps(exclusive). The primary step is 0. */
484
+ multistepNumber?: number;
485
+ /** Present if it is a primary (original) step. */
486
+ primaryStep?: PrimaryStep;
487
+ /** Step Id of the primary (original) step, which might be this step. */
488
+ primaryStepId?: string;
489
+ }
490
+ interface NativeCrash {
491
+ /** The stack trace of the native crash. Optional. */
492
+ stackTrace?: StackTrace;
493
+ }
494
+ interface NonSdkApi {
495
+ /** The signature of the Non-SDK API */
496
+ apiSignature?: string;
497
+ /** Example stack traces of this API being called. */
498
+ exampleStackTraces?: string[];
499
+ /** Optional debugging insights for non-SDK API violations. */
500
+ insights?: NonSdkApiInsight[];
501
+ /** The total number of times this API was observed to have been called. */
502
+ invocationCount?: number;
503
+ /** Which list this API appears on */
504
+ list?: string;
505
+ }
506
+ interface NonSdkApiInsight {
507
+ /** Optional sample stack traces, for which this insight applies (there should be at least one). */
508
+ exampleTraceMessages?: string[];
509
+ /** A unique ID, to be used for determining the effectiveness of this particular insight in the context of a matcher. (required) */
510
+ matcherId?: string;
511
+ /** An insight indicating that the hidden API usage originates from a Google-provided library. */
512
+ pendingGoogleUpdateInsight?: PendingGoogleUpdateInsight;
513
+ /** An insight indicating that the hidden API usage originates from the use of a library that needs to be upgraded. */
514
+ upgradeInsight?: UpgradeInsight;
515
+ }
516
+ interface NonSdkApiUsageViolation {
517
+ /** Signatures of a subset of those hidden API's. */
518
+ apiSignatures?: string[];
519
+ /** Total number of unique hidden API's accessed. */
520
+ uniqueApis?: number;
521
+ }
522
+ interface NonSdkApiUsageViolationReport {
523
+ /** Examples of the detected API usages. */
524
+ exampleApis?: NonSdkApi[];
525
+ /** Minimum API level required for the application to run. */
526
+ minSdkVersion?: number;
527
+ /** Specifies the API Level on which the application is designed to run. */
528
+ targetSdkVersion?: number;
529
+ /** Total number of unique Non-SDK API's accessed. */
530
+ uniqueApis?: number;
531
+ }
532
+ interface Outcome {
533
+ /** More information about a FAILURE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. Optional */
534
+ failureDetail?: FailureDetail;
535
+ /** More information about an INCONCLUSIVE outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not INCONCLUSIVE. Optional */
536
+ inconclusiveDetail?: InconclusiveDetail;
537
+ /** More information about a SKIPPED outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. Optional */
538
+ skippedDetail?: SkippedDetail;
539
+ /** More information about a SUCCESS outcome. Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. Optional */
540
+ successDetail?: SuccessDetail;
541
+ /** The simplest way to interpret a result. Required */
542
+ summary?: string;
543
+ }
544
+ interface OverlappingUIElements {
545
+ /** Resource names of the overlapping screen elements */
546
+ resourceName?: string[];
547
+ /** The screen id of the elements */
548
+ screenId?: string;
549
+ }
550
+ interface PendingGoogleUpdateInsight {
551
+ /** The name of the Google-provided library with the non-SDK API dependency. */
552
+ nameOfGoogleLibrary?: string;
553
+ }
554
+ interface PerfEnvironment {
555
+ /** CPU related environment info */
556
+ cpuInfo?: CPUInfo;
557
+ /** Memory related environment info */
558
+ memoryInfo?: MemoryInfo;
559
+ }
560
+ interface PerfMetricsSummary {
561
+ appStartTime?: AppStartTime;
562
+ /** A tool results execution ID. @OutputOnly */
563
+ executionId?: string;
564
+ /** Graphics statistics for the entire run. Statistics are reset at the beginning of the run and collected at the end of the run. */
565
+ graphicsStats?: GraphicsStats;
566
+ /** A tool results history ID. @OutputOnly */
567
+ historyId?: string;
568
+ /** Describes the environment in which the performance metrics were collected */
569
+ perfEnvironment?: PerfEnvironment;
570
+ /** Set of resource collected */
571
+ perfMetrics?: string[];
572
+ /** The cloud project @OutputOnly */
573
+ projectId?: string;
574
+ /** A tool results step ID. @OutputOnly */
575
+ stepId?: string;
576
+ }
577
+ // tslint:disable-next-line:no-empty-interface
578
+ interface PerformedGoogleLogin {
579
+ }
580
+ interface PerformedMonkeyActions {
581
+ /** The total number of monkey actions performed during the crawl. */
582
+ totalActions?: number;
583
+ }
584
+ interface PerfSample {
585
+ /** Timestamp of collection. */
586
+ sampleTime?: Timestamp;
587
+ /** Value observed */
588
+ value?: number;
589
+ }
590
+ interface PerfSampleSeries {
591
+ /** Basic series represented by a line chart */
592
+ basicPerfSampleSeries?: BasicPerfSampleSeries;
593
+ /** A tool results execution ID. @OutputOnly */
594
+ executionId?: string;
595
+ /** A tool results history ID. @OutputOnly */
596
+ historyId?: string;
597
+ /** The cloud project @OutputOnly */
598
+ projectId?: string;
599
+ /** A sample series id @OutputOnly */
600
+ sampleSeriesId?: string;
601
+ /** A tool results step ID. @OutputOnly */
602
+ stepId?: string;
603
+ }
604
+ interface PrimaryStep {
605
+ /** Step Id and outcome of each individual step. */
606
+ individualOutcome?: IndividualOutcome[];
607
+ /** Rollup test status of multiple steps that were run with the same configuration as a group. */
608
+ rollUp?: string;
609
+ }
610
+ interface ProjectSettings {
611
+ /** The name of the Google Cloud Storage bucket to which results are written. By default, this is unset. In update request: optional In response: optional */
612
+ defaultBucket?: string;
613
+ /** The name of the project's settings. Always of the form: projects/{project-id}/settings In update request: never set In response: always set */
614
+ name?: string;
615
+ }
616
+ interface PublishXunitXmlFilesRequest {
617
+ /** URI of the Xunit XML files to publish. The maximum size of the file this reference is pointing to is 50MB. Required. */
618
+ xunitXmlFiles?: FileReference[];
619
+ }
620
+ interface RegionProto {
621
+ /** The height, in pixels. Always set. */
622
+ heightPx?: number;
623
+ /** The left side of the rectangle, in pixels. Always set. */
624
+ leftPx?: number;
625
+ /** The top of the rectangle, in pixels. Always set. */
626
+ topPx?: number;
627
+ /** The width, in pixels. Always set. */
628
+ widthPx?: number;
629
+ }
630
+ interface ResultsStorage {
631
+ /** The root directory for test results. */
632
+ resultsStoragePath?: FileReference;
633
+ /** The path to the Xunit XML file. */
634
+ xunitXmlFile?: FileReference;
635
+ }
636
+ interface RoboScriptExecution {
637
+ /** The number of Robo script actions executed successfully. */
638
+ successfulActions?: number;
639
+ /** The total number of actions in the Robo script. */
640
+ totalActions?: number;
641
+ }
642
+ interface SafeHtmlProto {
643
+ /**
644
+ * IMPORTANT: Never set or read this field, even from tests, it is private. See documentation at the top of .proto file for programming language packages with which to create or read
645
+ * this message.
646
+ */
647
+ privateDoNotAccessOrElseSafeHtmlWrappedValue?: string;
648
+ }
649
+ interface Screen {
650
+ /** File reference of the png file. Required. */
651
+ fileReference?: string;
652
+ /** Locale of the device that the screenshot was taken on. Required. */
653
+ locale?: string;
654
+ /** Model of the device that the screenshot was taken on. Required. */
655
+ model?: string;
656
+ /** OS version of the device that the screenshot was taken on. Required. */
657
+ version?: string;
658
+ }
659
+ interface ScreenshotCluster {
660
+ /** A string that describes the activity of every screen in the cluster. */
661
+ activity?: string;
662
+ /** A unique identifier for the cluster. @OutputOnly */
663
+ clusterId?: string;
664
+ /**
665
+ * A singular screen that represents the cluster as a whole. This screen will act as the "cover" of the entire cluster. When users look at the clusters, only the key screen from each
666
+ * cluster will be shown. Which screen is the key screen is determined by the ClusteringAlgorithm
667
+ */
668
+ keyScreen?: Screen;
669
+ /** Full list of screens. */
670
+ screens?: Screen[];
671
+ }
672
+ interface ShardSummary {
673
+ /**
674
+ * Summaries of the steps belonging to the shard. With flaky_test_attempts enabled from TestExecutionService, more than one run (Step) can present. And the runs will be sorted by
675
+ * multistep_number.
676
+ */
677
+ runs?: any[];
678
+ /** Merged result of the shard. */
679
+ shardResult?: MergedResult;
680
+ }
681
+ interface SkippedDetail {
682
+ /** If the App doesn't support the specific API level. */
683
+ incompatibleAppVersion?: boolean;
684
+ /** If the App doesn't run on the specific architecture, for example, x86. */
685
+ incompatibleArchitecture?: boolean;
686
+ /** If the requested OS version doesn't run on the specific device model. */
687
+ incompatibleDevice?: boolean;
688
+ }
689
+ interface Specification {
690
+ /** An Android mobile test execution specification. */
691
+ androidTest?: AndroidTest;
692
+ /** An iOS mobile test execution specification. */
693
+ iosTest?: IosTest;
694
+ }
695
+ interface StackTrace {
696
+ /** The stack trace message. Required */
697
+ exception?: string;
698
+ }
699
+ interface StartActivityNotFound {
700
+ action?: string;
701
+ uri?: string;
702
+ }
703
+ interface Status {
704
+ /** The status code, which should be an enum value of google.rpc.Code. */
705
+ code?: number;
706
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
707
+ details?: Array<{ [P in string]: any }>;
708
+ /**
709
+ * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
710
+ * client.
711
+ */
712
+ message?: string;
713
+ }
714
+ interface Step {
715
+ /**
716
+ * The time when the step status was set to complete. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. -
717
+ * In create/update request: never set
718
+ */
719
+ completionTime?: Timestamp;
720
+ /** The time when the step was created. - In response: always set - In create/update request: never set */
721
+ creationTime?: Timestamp;
722
+ /** A description of this tool For example: mvn clean package -D skipTests=true - In response: present if set by create/update request - In create/update request: optional */
723
+ description?: string;
724
+ /**
725
+ * How much the device resource is used to perform the test. This is the device usage used for billing purpose, which is different from the run_duration, for example, infrastructure
726
+ * failure won't be charged for device usage. PRECONDITION_FAILED will be returned if one attempts to set a device_usage on a step which already has this field set. - In response:
727
+ * present if previously set. - In create request: optional - In update request: optional
728
+ */
729
+ deviceUsageDuration?: Duration;
730
+ /**
731
+ * If the execution containing this step has any dimension_definition set, then this field allows the child to specify the values of the dimensions. The keys must exactly match the
732
+ * dimension_definition of the execution. For example, if the execution has `dimension_definition = ['attempt', 'device']` then a step must define values for those dimensions, eg.
733
+ * `dimension_value = ['attempt': '1', 'device': 'Nexus 6']` If a step does not participate in one dimension of the matrix, the value for that dimension should be empty string. For
734
+ * example, if one of the tests is executed by a runner which does not support retries, the step could have `dimension_value = ['attempt': '', 'device': 'Nexus 6']` If the step does
735
+ * not participate in any dimensions of the matrix, it may leave dimension_value unset. A PRECONDITION_FAILED will be returned if any of the keys do not exist in the
736
+ * dimension_definition of the execution. A PRECONDITION_FAILED will be returned if another step in this execution already has the same name and dimension_value, but differs on other
737
+ * data fields, for example, step field is different. A PRECONDITION_FAILED will be returned if dimension_value is set, and there is a dimension_definition in the execution which is
738
+ * not specified as one of the keys. - In response: present if set by create - In create request: optional - In update request: never set
739
+ */
740
+ dimensionValue?: StepDimensionValueEntry[];
741
+ /** Whether any of the outputs of this step are images whose thumbnails can be fetched with ListThumbnails. - In response: always set - In create/update request: never set */
742
+ hasImages?: boolean;
743
+ /**
744
+ * Arbitrary user-supplied key/value pairs that are associated with the step. Users are responsible for managing the key namespace such that keys don't accidentally collide. An
745
+ * INVALID_ARGUMENT will be returned if the number of labels exceeds 100 or if the length of any of the keys or values exceeds 100 characters. - In response: always set - In create
746
+ * request: optional - In update request: optional; any new key/value pair will be added to the map, and any new value for an existing key will update that key's value
747
+ */
748
+ labels?: StepLabelsEntry[];
749
+ /**
750
+ * Details when multiple steps are run with the same configuration as a group. These details can be used identify which group this step is part of. It also identifies the groups
751
+ * 'primary step' which indexes all the group members. - In response: present if previously set. - In create request: optional, set iff this step was performed more than once. - In
752
+ * update request: optional
753
+ */
754
+ multiStep?: MultiStep;
755
+ /**
756
+ * A short human-readable name to display in the UI. Maximum of 100 characters. For example: Clean build A PRECONDITION_FAILED will be returned upon creating a new step if it shares
757
+ * its name and dimension_value with an existing step. If two steps represent a similar action, but have different dimension values, they should share the same name. For instance, if
758
+ * the same set of tests is run on two different platforms, the two steps should have the same name. - In response: always set - In create request: always set - In update request:
759
+ * never set
760
+ */
761
+ name?: string;
762
+ /** Classification of the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional */
763
+ outcome?: Outcome;
764
+ /**
765
+ * How long it took for this step to run. If unset, this is set to the difference between creation_time and completion_time when the step is set to the COMPLETE state. In some cases,
766
+ * it is appropriate to set this value separately: For instance, if a step is created, but the operation it represents is queued for a few minutes before it executes, it would be
767
+ * appropriate not to include the time spent queued in its run_duration. PRECONDITION_FAILED will be returned if one attempts to set a run_duration on a step which already has this
768
+ * field set. - In response: present if previously set; always present on COMPLETE step - In create request: optional - In update request: optional
769
+ */
770
+ runDuration?: Duration;
771
+ /**
772
+ * The initial state is IN_PROGRESS. The only legal state transitions are * IN_PROGRESS -> COMPLETE A PRECONDITION_FAILED will be returned if an invalid transition is requested. It is
773
+ * valid to create Step with a state set to COMPLETE. The state can only be set to COMPLETE once. A PRECONDITION_FAILED will be returned if the state is set to COMPLETE multiple times.
774
+ * - In response: always set - In create/update request: optional
775
+ */
776
+ state?: string;
777
+ /**
778
+ * A unique identifier within a Execution for this Step. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response: always set - In create/update
779
+ * request: never set
780
+ */
781
+ stepId?: string;
782
+ /** An execution of a test runner. */
783
+ testExecutionStep?: TestExecutionStep;
784
+ /** An execution of a tool (used for steps we don't explicitly support). */
785
+ toolExecutionStep?: ToolExecutionStep;
786
+ }
787
+ interface StepDimensionValueEntry {
788
+ key?: string;
789
+ value?: string;
790
+ }
791
+ interface StepLabelsEntry {
792
+ key?: string;
793
+ value?: string;
794
+ }
795
+ // tslint:disable-next-line:no-empty-interface
796
+ interface StepSummary {
797
+ }
798
+ interface SuccessDetail {
799
+ /** If a native process other than the app crashed. */
800
+ otherNativeCrash?: boolean;
801
+ }
802
+ interface SuggestionClusterProto {
803
+ /** Category in which these types of suggestions should appear. Always set. */
804
+ category?: string;
805
+ /**
806
+ * A sequence of suggestions. All of the suggestions within a cluster must have the same SuggestionPriority and belong to the same SuggestionCategory. Suggestions with the same
807
+ * screenshot URL should be adjacent.
808
+ */
809
+ suggestions?: SuggestionProto[];
810
+ }
811
+ interface SuggestionProto {
812
+ /** Reference to a help center article concerning this type of suggestion. Always set. */
813
+ helpUrl?: string;
814
+ /** Message, in the user's language, explaining the suggestion, which may contain markup. Always set. */
815
+ longMessage?: SafeHtmlProto;
816
+ /** Relative importance of a suggestion. Always set. */
817
+ priority?: string;
818
+ /**
819
+ * A somewhat human readable identifier of the source view, if it does not have a resource_name. This is a path within the accessibility hierarchy, an element with resource name;
820
+ * similar to an XPath.
821
+ */
822
+ pseudoResourceId?: string;
823
+ /** Region within the screenshot that is relevant to this suggestion. Optional. */
824
+ region?: RegionProto;
825
+ /** Reference to a view element, identified by its resource name, if it has one. */
826
+ resourceName?: string;
827
+ /** ID of the screen for the suggestion. It is used for getting the corresponding screenshot path. For example, screen_id "1" corresponds to "1.png" file in GCS. Always set. */
828
+ screenId?: string;
829
+ /**
830
+ * Relative importance of a suggestion as compared with other suggestions that have the same priority and category. This is a meaningless value that can be used to order suggestions
831
+ * that are in the same category and have the same priority. The larger values have higher priority (i.e., are more important). Optional.
832
+ */
833
+ secondaryPriority?: number;
834
+ /** Concise message, in the user's language, representing the suggestion, which may contain markup. Always set. */
835
+ shortMessage?: SafeHtmlProto;
836
+ /** General title for the suggestion, in the user's language, without markup. Always set. */
837
+ title?: string;
838
+ }
839
+ interface TestCase {
840
+ /** The elapsed run time of the test case. Required. */
841
+ elapsedTime?: Duration;
842
+ /** The end time of the test case. */
843
+ endTime?: Timestamp;
844
+ /** Why the test case was skipped. Present only for skipped test case */
845
+ skippedMessage?: string;
846
+ /**
847
+ * The stack trace details if the test case failed or encountered an error. The maximum size of the stack traces is 100KiB, beyond which the stack track will be truncated. Zero if the
848
+ * test case passed.
849
+ */
850
+ stackTraces?: StackTrace[];
851
+ /** The start time of the test case. */
852
+ startTime?: Timestamp;
853
+ /** The status of the test case. Required. */
854
+ status?: string;
855
+ /** A unique identifier within a Step for this Test Case. */
856
+ testCaseId?: string;
857
+ /** Test case reference, e.g. name, class name and test suite name. Required. */
858
+ testCaseReference?: TestCaseReference;
859
+ /** References to opaque files of any format output by the tool execution. @OutputOnly */
860
+ toolOutputs?: ToolOutputReference[];
861
+ }
862
+ interface TestCaseReference {
863
+ /** The name of the class. */
864
+ className?: string;
865
+ /** The name of the test case. Required. */
866
+ name?: string;
867
+ /** The name of the test suite to which this test case belongs. */
868
+ testSuiteName?: string;
869
+ }
870
+ interface TestExecutionStep {
871
+ /**
872
+ * Issues observed during the test execution. For example, if the mobile app under test crashed during the test, the error message and the stack trace content can be recorded here to
873
+ * assist debugging. - In response: present if set by create or update - In create/update request: optional
874
+ */
875
+ testIssues?: TestIssue[];
876
+ /**
877
+ * List of test suite overview contents. This could be parsed from xUnit XML log by server, or uploaded directly by user. This references should only be called when test suites are
878
+ * fully parsed or uploaded. The maximum allowed number of test suite overviews per step is 1000. - In response: always set - In create request: optional - In update request: never
879
+ * (use publishXunitXmlFiles custom method instead)
880
+ */
881
+ testSuiteOverviews?: TestSuiteOverview[];
882
+ /** The timing break down of the test execution. - In response: present if set by create or update - In create/update request: optional */
883
+ testTiming?: TestTiming;
884
+ /** Represents the execution of the test runner. The exit code of this tool will be used to determine if the test passed. - In response: always set - In create/update request: optional */
885
+ toolExecution?: ToolExecution;
886
+ }
887
+ interface TestIssue {
888
+ /** Category of issue. Required. */
889
+ category?: string;
890
+ /** A brief human-readable message describing the issue. Required. */
891
+ errorMessage?: string;
892
+ /** Severity of issue. Required. */
893
+ severity?: string;
894
+ /** Deprecated in favor of stack trace fields inside specific warnings. */
895
+ stackTrace?: StackTrace;
896
+ /** Type of issue. Required. */
897
+ type?: string;
898
+ /** Warning message with additional details of the issue. Should always be a message from com.google.devtools.toolresults.v1.warnings */
899
+ warning?: Any;
900
+ }
901
+ interface TestSuiteOverview {
902
+ /** Elapsed time of test suite. */
903
+ elapsedTime?: Duration;
904
+ /** Number of test cases in error, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never */
905
+ errorCount?: number;
906
+ /** Number of failed test cases, typically set by the service by parsing the xml_source. May also be set by the user. - In create/response: always set - In update request: never */
907
+ failureCount?: number;
908
+ /**
909
+ * Number of flaky test cases, set by the service by rolling up flaky test attempts. Present only for rollup test suite overview at environment level. A step cannot have flaky test
910
+ * cases.
911
+ */
912
+ flakyCount?: number;
913
+ /** The name of the test suite. - In create/response: always set - In update request: never */
914
+ name?: string;
915
+ /** Number of test cases not run, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never */
916
+ skippedCount?: number;
917
+ /** Number of test cases, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never */
918
+ totalCount?: number;
919
+ /**
920
+ * If this test suite was parsed from XML, this is the URI where the original XML file is stored. Note: Multiple test suites can share the same xml_source Returns INVALID_ARGUMENT if
921
+ * the uri format is not supported. - In create/response: optional - In update request: never
922
+ */
923
+ xmlSource?: FileReference;
924
+ }
925
+ interface TestTiming {
926
+ /** How long it took to run the test process. - In response: present if previously set. - In create/update request: optional */
927
+ testProcessDuration?: Duration;
928
+ }
929
+ interface Thumbnail {
930
+ /** The thumbnail's content type, i.e. "image/png". Always set. */
931
+ contentType?: string;
932
+ /**
933
+ * The thumbnail file itself. That is, the bytes here are precisely the bytes that make up the thumbnail file; they can be served as an image as-is (with the appropriate content type.)
934
+ * Always set.
935
+ */
936
+ data?: string;
937
+ /** The height of the thumbnail, in pixels. Always set. */
938
+ heightPx?: number;
939
+ /** The width of the thumbnail, in pixels. Always set. */
940
+ widthPx?: number;
941
+ }
942
+ interface Timestamp {
943
+ /**
944
+ * Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from
945
+ * 0 to 999,999,999 inclusive.
946
+ */
947
+ nanos?: number;
948
+ /** Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. */
949
+ seconds?: string;
950
+ }
951
+ interface ToolExecution {
952
+ /**
953
+ * The full tokenized command line including the program name (equivalent to argv in a C program). - In response: present if set by create request - In create request: optional - In
954
+ * update request: never set
955
+ */
956
+ commandLineArguments?: string[];
957
+ /**
958
+ * Tool execution exit code. This field will be set once the tool has exited. - In response: present if set by create/update request - In create request: optional - In update request:
959
+ * optional, a FAILED_PRECONDITION error will be returned if an exit_code is already set.
960
+ */
961
+ exitCode?: ToolExitCode;
962
+ /**
963
+ * References to any plain text logs output the tool execution. This field can be set before the tool has exited in order to be able to have access to a live view of the logs while the
964
+ * tool is running. The maximum allowed number of tool logs per step is 1000. - In response: present if set by create/update request - In create request: optional - In update request:
965
+ * optional, any value provided will be appended to the existing list
966
+ */
967
+ toolLogs?: FileReference[];
968
+ /**
969
+ * References to opaque files of any format output by the tool execution. The maximum allowed number of tool outputs per step is 1000. - In response: present if set by create/update
970
+ * request - In create request: optional - In update request: optional, any value provided will be appended to the existing list
971
+ */
972
+ toolOutputs?: ToolOutputReference[];
973
+ }
974
+ interface ToolExecutionStep {
975
+ /** A Tool execution. - In response: present if set by create/update request - In create/update request: optional */
976
+ toolExecution?: ToolExecution;
977
+ }
978
+ interface ToolExitCode {
979
+ /** Tool execution exit code. A value of 0 means that the execution was successful. - In response: always set - In create/update request: always set */
980
+ number?: number;
981
+ }
982
+ interface ToolOutputReference {
983
+ /** The creation time of the file. - In response: present if set by create/update request - In create/update request: optional */
984
+ creationTime?: Timestamp;
985
+ /** A FileReference to an output file. - In response: always set - In create/update request: always set */
986
+ output?: FileReference;
987
+ /** The test case to which this output file belongs. - In response: present if set by create/update request - In create/update request: optional */
988
+ testCase?: TestCaseReference;
989
+ }
990
+ interface UIElementTooDeep {
991
+ /** The depth of the screen element */
992
+ depth?: number;
993
+ /** The screen id of the element */
994
+ screenId?: string;
995
+ /** The screen state id of the element */
996
+ screenStateId?: string;
997
+ }
998
+ // tslint:disable-next-line:no-empty-interface
999
+ interface UnspecifiedWarning {
1000
+ }
1001
+ interface UnusedRoboDirective {
1002
+ /** The name of the resource that was unused. */
1003
+ resourceName?: string;
1004
+ }
1005
+ interface UpgradeInsight {
1006
+ /** The name of the package to be upgraded. */
1007
+ packageName?: string;
1008
+ /** The suggested version to upgrade to. Optional: In case we are not sure which version solves this problem */
1009
+ upgradeToVersion?: string;
1010
+ }
1011
+ interface UsedRoboDirective {
1012
+ /** The name of the resource that was used. */
1013
+ resourceName?: string;
1014
+ }
1015
+ interface UsedRoboIgnoreDirective {
1016
+ /** The name of the resource that was ignored. */
1017
+ resourceName?: string;
1018
+ }
1019
+ interface ClustersResource {
1020
+ /** Retrieves a single screenshot cluster by its ID */
1021
+ get(request?: {
1022
+ /** V1 error format. */
1023
+ "$.xgafv"?: string;
1024
+ /** OAuth access token. */
1025
+ access_token?: string;
1026
+ /** Data format for response. */
1027
+ alt?: string;
1028
+ /** JSONP */
1029
+ callback?: string;
1030
+ /** A Cluster id Required. */
1031
+ clusterId: string;
1032
+ /** An Execution id. Required. */
1033
+ executionId: string;
1034
+ /** Selector specifying which fields to include in a partial response. */
1035
+ fields?: string;
1036
+ /** A History id. Required. */
1037
+ historyId: string;
1038
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1039
+ key?: string;
1040
+ /** OAuth 2.0 token for the current user. */
1041
+ oauth_token?: string;
1042
+ /** Returns response with indentations and line breaks. */
1043
+ prettyPrint?: boolean;
1044
+ /** A Project id. Required. */
1045
+ projectId: string;
1046
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1047
+ quotaUser?: string;
1048
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1049
+ upload_protocol?: string;
1050
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1051
+ uploadType?: string;
1052
+ }): Request<ScreenshotCluster>;
1053
+ /**
1054
+ * Lists Screenshot Clusters Returns the list of screenshot clusters corresponding to an execution. Screenshot clusters are created after the execution is finished. Clusters are
1055
+ * created from a set of screenshots. Between any two screenshots, a matching score is calculated based off their metadata that determines how similar they are. Screenshots are placed
1056
+ * in the cluster that has screens which have the highest matching scores.
1057
+ */
1058
+ list(request?: {
1059
+ /** V1 error format. */
1060
+ "$.xgafv"?: string;
1061
+ /** OAuth access token. */
1062
+ access_token?: string;
1063
+ /** Data format for response. */
1064
+ alt?: string;
1065
+ /** JSONP */
1066
+ callback?: string;
1067
+ /** An Execution id. Required. */
1068
+ executionId: string;
1069
+ /** Selector specifying which fields to include in a partial response. */
1070
+ fields?: string;
1071
+ /** A History id. Required. */
1072
+ historyId: string;
1073
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1074
+ key?: string;
1075
+ /** OAuth 2.0 token for the current user. */
1076
+ oauth_token?: string;
1077
+ /** Returns response with indentations and line breaks. */
1078
+ prettyPrint?: boolean;
1079
+ /** A Project id. Required. */
1080
+ projectId: string;
1081
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1082
+ quotaUser?: string;
1083
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1084
+ upload_protocol?: string;
1085
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1086
+ uploadType?: string;
1087
+ }): Request<ListScreenshotClustersResponse>;
1088
+ }
1089
+ interface EnvironmentsResource {
1090
+ /**
1091
+ * Gets an Environment. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request
1092
+ * is malformed - NOT_FOUND - if the Environment does not exist
1093
+ */
1094
+ get(request?: {
1095
+ /** V1 error format. */
1096
+ "$.xgafv"?: string;
1097
+ /** OAuth access token. */
1098
+ access_token?: string;
1099
+ /** Data format for response. */
1100
+ alt?: string;
1101
+ /** JSONP */
1102
+ callback?: string;
1103
+ /** Required. An Environment id. */
1104
+ environmentId: string;
1105
+ /** Required. An Execution id. */
1106
+ executionId: string;
1107
+ /** Selector specifying which fields to include in a partial response. */
1108
+ fields?: string;
1109
+ /** Required. A History id. */
1110
+ historyId: string;
1111
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1112
+ key?: string;
1113
+ /** OAuth 2.0 token for the current user. */
1114
+ oauth_token?: string;
1115
+ /** Returns response with indentations and line breaks. */
1116
+ prettyPrint?: boolean;
1117
+ /** Required. A Project id. */
1118
+ projectId: string;
1119
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1120
+ quotaUser?: string;
1121
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1122
+ upload_protocol?: string;
1123
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1124
+ uploadType?: string;
1125
+ }): Request<Environment>;
1126
+ /**
1127
+ * Lists Environments for a given Execution. The Environments are sorted by display name. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is
1128
+ * not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist
1129
+ */
1130
+ list(request?: {
1131
+ /** V1 error format. */
1132
+ "$.xgafv"?: string;
1133
+ /** OAuth access token. */
1134
+ access_token?: string;
1135
+ /** Data format for response. */
1136
+ alt?: string;
1137
+ /** JSONP */
1138
+ callback?: string;
1139
+ /** Required. An Execution id. */
1140
+ executionId: string;
1141
+ /** Selector specifying which fields to include in a partial response. */
1142
+ fields?: string;
1143
+ /** Required. A History id. */
1144
+ historyId: string;
1145
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1146
+ key?: string;
1147
+ /** OAuth 2.0 token for the current user. */
1148
+ oauth_token?: string;
1149
+ /** The maximum number of Environments to fetch. Default value: 25. The server will use this default if the field is not set or has a value of 0. */
1150
+ pageSize?: number;
1151
+ /** A continuation token to resume the query at the next item. */
1152
+ pageToken?: string;
1153
+ /** Returns response with indentations and line breaks. */
1154
+ prettyPrint?: boolean;
1155
+ /** Required. A Project id. */
1156
+ projectId: string;
1157
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1158
+ quotaUser?: string;
1159
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1160
+ upload_protocol?: string;
1161
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1162
+ uploadType?: string;
1163
+ }): Request<ListEnvironmentsResponse>;
1164
+ }
1165
+ interface PerfMetricsSummaryResource {
1166
+ /**
1167
+ * Creates a PerfMetricsSummary resource. Returns the existing one if it has already been created. May return any of the following error code(s): - NOT_FOUND - The containing Step does
1168
+ * not exist
1169
+ */
1170
+ create(request: {
1171
+ /** V1 error format. */
1172
+ "$.xgafv"?: string;
1173
+ /** OAuth access token. */
1174
+ access_token?: string;
1175
+ /** Data format for response. */
1176
+ alt?: string;
1177
+ /** JSONP */
1178
+ callback?: string;
1179
+ /** A tool results execution ID. */
1180
+ executionId: string;
1181
+ /** Selector specifying which fields to include in a partial response. */
1182
+ fields?: string;
1183
+ /** A tool results history ID. */
1184
+ historyId: string;
1185
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1186
+ key?: string;
1187
+ /** OAuth 2.0 token for the current user. */
1188
+ oauth_token?: string;
1189
+ /** Returns response with indentations and line breaks. */
1190
+ prettyPrint?: boolean;
1191
+ /** The cloud project */
1192
+ projectId: string;
1193
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1194
+ quotaUser?: string;
1195
+ /** A tool results step ID. */
1196
+ stepId: string;
1197
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1198
+ upload_protocol?: string;
1199
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1200
+ uploadType?: string;
1201
+ /** Request body */
1202
+ resource: PerfMetricsSummary;
1203
+ }): Request<PerfMetricsSummary>;
1204
+ create(request: {
1205
+ /** V1 error format. */
1206
+ "$.xgafv"?: string;
1207
+ /** OAuth access token. */
1208
+ access_token?: string;
1209
+ /** Data format for response. */
1210
+ alt?: string;
1211
+ /** JSONP */
1212
+ callback?: string;
1213
+ /** A tool results execution ID. */
1214
+ executionId: string;
1215
+ /** Selector specifying which fields to include in a partial response. */
1216
+ fields?: string;
1217
+ /** A tool results history ID. */
1218
+ historyId: string;
1219
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1220
+ key?: string;
1221
+ /** OAuth 2.0 token for the current user. */
1222
+ oauth_token?: string;
1223
+ /** Returns response with indentations and line breaks. */
1224
+ prettyPrint?: boolean;
1225
+ /** The cloud project */
1226
+ projectId: string;
1227
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1228
+ quotaUser?: string;
1229
+ /** A tool results step ID. */
1230
+ stepId: string;
1231
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1232
+ upload_protocol?: string;
1233
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1234
+ uploadType?: string;
1235
+ },
1236
+ body: PerfMetricsSummary): Request<PerfMetricsSummary>;
1237
+ }
1238
+ interface SamplesResource {
1239
+ /**
1240
+ * Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload - duplicates
1241
+ * and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements successfully inserted is returned in the response (omits items
1242
+ * which already existed in the database). May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist
1243
+ */
1244
+ batchCreate(request: {
1245
+ /** V1 error format. */
1246
+ "$.xgafv"?: string;
1247
+ /** OAuth access token. */
1248
+ access_token?: string;
1249
+ /** Data format for response. */
1250
+ alt?: string;
1251
+ /** JSONP */
1252
+ callback?: string;
1253
+ /** A tool results execution ID. */
1254
+ executionId: string;
1255
+ /** Selector specifying which fields to include in a partial response. */
1256
+ fields?: string;
1257
+ /** A tool results history ID. */
1258
+ historyId: string;
1259
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1260
+ key?: string;
1261
+ /** OAuth 2.0 token for the current user. */
1262
+ oauth_token?: string;
1263
+ /** Returns response with indentations and line breaks. */
1264
+ prettyPrint?: boolean;
1265
+ /** The cloud project */
1266
+ projectId: string;
1267
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1268
+ quotaUser?: string;
1269
+ /** A sample series id */
1270
+ sampleSeriesId: string;
1271
+ /** A tool results step ID. */
1272
+ stepId: string;
1273
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1274
+ upload_protocol?: string;
1275
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1276
+ uploadType?: string;
1277
+ /** Request body */
1278
+ resource: BatchCreatePerfSamplesRequest;
1279
+ }): Request<BatchCreatePerfSamplesResponse>;
1280
+ batchCreate(request: {
1281
+ /** V1 error format. */
1282
+ "$.xgafv"?: string;
1283
+ /** OAuth access token. */
1284
+ access_token?: string;
1285
+ /** Data format for response. */
1286
+ alt?: string;
1287
+ /** JSONP */
1288
+ callback?: string;
1289
+ /** A tool results execution ID. */
1290
+ executionId: string;
1291
+ /** Selector specifying which fields to include in a partial response. */
1292
+ fields?: string;
1293
+ /** A tool results history ID. */
1294
+ historyId: string;
1295
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1296
+ key?: string;
1297
+ /** OAuth 2.0 token for the current user. */
1298
+ oauth_token?: string;
1299
+ /** Returns response with indentations and line breaks. */
1300
+ prettyPrint?: boolean;
1301
+ /** The cloud project */
1302
+ projectId: string;
1303
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1304
+ quotaUser?: string;
1305
+ /** A sample series id */
1306
+ sampleSeriesId: string;
1307
+ /** A tool results step ID. */
1308
+ stepId: string;
1309
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1310
+ upload_protocol?: string;
1311
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1312
+ uploadType?: string;
1313
+ },
1314
+ body: BatchCreatePerfSamplesRequest): Request<BatchCreatePerfSamplesResponse>;
1315
+ /**
1316
+ * Lists the Performance Samples of a given Sample Series - The list results are sorted by timestamps ascending - The default page size is 500 samples; and maximum size allowed 5000 -
1317
+ * The response token indicates the last returned PerfSample timestamp - When the results size exceeds the page size, submit a subsequent request including the page token to return the
1318
+ * rest of the samples up to the page limit May return any of the following canonical error codes: - OUT_OF_RANGE - The specified request page_token is out of valid range - NOT_FOUND -
1319
+ * The containing PerfSampleSeries does not exist
1320
+ */
1321
+ list(request?: {
1322
+ /** V1 error format. */
1323
+ "$.xgafv"?: string;
1324
+ /** OAuth access token. */
1325
+ access_token?: string;
1326
+ /** Data format for response. */
1327
+ alt?: string;
1328
+ /** JSONP */
1329
+ callback?: string;
1330
+ /** A tool results execution ID. */
1331
+ executionId: string;
1332
+ /** Selector specifying which fields to include in a partial response. */
1333
+ fields?: string;
1334
+ /** A tool results history ID. */
1335
+ historyId: string;
1336
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1337
+ key?: string;
1338
+ /** OAuth 2.0 token for the current user. */
1339
+ oauth_token?: string;
1340
+ /** The default page size is 500 samples, and the maximum size is 5000. If the page_size is greater than 5000, the effective page size will be 5000 */
1341
+ pageSize?: number;
1342
+ /** Optional, the next_page_token returned in the previous response */
1343
+ pageToken?: string;
1344
+ /** Returns response with indentations and line breaks. */
1345
+ prettyPrint?: boolean;
1346
+ /** The cloud project */
1347
+ projectId: string;
1348
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1349
+ quotaUser?: string;
1350
+ /** A sample series id */
1351
+ sampleSeriesId: string;
1352
+ /** A tool results step ID. */
1353
+ stepId: string;
1354
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1355
+ upload_protocol?: string;
1356
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1357
+ uploadType?: string;
1358
+ }): Request<ListPerfSamplesResponse>;
1359
+ }
1360
+ interface PerfSampleSeriesResource {
1361
+ /**
1362
+ * Creates a PerfSampleSeries. May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step
1363
+ * does not exist
1364
+ */
1365
+ create(request: {
1366
+ /** V1 error format. */
1367
+ "$.xgafv"?: string;
1368
+ /** OAuth access token. */
1369
+ access_token?: string;
1370
+ /** Data format for response. */
1371
+ alt?: string;
1372
+ /** JSONP */
1373
+ callback?: string;
1374
+ /** A tool results execution ID. */
1375
+ executionId: string;
1376
+ /** Selector specifying which fields to include in a partial response. */
1377
+ fields?: string;
1378
+ /** A tool results history ID. */
1379
+ historyId: string;
1380
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1381
+ key?: string;
1382
+ /** OAuth 2.0 token for the current user. */
1383
+ oauth_token?: string;
1384
+ /** Returns response with indentations and line breaks. */
1385
+ prettyPrint?: boolean;
1386
+ /** The cloud project */
1387
+ projectId: string;
1388
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1389
+ quotaUser?: string;
1390
+ /** A tool results step ID. */
1391
+ stepId: string;
1392
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1393
+ upload_protocol?: string;
1394
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1395
+ uploadType?: string;
1396
+ /** Request body */
1397
+ resource: PerfSampleSeries;
1398
+ }): Request<PerfSampleSeries>;
1399
+ create(request: {
1400
+ /** V1 error format. */
1401
+ "$.xgafv"?: string;
1402
+ /** OAuth access token. */
1403
+ access_token?: string;
1404
+ /** Data format for response. */
1405
+ alt?: string;
1406
+ /** JSONP */
1407
+ callback?: string;
1408
+ /** A tool results execution ID. */
1409
+ executionId: string;
1410
+ /** Selector specifying which fields to include in a partial response. */
1411
+ fields?: string;
1412
+ /** A tool results history ID. */
1413
+ historyId: string;
1414
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1415
+ key?: string;
1416
+ /** OAuth 2.0 token for the current user. */
1417
+ oauth_token?: string;
1418
+ /** Returns response with indentations and line breaks. */
1419
+ prettyPrint?: boolean;
1420
+ /** The cloud project */
1421
+ projectId: string;
1422
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1423
+ quotaUser?: string;
1424
+ /** A tool results step ID. */
1425
+ stepId: string;
1426
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1427
+ upload_protocol?: string;
1428
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1429
+ uploadType?: string;
1430
+ },
1431
+ body: PerfSampleSeries): Request<PerfSampleSeries>;
1432
+ /** Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist */
1433
+ get(request?: {
1434
+ /** V1 error format. */
1435
+ "$.xgafv"?: string;
1436
+ /** OAuth access token. */
1437
+ access_token?: string;
1438
+ /** Data format for response. */
1439
+ alt?: string;
1440
+ /** JSONP */
1441
+ callback?: string;
1442
+ /** A tool results execution ID. */
1443
+ executionId: string;
1444
+ /** Selector specifying which fields to include in a partial response. */
1445
+ fields?: string;
1446
+ /** A tool results history ID. */
1447
+ historyId: string;
1448
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1449
+ key?: string;
1450
+ /** OAuth 2.0 token for the current user. */
1451
+ oauth_token?: string;
1452
+ /** Returns response with indentations and line breaks. */
1453
+ prettyPrint?: boolean;
1454
+ /** The cloud project */
1455
+ projectId: string;
1456
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1457
+ quotaUser?: string;
1458
+ /** A sample series id */
1459
+ sampleSeriesId: string;
1460
+ /** A tool results step ID. */
1461
+ stepId: string;
1462
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1463
+ upload_protocol?: string;
1464
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1465
+ uploadType?: string;
1466
+ }): Request<PerfSampleSeries>;
1467
+ /**
1468
+ * Lists PerfSampleSeries for a given Step. The request provides an optional filter which specifies one or more PerfMetricsType to include in the result; if none returns all. The
1469
+ * resulting PerfSampleSeries are sorted by ids. May return any of the following canonical error codes: - NOT_FOUND - The containing Step does not exist
1470
+ */
1471
+ list(request?: {
1472
+ /** V1 error format. */
1473
+ "$.xgafv"?: string;
1474
+ /** OAuth access token. */
1475
+ access_token?: string;
1476
+ /** Data format for response. */
1477
+ alt?: string;
1478
+ /** JSONP */
1479
+ callback?: string;
1480
+ /** A tool results execution ID. */
1481
+ executionId: string;
1482
+ /** Selector specifying which fields to include in a partial response. */
1483
+ fields?: string;
1484
+ /** Specify one or more PerfMetricType values such as CPU to filter the result */
1485
+ filter?: string | string[];
1486
+ /** A tool results history ID. */
1487
+ historyId: string;
1488
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1489
+ key?: string;
1490
+ /** OAuth 2.0 token for the current user. */
1491
+ oauth_token?: string;
1492
+ /** Returns response with indentations and line breaks. */
1493
+ prettyPrint?: boolean;
1494
+ /** The cloud project */
1495
+ projectId: string;
1496
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1497
+ quotaUser?: string;
1498
+ /** A tool results step ID. */
1499
+ stepId: string;
1500
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1501
+ upload_protocol?: string;
1502
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1503
+ uploadType?: string;
1504
+ }): Request<ListPerfSampleSeriesResponse>;
1505
+ samples: SamplesResource;
1506
+ }
1507
+ interface TestCasesResource {
1508
+ /**
1509
+ * Gets details of a Test Case for a Step. Experimental test cases API. Still in active development. May return any of the following canonical error codes: - PERMISSION_DENIED - if the
1510
+ * user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Test Case does not exist
1511
+ */
1512
+ get(request?: {
1513
+ /** V1 error format. */
1514
+ "$.xgafv"?: string;
1515
+ /** OAuth access token. */
1516
+ access_token?: string;
1517
+ /** Data format for response. */
1518
+ alt?: string;
1519
+ /** JSONP */
1520
+ callback?: string;
1521
+ /** A Execution id Required. */
1522
+ executionId: string;
1523
+ /** Selector specifying which fields to include in a partial response. */
1524
+ fields?: string;
1525
+ /** A History id. Required. */
1526
+ historyId: string;
1527
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1528
+ key?: string;
1529
+ /** OAuth 2.0 token for the current user. */
1530
+ oauth_token?: string;
1531
+ /** Returns response with indentations and line breaks. */
1532
+ prettyPrint?: boolean;
1533
+ /** A Project id. Required. */
1534
+ projectId: string;
1535
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1536
+ quotaUser?: string;
1537
+ /** A Step id. Note: This step must include a TestExecutionStep. Required. */
1538
+ stepId: string;
1539
+ /** A Test Case id. Required. */
1540
+ testCaseId: string;
1541
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1542
+ upload_protocol?: string;
1543
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1544
+ uploadType?: string;
1545
+ }): Request<TestCase>;
1546
+ /**
1547
+ * Lists Test Cases attached to a Step. Experimental test cases API. Still in active development. May return any of the following canonical error codes: - PERMISSION_DENIED - if the
1548
+ * user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Step does not exist
1549
+ */
1550
+ list(request?: {
1551
+ /** V1 error format. */
1552
+ "$.xgafv"?: string;
1553
+ /** OAuth access token. */
1554
+ access_token?: string;
1555
+ /** Data format for response. */
1556
+ alt?: string;
1557
+ /** JSONP */
1558
+ callback?: string;
1559
+ /** A Execution id Required. */
1560
+ executionId: string;
1561
+ /** Selector specifying which fields to include in a partial response. */
1562
+ fields?: string;
1563
+ /** A History id. Required. */
1564
+ historyId: string;
1565
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1566
+ key?: string;
1567
+ /** OAuth 2.0 token for the current user. */
1568
+ oauth_token?: string;
1569
+ /** The maximum number of TestCases to fetch. Default value: 100. The server will use this default if the field is not set or has a value of 0. Optional. */
1570
+ pageSize?: number;
1571
+ /** A continuation token to resume the query at the next item. Optional. */
1572
+ pageToken?: string;
1573
+ /** Returns response with indentations and line breaks. */
1574
+ prettyPrint?: boolean;
1575
+ /** A Project id. Required. */
1576
+ projectId: string;
1577
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1578
+ quotaUser?: string;
1579
+ /** A Step id. Note: This step must include a TestExecutionStep. Required. */
1580
+ stepId: string;
1581
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1582
+ upload_protocol?: string;
1583
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1584
+ uploadType?: string;
1585
+ }): Request<ListTestCasesResponse>;
1586
+ }
1587
+ interface ThumbnailsResource {
1588
+ /**
1589
+ * Lists thumbnails of images attached to a step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from the project,
1590
+ * or from any of the images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the step does not exist, or if any of the images do not exist
1591
+ */
1592
+ list(request?: {
1593
+ /** V1 error format. */
1594
+ "$.xgafv"?: string;
1595
+ /** OAuth access token. */
1596
+ access_token?: string;
1597
+ /** Data format for response. */
1598
+ alt?: string;
1599
+ /** JSONP */
1600
+ callback?: string;
1601
+ /** An Execution id. Required. */
1602
+ executionId: string;
1603
+ /** Selector specifying which fields to include in a partial response. */
1604
+ fields?: string;
1605
+ /** A History id. Required. */
1606
+ historyId: string;
1607
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1608
+ key?: string;
1609
+ /** OAuth 2.0 token for the current user. */
1610
+ oauth_token?: string;
1611
+ /** The maximum number of thumbnails to fetch. Default value: 50. The server will use this default if the field is not set or has a value of 0. Optional. */
1612
+ pageSize?: number;
1613
+ /** A continuation token to resume the query at the next item. Optional. */
1614
+ pageToken?: string;
1615
+ /** Returns response with indentations and line breaks. */
1616
+ prettyPrint?: boolean;
1617
+ /** A Project id. Required. */
1618
+ projectId: string;
1619
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1620
+ quotaUser?: string;
1621
+ /** A Step id. Required. */
1622
+ stepId: string;
1623
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1624
+ upload_protocol?: string;
1625
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1626
+ uploadType?: string;
1627
+ }): Request<ListStepThumbnailsResponse>;
1628
+ }
1629
+ interface StepsResource {
1630
+ /**
1631
+ * Lists accessibility clusters for a given Step May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project -
1632
+ * INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if the locale format is incorrect - NOT_FOUND - if
1633
+ * the containing Step does not exist
1634
+ */
1635
+ accessibilityClusters(request?: {
1636
+ /** V1 error format. */
1637
+ "$.xgafv"?: string;
1638
+ /** OAuth access token. */
1639
+ access_token?: string;
1640
+ /** Data format for response. */
1641
+ alt?: string;
1642
+ /** JSONP */
1643
+ callback?: string;
1644
+ /** Selector specifying which fields to include in a partial response. */
1645
+ fields?: string;
1646
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1647
+ key?: string;
1648
+ /**
1649
+ * The accepted format is the canonical Unicode format with hyphen as a delimiter. Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE. See
1650
+ * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for details. Required.
1651
+ */
1652
+ locale?: string;
1653
+ /** A full resource name of the step. For example, projects/my-project/histories/bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef Required. */
1654
+ name: string;
1655
+ /** OAuth 2.0 token for the current user. */
1656
+ oauth_token?: string;
1657
+ /** Returns response with indentations and line breaks. */
1658
+ prettyPrint?: boolean;
1659
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1660
+ quotaUser?: string;
1661
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1662
+ upload_protocol?: string;
1663
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1664
+ uploadType?: string;
1665
+ }): Request<ListStepAccessibilityClustersResponse>;
1666
+ /**
1667
+ * Creates a Step. The returned Step will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to
1668
+ * project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist
1669
+ */
1670
+ create(request: {
1671
+ /** V1 error format. */
1672
+ "$.xgafv"?: string;
1673
+ /** OAuth access token. */
1674
+ access_token?: string;
1675
+ /** Data format for response. */
1676
+ alt?: string;
1677
+ /** JSONP */
1678
+ callback?: string;
1679
+ /** Required. An Execution id. */
1680
+ executionId: string;
1681
+ /** Selector specifying which fields to include in a partial response. */
1682
+ fields?: string;
1683
+ /** Required. A History id. */
1684
+ historyId: string;
1685
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1686
+ key?: string;
1687
+ /** OAuth 2.0 token for the current user. */
1688
+ oauth_token?: string;
1689
+ /** Returns response with indentations and line breaks. */
1690
+ prettyPrint?: boolean;
1691
+ /** Required. A Project id. */
1692
+ projectId: string;
1693
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1694
+ quotaUser?: string;
1695
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
1696
+ requestId?: string;
1697
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1698
+ upload_protocol?: string;
1699
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1700
+ uploadType?: string;
1701
+ /** Request body */
1702
+ resource: Step;
1703
+ }): Request<Step>;
1704
+ create(request: {
1705
+ /** V1 error format. */
1706
+ "$.xgafv"?: string;
1707
+ /** OAuth access token. */
1708
+ access_token?: string;
1709
+ /** Data format for response. */
1710
+ alt?: string;
1711
+ /** JSONP */
1712
+ callback?: string;
1713
+ /** Required. An Execution id. */
1714
+ executionId: string;
1715
+ /** Selector specifying which fields to include in a partial response. */
1716
+ fields?: string;
1717
+ /** Required. A History id. */
1718
+ historyId: string;
1719
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1720
+ key?: string;
1721
+ /** OAuth 2.0 token for the current user. */
1722
+ oauth_token?: string;
1723
+ /** Returns response with indentations and line breaks. */
1724
+ prettyPrint?: boolean;
1725
+ /** Required. A Project id. */
1726
+ projectId: string;
1727
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1728
+ quotaUser?: string;
1729
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
1730
+ requestId?: string;
1731
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1732
+ upload_protocol?: string;
1733
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1734
+ uploadType?: string;
1735
+ },
1736
+ body: Step): Request<Step>;
1737
+ /**
1738
+ * Gets a Step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is
1739
+ * malformed - NOT_FOUND - if the Step does not exist
1740
+ */
1741
+ get(request?: {
1742
+ /** V1 error format. */
1743
+ "$.xgafv"?: string;
1744
+ /** OAuth access token. */
1745
+ access_token?: string;
1746
+ /** Data format for response. */
1747
+ alt?: string;
1748
+ /** JSONP */
1749
+ callback?: string;
1750
+ /** A Execution id. Required. */
1751
+ executionId: string;
1752
+ /** Selector specifying which fields to include in a partial response. */
1753
+ fields?: string;
1754
+ /** A History id. Required. */
1755
+ historyId: string;
1756
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1757
+ key?: string;
1758
+ /** OAuth 2.0 token for the current user. */
1759
+ oauth_token?: string;
1760
+ /** Returns response with indentations and line breaks. */
1761
+ prettyPrint?: boolean;
1762
+ /** A Project id. Required. */
1763
+ projectId: string;
1764
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1765
+ quotaUser?: string;
1766
+ /** A Step id. Required. */
1767
+ stepId: string;
1768
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1769
+ upload_protocol?: string;
1770
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1771
+ uploadType?: string;
1772
+ }): Request<Step>;
1773
+ /** Retrieves a PerfMetricsSummary. May return any of the following error code(s): - NOT_FOUND - The specified PerfMetricsSummary does not exist */
1774
+ getPerfMetricsSummary(request?: {
1775
+ /** V1 error format. */
1776
+ "$.xgafv"?: string;
1777
+ /** OAuth access token. */
1778
+ access_token?: string;
1779
+ /** Data format for response. */
1780
+ alt?: string;
1781
+ /** JSONP */
1782
+ callback?: string;
1783
+ /** A tool results execution ID. */
1784
+ executionId: string;
1785
+ /** Selector specifying which fields to include in a partial response. */
1786
+ fields?: string;
1787
+ /** A tool results history ID. */
1788
+ historyId: string;
1789
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1790
+ key?: string;
1791
+ /** OAuth 2.0 token for the current user. */
1792
+ oauth_token?: string;
1793
+ /** Returns response with indentations and line breaks. */
1794
+ prettyPrint?: boolean;
1795
+ /** The cloud project */
1796
+ projectId: string;
1797
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1798
+ quotaUser?: string;
1799
+ /** A tool results step ID. */
1800
+ stepId: string;
1801
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1802
+ upload_protocol?: string;
1803
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1804
+ uploadType?: string;
1805
+ }): Request<PerfMetricsSummary>;
1806
+ /**
1807
+ * Lists Steps for a given Execution. The steps are sorted by creation_time in descending order. The step_id key will be used to order the steps with the same creation_time. May return
1808
+ * any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed -
1809
+ * FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if an attempt is made to list the children of a nonexistent Step - NOT_FOUND - if the containing
1810
+ * Execution does not exist
1811
+ */
1812
+ list(request?: {
1813
+ /** V1 error format. */
1814
+ "$.xgafv"?: string;
1815
+ /** OAuth access token. */
1816
+ access_token?: string;
1817
+ /** Data format for response. */
1818
+ alt?: string;
1819
+ /** JSONP */
1820
+ callback?: string;
1821
+ /** A Execution id. Required. */
1822
+ executionId: string;
1823
+ /** Selector specifying which fields to include in a partial response. */
1824
+ fields?: string;
1825
+ /** A History id. Required. */
1826
+ historyId: string;
1827
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1828
+ key?: string;
1829
+ /** OAuth 2.0 token for the current user. */
1830
+ oauth_token?: string;
1831
+ /** The maximum number of Steps to fetch. Default value: 25. The server will use this default if the field is not set or has a value of 0. Optional. */
1832
+ pageSize?: number;
1833
+ /** A continuation token to resume the query at the next item. Optional. */
1834
+ pageToken?: string;
1835
+ /** Returns response with indentations and line breaks. */
1836
+ prettyPrint?: boolean;
1837
+ /** A Project id. Required. */
1838
+ projectId: string;
1839
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1840
+ quotaUser?: string;
1841
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1842
+ upload_protocol?: string;
1843
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1844
+ uploadType?: string;
1845
+ }): Request<ListStepsResponse>;
1846
+ /**
1847
+ * Updates an existing Step with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write
1848
+ * project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal (e.g try to upload a duplicate xml file), if the
1849
+ * updated step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist
1850
+ */
1851
+ patch(request: {
1852
+ /** V1 error format. */
1853
+ "$.xgafv"?: string;
1854
+ /** OAuth access token. */
1855
+ access_token?: string;
1856
+ /** Data format for response. */
1857
+ alt?: string;
1858
+ /** JSONP */
1859
+ callback?: string;
1860
+ /** A Execution id. Required. */
1861
+ executionId: string;
1862
+ /** Selector specifying which fields to include in a partial response. */
1863
+ fields?: string;
1864
+ /** A History id. Required. */
1865
+ historyId: string;
1866
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1867
+ key?: string;
1868
+ /** OAuth 2.0 token for the current user. */
1869
+ oauth_token?: string;
1870
+ /** Returns response with indentations and line breaks. */
1871
+ prettyPrint?: boolean;
1872
+ /** A Project id. Required. */
1873
+ projectId: string;
1874
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1875
+ quotaUser?: string;
1876
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
1877
+ requestId?: string;
1878
+ /** A Step id. Required. */
1879
+ stepId: string;
1880
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1881
+ upload_protocol?: string;
1882
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1883
+ uploadType?: string;
1884
+ /** Request body */
1885
+ resource: Step;
1886
+ }): Request<Step>;
1887
+ patch(request: {
1888
+ /** V1 error format. */
1889
+ "$.xgafv"?: string;
1890
+ /** OAuth access token. */
1891
+ access_token?: string;
1892
+ /** Data format for response. */
1893
+ alt?: string;
1894
+ /** JSONP */
1895
+ callback?: string;
1896
+ /** A Execution id. Required. */
1897
+ executionId: string;
1898
+ /** Selector specifying which fields to include in a partial response. */
1899
+ fields?: string;
1900
+ /** A History id. Required. */
1901
+ historyId: string;
1902
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1903
+ key?: string;
1904
+ /** OAuth 2.0 token for the current user. */
1905
+ oauth_token?: string;
1906
+ /** Returns response with indentations and line breaks. */
1907
+ prettyPrint?: boolean;
1908
+ /** A Project id. Required. */
1909
+ projectId: string;
1910
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1911
+ quotaUser?: string;
1912
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
1913
+ requestId?: string;
1914
+ /** A Step id. Required. */
1915
+ stepId: string;
1916
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1917
+ upload_protocol?: string;
1918
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1919
+ uploadType?: string;
1920
+ },
1921
+ body: Step): Request<Step>;
1922
+ /**
1923
+ * Publish xml files to an existing Step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT
1924
+ * - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal, e.g try to upload a duplicate xml file or a file too large. - NOT_FOUND - if the
1925
+ * containing Execution does not exist
1926
+ */
1927
+ publishXunitXmlFiles(request: {
1928
+ /** V1 error format. */
1929
+ "$.xgafv"?: string;
1930
+ /** OAuth access token. */
1931
+ access_token?: string;
1932
+ /** Data format for response. */
1933
+ alt?: string;
1934
+ /** JSONP */
1935
+ callback?: string;
1936
+ /** A Execution id. Required. */
1937
+ executionId: string;
1938
+ /** Selector specifying which fields to include in a partial response. */
1939
+ fields?: string;
1940
+ /** A History id. Required. */
1941
+ historyId: string;
1942
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1943
+ key?: string;
1944
+ /** OAuth 2.0 token for the current user. */
1945
+ oauth_token?: string;
1946
+ /** Returns response with indentations and line breaks. */
1947
+ prettyPrint?: boolean;
1948
+ /** A Project id. Required. */
1949
+ projectId: string;
1950
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1951
+ quotaUser?: string;
1952
+ /** A Step id. Note: This step must include a TestExecutionStep. Required. */
1953
+ stepId: string;
1954
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1955
+ upload_protocol?: string;
1956
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1957
+ uploadType?: string;
1958
+ /** Request body */
1959
+ resource: PublishXunitXmlFilesRequest;
1960
+ }): Request<Step>;
1961
+ publishXunitXmlFiles(request: {
1962
+ /** V1 error format. */
1963
+ "$.xgafv"?: string;
1964
+ /** OAuth access token. */
1965
+ access_token?: string;
1966
+ /** Data format for response. */
1967
+ alt?: string;
1968
+ /** JSONP */
1969
+ callback?: string;
1970
+ /** A Execution id. Required. */
1971
+ executionId: string;
1972
+ /** Selector specifying which fields to include in a partial response. */
1973
+ fields?: string;
1974
+ /** A History id. Required. */
1975
+ historyId: string;
1976
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1977
+ key?: string;
1978
+ /** OAuth 2.0 token for the current user. */
1979
+ oauth_token?: string;
1980
+ /** Returns response with indentations and line breaks. */
1981
+ prettyPrint?: boolean;
1982
+ /** A Project id. Required. */
1983
+ projectId: string;
1984
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1985
+ quotaUser?: string;
1986
+ /** A Step id. Note: This step must include a TestExecutionStep. Required. */
1987
+ stepId: string;
1988
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1989
+ upload_protocol?: string;
1990
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1991
+ uploadType?: string;
1992
+ },
1993
+ body: PublishXunitXmlFilesRequest): Request<Step>;
1994
+ perfMetricsSummary: PerfMetricsSummaryResource;
1995
+ perfSampleSeries: PerfSampleSeriesResource;
1996
+ testCases: TestCasesResource;
1997
+ thumbnails: ThumbnailsResource;
1998
+ }
1999
+ interface ExecutionsResource {
2000
+ /**
2001
+ * Creates an Execution. The returned Execution will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to
2002
+ * write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist
2003
+ */
2004
+ create(request: {
2005
+ /** V1 error format. */
2006
+ "$.xgafv"?: string;
2007
+ /** OAuth access token. */
2008
+ access_token?: string;
2009
+ /** Data format for response. */
2010
+ alt?: string;
2011
+ /** JSONP */
2012
+ callback?: string;
2013
+ /** Selector specifying which fields to include in a partial response. */
2014
+ fields?: string;
2015
+ /** A History id. Required. */
2016
+ historyId: string;
2017
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2018
+ key?: string;
2019
+ /** OAuth 2.0 token for the current user. */
2020
+ oauth_token?: string;
2021
+ /** Returns response with indentations and line breaks. */
2022
+ prettyPrint?: boolean;
2023
+ /** A Project id. Required. */
2024
+ projectId: string;
2025
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2026
+ quotaUser?: string;
2027
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
2028
+ requestId?: string;
2029
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2030
+ upload_protocol?: string;
2031
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2032
+ uploadType?: string;
2033
+ /** Request body */
2034
+ resource: Execution;
2035
+ }): Request<Execution>;
2036
+ create(request: {
2037
+ /** V1 error format. */
2038
+ "$.xgafv"?: string;
2039
+ /** OAuth access token. */
2040
+ access_token?: string;
2041
+ /** Data format for response. */
2042
+ alt?: string;
2043
+ /** JSONP */
2044
+ callback?: string;
2045
+ /** Selector specifying which fields to include in a partial response. */
2046
+ fields?: string;
2047
+ /** A History id. Required. */
2048
+ historyId: string;
2049
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2050
+ key?: string;
2051
+ /** OAuth 2.0 token for the current user. */
2052
+ oauth_token?: string;
2053
+ /** Returns response with indentations and line breaks. */
2054
+ prettyPrint?: boolean;
2055
+ /** A Project id. Required. */
2056
+ projectId: string;
2057
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2058
+ quotaUser?: string;
2059
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
2060
+ requestId?: string;
2061
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2062
+ upload_protocol?: string;
2063
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2064
+ uploadType?: string;
2065
+ },
2066
+ body: Execution): Request<Execution>;
2067
+ /**
2068
+ * Gets an Execution. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request
2069
+ * is malformed - NOT_FOUND - if the Execution does not exist
2070
+ */
2071
+ get(request?: {
2072
+ /** V1 error format. */
2073
+ "$.xgafv"?: string;
2074
+ /** OAuth access token. */
2075
+ access_token?: string;
2076
+ /** Data format for response. */
2077
+ alt?: string;
2078
+ /** JSONP */
2079
+ callback?: string;
2080
+ /** An Execution id. Required. */
2081
+ executionId: string;
2082
+ /** Selector specifying which fields to include in a partial response. */
2083
+ fields?: string;
2084
+ /** A History id. Required. */
2085
+ historyId: string;
2086
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2087
+ key?: string;
2088
+ /** OAuth 2.0 token for the current user. */
2089
+ oauth_token?: string;
2090
+ /** Returns response with indentations and line breaks. */
2091
+ prettyPrint?: boolean;
2092
+ /** A Project id. Required. */
2093
+ projectId: string;
2094
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2095
+ quotaUser?: string;
2096
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2097
+ upload_protocol?: string;
2098
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2099
+ uploadType?: string;
2100
+ }): Request<Execution>;
2101
+ /**
2102
+ * Lists Executions for a given History. The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same
2103
+ * creation_time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is
2104
+ * malformed - NOT_FOUND - if the containing History does not exist
2105
+ */
2106
+ list(request?: {
2107
+ /** V1 error format. */
2108
+ "$.xgafv"?: string;
2109
+ /** OAuth access token. */
2110
+ access_token?: string;
2111
+ /** Data format for response. */
2112
+ alt?: string;
2113
+ /** JSONP */
2114
+ callback?: string;
2115
+ /** Selector specifying which fields to include in a partial response. */
2116
+ fields?: string;
2117
+ /** A History id. Required. */
2118
+ historyId: string;
2119
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2120
+ key?: string;
2121
+ /** OAuth 2.0 token for the current user. */
2122
+ oauth_token?: string;
2123
+ /** The maximum number of Executions to fetch. Default value: 25. The server will use this default if the field is not set or has a value of 0. Optional. */
2124
+ pageSize?: number;
2125
+ /** A continuation token to resume the query at the next item. Optional. */
2126
+ pageToken?: string;
2127
+ /** Returns response with indentations and line breaks. */
2128
+ prettyPrint?: boolean;
2129
+ /** A Project id. Required. */
2130
+ projectId: string;
2131
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2132
+ quotaUser?: string;
2133
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2134
+ upload_protocol?: string;
2135
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2136
+ uploadType?: string;
2137
+ }): Request<ListExecutionsResponse>;
2138
+ /**
2139
+ * Updates an existing Execution with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write
2140
+ * to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal - NOT_FOUND - if the containing History does not
2141
+ * exist
2142
+ */
2143
+ patch(request: {
2144
+ /** V1 error format. */
2145
+ "$.xgafv"?: string;
2146
+ /** OAuth access token. */
2147
+ access_token?: string;
2148
+ /** Data format for response. */
2149
+ alt?: string;
2150
+ /** JSONP */
2151
+ callback?: string;
2152
+ /** Required. */
2153
+ executionId: string;
2154
+ /** Selector specifying which fields to include in a partial response. */
2155
+ fields?: string;
2156
+ /** Required. */
2157
+ historyId: string;
2158
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2159
+ key?: string;
2160
+ /** OAuth 2.0 token for the current user. */
2161
+ oauth_token?: string;
2162
+ /** Returns response with indentations and line breaks. */
2163
+ prettyPrint?: boolean;
2164
+ /** A Project id. Required. */
2165
+ projectId: string;
2166
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2167
+ quotaUser?: string;
2168
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
2169
+ requestId?: string;
2170
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2171
+ upload_protocol?: string;
2172
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2173
+ uploadType?: string;
2174
+ /** Request body */
2175
+ resource: Execution;
2176
+ }): Request<Execution>;
2177
+ patch(request: {
2178
+ /** V1 error format. */
2179
+ "$.xgafv"?: string;
2180
+ /** OAuth access token. */
2181
+ access_token?: string;
2182
+ /** Data format for response. */
2183
+ alt?: string;
2184
+ /** JSONP */
2185
+ callback?: string;
2186
+ /** Required. */
2187
+ executionId: string;
2188
+ /** Selector specifying which fields to include in a partial response. */
2189
+ fields?: string;
2190
+ /** Required. */
2191
+ historyId: string;
2192
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2193
+ key?: string;
2194
+ /** OAuth 2.0 token for the current user. */
2195
+ oauth_token?: string;
2196
+ /** Returns response with indentations and line breaks. */
2197
+ prettyPrint?: boolean;
2198
+ /** A Project id. Required. */
2199
+ projectId: string;
2200
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2201
+ quotaUser?: string;
2202
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
2203
+ requestId?: string;
2204
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2205
+ upload_protocol?: string;
2206
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2207
+ uploadType?: string;
2208
+ },
2209
+ body: Execution): Request<Execution>;
2210
+ clusters: ClustersResource;
2211
+ environments: EnvironmentsResource;
2212
+ steps: StepsResource;
2213
+ }
2214
+ interface HistoriesResource {
2215
+ /**
2216
+ * Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to
2217
+ * project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist
2218
+ */
2219
+ create(request: {
2220
+ /** V1 error format. */
2221
+ "$.xgafv"?: string;
2222
+ /** OAuth access token. */
2223
+ access_token?: string;
2224
+ /** Data format for response. */
2225
+ alt?: string;
2226
+ /** JSONP */
2227
+ callback?: string;
2228
+ /** Selector specifying which fields to include in a partial response. */
2229
+ fields?: string;
2230
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2231
+ key?: string;
2232
+ /** OAuth 2.0 token for the current user. */
2233
+ oauth_token?: string;
2234
+ /** Returns response with indentations and line breaks. */
2235
+ prettyPrint?: boolean;
2236
+ /** A Project id. Required. */
2237
+ projectId: string;
2238
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2239
+ quotaUser?: string;
2240
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
2241
+ requestId?: string;
2242
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2243
+ upload_protocol?: string;
2244
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2245
+ uploadType?: string;
2246
+ /** Request body */
2247
+ resource: History;
2248
+ }): Request<History>;
2249
+ create(request: {
2250
+ /** V1 error format. */
2251
+ "$.xgafv"?: string;
2252
+ /** OAuth access token. */
2253
+ access_token?: string;
2254
+ /** Data format for response. */
2255
+ alt?: string;
2256
+ /** JSONP */
2257
+ callback?: string;
2258
+ /** Selector specifying which fields to include in a partial response. */
2259
+ fields?: string;
2260
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2261
+ key?: string;
2262
+ /** OAuth 2.0 token for the current user. */
2263
+ oauth_token?: string;
2264
+ /** Returns response with indentations and line breaks. */
2265
+ prettyPrint?: boolean;
2266
+ /** A Project id. Required. */
2267
+ projectId: string;
2268
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2269
+ quotaUser?: string;
2270
+ /** A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */
2271
+ requestId?: string;
2272
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2273
+ upload_protocol?: string;
2274
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2275
+ uploadType?: string;
2276
+ },
2277
+ body: History): Request<History>;
2278
+ /**
2279
+ * Gets a History. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is
2280
+ * malformed - NOT_FOUND - if the History does not exist
2281
+ */
2282
+ get(request?: {
2283
+ /** V1 error format. */
2284
+ "$.xgafv"?: string;
2285
+ /** OAuth access token. */
2286
+ access_token?: string;
2287
+ /** Data format for response. */
2288
+ alt?: string;
2289
+ /** JSONP */
2290
+ callback?: string;
2291
+ /** Selector specifying which fields to include in a partial response. */
2292
+ fields?: string;
2293
+ /** A History id. Required. */
2294
+ historyId: string;
2295
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2296
+ key?: string;
2297
+ /** OAuth 2.0 token for the current user. */
2298
+ oauth_token?: string;
2299
+ /** Returns response with indentations and line breaks. */
2300
+ prettyPrint?: boolean;
2301
+ /** A Project id. Required. */
2302
+ projectId: string;
2303
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2304
+ quotaUser?: string;
2305
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2306
+ upload_protocol?: string;
2307
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2308
+ uploadType?: string;
2309
+ }): Request<History>;
2310
+ /**
2311
+ * Lists Histories for a given Project. The histories are sorted by modification time in descending order. The history_id key will be used to order the history with the same
2312
+ * modification time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is
2313
+ * malformed - NOT_FOUND - if the History does not exist
2314
+ */
2315
+ list(request?: {
2316
+ /** V1 error format. */
2317
+ "$.xgafv"?: string;
2318
+ /** OAuth access token. */
2319
+ access_token?: string;
2320
+ /** Data format for response. */
2321
+ alt?: string;
2322
+ /** JSONP */
2323
+ callback?: string;
2324
+ /** Selector specifying which fields to include in a partial response. */
2325
+ fields?: string;
2326
+ /** If set, only return histories with the given name. Optional. */
2327
+ filterByName?: string;
2328
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2329
+ key?: string;
2330
+ /** OAuth 2.0 token for the current user. */
2331
+ oauth_token?: string;
2332
+ /**
2333
+ * The maximum number of Histories to fetch. Default value: 20. The server will use this default if the field is not set or has a value of 0. Any value greater than 100 will be
2334
+ * treated as 100. Optional.
2335
+ */
2336
+ pageSize?: number;
2337
+ /** A continuation token to resume the query at the next item. Optional. */
2338
+ pageToken?: string;
2339
+ /** Returns response with indentations and line breaks. */
2340
+ prettyPrint?: boolean;
2341
+ /** A Project id. Required. */
2342
+ projectId: string;
2343
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2344
+ quotaUser?: string;
2345
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2346
+ upload_protocol?: string;
2347
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2348
+ uploadType?: string;
2349
+ }): Request<ListHistoriesResponse>;
2350
+ executions: ExecutionsResource;
2351
+ }
2352
+ interface ProjectsResource {
2353
+ /** Gets the Tool Results settings for a project. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from project */
2354
+ getSettings(request?: {
2355
+ /** V1 error format. */
2356
+ "$.xgafv"?: string;
2357
+ /** OAuth access token. */
2358
+ access_token?: string;
2359
+ /** Data format for response. */
2360
+ alt?: string;
2361
+ /** JSONP */
2362
+ callback?: string;
2363
+ /** Selector specifying which fields to include in a partial response. */
2364
+ fields?: string;
2365
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2366
+ key?: string;
2367
+ /** OAuth 2.0 token for the current user. */
2368
+ oauth_token?: string;
2369
+ /** Returns response with indentations and line breaks. */
2370
+ prettyPrint?: boolean;
2371
+ /** A Project id. Required. */
2372
+ projectId: string;
2373
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2374
+ quotaUser?: string;
2375
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2376
+ upload_protocol?: string;
2377
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2378
+ uploadType?: string;
2379
+ }): Request<ProjectSettings>;
2380
+ /**
2381
+ * Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this
2382
+ * project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In
2383
+ * order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. The bucket is created with the following permissions: -
2384
+ * Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer project - Reader access for viewers of customer project The default ACL
2385
+ * on objects created in the bucket is: - Owner access for owners of central storage project - Reader access for owners/editors/viewers of customer project See Google Cloud Storage
2386
+ * documentation for more details. If there is already a default bucket set and the project can access the bucket, this call does nothing. However, if the project doesn't have the
2387
+ * permission to access the bucket or the bucket is deleted, a new bucket will be created. May return any canonical error codes, including the following: - PERMISSION_DENIED - if the
2388
+ * user is not authorized to write to project - Any error code raised by Google Cloud Storage
2389
+ */
2390
+ initializeSettings(request?: {
2391
+ /** V1 error format. */
2392
+ "$.xgafv"?: string;
2393
+ /** OAuth access token. */
2394
+ access_token?: string;
2395
+ /** Data format for response. */
2396
+ alt?: string;
2397
+ /** JSONP */
2398
+ callback?: string;
2399
+ /** Selector specifying which fields to include in a partial response. */
2400
+ fields?: string;
2401
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2402
+ key?: string;
2403
+ /** OAuth 2.0 token for the current user. */
2404
+ oauth_token?: string;
2405
+ /** Returns response with indentations and line breaks. */
2406
+ prettyPrint?: boolean;
2407
+ /** A Project id. Required. */
2408
+ projectId: string;
2409
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2410
+ quotaUser?: string;
2411
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2412
+ upload_protocol?: string;
2413
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2414
+ uploadType?: string;
2415
+ }): Request<ProjectSettings>;
2416
+ histories: HistoriesResource;
2417
+ }
2418
+
2419
+ const projects: ProjectsResource;
2420
+ }
2421
+ }