@maxim_mazurok/gapi.client.testing-v1 0.0.20230421 → 0.0.20230425
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 +697 -349
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://testing.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230425
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,430 +24,581 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace testing {
|
|
25
25
|
interface Account {
|
|
26
26
|
/** An automatic google login account. */
|
|
27
|
-
googleAuto?:
|
|
27
|
+
googleAuto?:
|
|
28
|
+
any;
|
|
28
29
|
}
|
|
29
30
|
interface AndroidDevice {
|
|
30
31
|
/** Required. The id of the Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
31
|
-
androidModelId?:
|
|
32
|
+
androidModelId?:
|
|
33
|
+
string;
|
|
32
34
|
/** Required. The id of the Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
33
|
-
androidVersionId?:
|
|
35
|
+
androidVersionId?:
|
|
36
|
+
string;
|
|
34
37
|
/** Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
35
|
-
locale?:
|
|
38
|
+
locale?:
|
|
39
|
+
string;
|
|
36
40
|
/** Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
37
|
-
orientation?:
|
|
41
|
+
orientation?:
|
|
42
|
+
string;
|
|
38
43
|
}
|
|
39
44
|
interface AndroidDeviceCatalog {
|
|
40
45
|
/** The set of supported Android device models. */
|
|
41
|
-
models?:
|
|
46
|
+
models?:
|
|
47
|
+
AndroidModel[];
|
|
42
48
|
/** The set of supported runtime configurations. */
|
|
43
|
-
runtimeConfiguration?:
|
|
49
|
+
runtimeConfiguration?:
|
|
50
|
+
AndroidRuntimeConfiguration;
|
|
44
51
|
/** The set of supported Android OS versions. */
|
|
45
|
-
versions?:
|
|
52
|
+
versions?:
|
|
53
|
+
AndroidVersion[];
|
|
46
54
|
}
|
|
47
55
|
interface AndroidDeviceList {
|
|
48
56
|
/** Required. A list of Android devices. */
|
|
49
|
-
androidDevices?:
|
|
57
|
+
androidDevices?:
|
|
58
|
+
AndroidDevice[];
|
|
50
59
|
}
|
|
51
60
|
interface AndroidInstrumentationTest {
|
|
52
61
|
/** The APK for the application under test. */
|
|
53
|
-
appApk?:
|
|
62
|
+
appApk?:
|
|
63
|
+
FileReference;
|
|
54
64
|
/** A multi-apk app bundle for the application under test. */
|
|
55
|
-
appBundle?:
|
|
65
|
+
appBundle?:
|
|
66
|
+
AppBundle;
|
|
56
67
|
/** The java package for the application under test. The default value is determined by examining the application's manifest. */
|
|
57
|
-
appPackageId?:
|
|
68
|
+
appPackageId?:
|
|
69
|
+
string;
|
|
58
70
|
/**
|
|
59
71
|
* The option of whether running each test within its own invocation of instrumentation with Android Test Orchestrator or not. ** Orchestrator is only compatible with
|
|
60
72
|
* AndroidJUnitRunner version 1.1 or higher! ** Orchestrator offers the following benefits: - No shared state - Crashes are isolated - Logs are scoped per test See for more information
|
|
61
73
|
* about Android Test Orchestrator. If not set, the test will be run without the orchestrator.
|
|
62
74
|
*/
|
|
63
|
-
orchestratorOption?:
|
|
75
|
+
orchestratorOption?:
|
|
76
|
+
string;
|
|
64
77
|
/** The option to run tests in multiple shards in parallel. */
|
|
65
|
-
shardingOption?:
|
|
78
|
+
shardingOption?:
|
|
79
|
+
ShardingOption;
|
|
66
80
|
/** Required. The APK containing the test code to be executed. */
|
|
67
|
-
testApk?:
|
|
81
|
+
testApk?:
|
|
82
|
+
FileReference;
|
|
68
83
|
/** The java package for the test to be executed. The default value is determined by examining the application's manifest. */
|
|
69
|
-
testPackageId?:
|
|
84
|
+
testPackageId?:
|
|
85
|
+
string;
|
|
70
86
|
/** The InstrumentationTestRunner class. The default value is determined by examining the application's manifest. */
|
|
71
|
-
testRunnerClass?:
|
|
87
|
+
testRunnerClass?:
|
|
88
|
+
string;
|
|
72
89
|
/**
|
|
73
90
|
* 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
|
|
74
91
|
* package_name.class_name#method_name" If empty, all targets in the module will be run.
|
|
75
92
|
*/
|
|
76
|
-
testTargets?:
|
|
93
|
+
testTargets?:
|
|
94
|
+
string[];
|
|
77
95
|
}
|
|
78
96
|
interface AndroidMatrix {
|
|
79
97
|
/** Required. The ids of the set of Android device to be used. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
80
|
-
androidModelIds?:
|
|
98
|
+
androidModelIds?:
|
|
99
|
+
string[];
|
|
81
100
|
/** Required. The ids of the set of Android OS version to be used. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
82
|
-
androidVersionIds?:
|
|
101
|
+
androidVersionIds?:
|
|
102
|
+
string[];
|
|
83
103
|
/** Required. The set of locales the test device will enable for testing. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
84
|
-
locales?:
|
|
104
|
+
locales?:
|
|
105
|
+
string[];
|
|
85
106
|
/** Required. The set of orientations to test with. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
86
|
-
orientations?:
|
|
107
|
+
orientations?:
|
|
108
|
+
string[];
|
|
87
109
|
}
|
|
88
110
|
interface AndroidModel {
|
|
89
111
|
/** The company that this device is branded with. Example: "Google", "Samsung". */
|
|
90
|
-
brand?:
|
|
112
|
+
brand?:
|
|
113
|
+
string;
|
|
91
114
|
/** The name of the industrial design. This corresponds to android.os.Build.DEVICE. */
|
|
92
|
-
codename?:
|
|
115
|
+
codename?:
|
|
116
|
+
string;
|
|
93
117
|
/** Whether this device is virtual or physical. */
|
|
94
|
-
form?:
|
|
118
|
+
form?:
|
|
119
|
+
string;
|
|
95
120
|
/** Whether this device is a phone, tablet, wearable, etc. */
|
|
96
|
-
formFactor?:
|
|
121
|
+
formFactor?:
|
|
122
|
+
string;
|
|
97
123
|
/** The unique opaque id for this model. Use this for invoking the TestExecutionService. */
|
|
98
|
-
id?:
|
|
124
|
+
id?:
|
|
125
|
+
string;
|
|
99
126
|
/** True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config. */
|
|
100
|
-
lowFpsVideoRecording?:
|
|
127
|
+
lowFpsVideoRecording?:
|
|
128
|
+
boolean;
|
|
101
129
|
/** The manufacturer of this device. */
|
|
102
|
-
manufacturer?:
|
|
130
|
+
manufacturer?:
|
|
131
|
+
string;
|
|
103
132
|
/** The human-readable marketing name for this device model. Examples: "Nexus 5", "Galaxy S5". */
|
|
104
|
-
name?:
|
|
133
|
+
name?:
|
|
134
|
+
string;
|
|
105
135
|
/** Version-specific information of an Android model. */
|
|
106
|
-
perVersionInfo?:
|
|
136
|
+
perVersionInfo?:
|
|
137
|
+
PerAndroidVersionInfo[];
|
|
107
138
|
/** Screen density in DPI. This corresponds to ro.sf.lcd_density */
|
|
108
|
-
screenDensity?:
|
|
139
|
+
screenDensity?:
|
|
140
|
+
number;
|
|
109
141
|
/** Screen size in the horizontal (X) dimension measured in pixels. */
|
|
110
|
-
screenX?:
|
|
142
|
+
screenX?:
|
|
143
|
+
number;
|
|
111
144
|
/** Screen size in the vertical (Y) dimension measured in pixels. */
|
|
112
|
-
screenY?:
|
|
145
|
+
screenY?:
|
|
146
|
+
number;
|
|
113
147
|
/**
|
|
114
148
|
* The list of supported ABIs for this device. This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. The most
|
|
115
149
|
* preferred ABI is the first element in the list. Elements are optionally prefixed by "version_id:" (where version_id is the id of an AndroidVersion), denoting an ABI that is
|
|
116
150
|
* supported only on a particular version.
|
|
117
151
|
*/
|
|
118
|
-
supportedAbis?:
|
|
152
|
+
supportedAbis?:
|
|
153
|
+
string[];
|
|
119
154
|
/** The set of Android versions this device supports. */
|
|
120
|
-
supportedVersionIds?:
|
|
155
|
+
supportedVersionIds?:
|
|
156
|
+
string[];
|
|
121
157
|
/** Tags for this dimension. Examples: "default", "preview", "deprecated". */
|
|
122
|
-
tags?:
|
|
158
|
+
tags?:
|
|
159
|
+
string[];
|
|
123
160
|
/** URL of a thumbnail image (photo) of the device. */
|
|
124
|
-
thumbnailUrl?:
|
|
161
|
+
thumbnailUrl?:
|
|
162
|
+
string;
|
|
125
163
|
}
|
|
126
164
|
interface AndroidRoboTest {
|
|
127
165
|
/** The APK for the application under test. */
|
|
128
|
-
appApk?:
|
|
166
|
+
appApk?:
|
|
167
|
+
FileReference;
|
|
129
168
|
/** A multi-apk app bundle for the application under test. */
|
|
130
|
-
appBundle?:
|
|
169
|
+
appBundle?:
|
|
170
|
+
AppBundle;
|
|
131
171
|
/** The initial activity that should be used to start the app. */
|
|
132
|
-
appInitialActivity?:
|
|
172
|
+
appInitialActivity?:
|
|
173
|
+
string;
|
|
133
174
|
/** The java package for the application under test. The default value is determined by examining the application's manifest. */
|
|
134
|
-
appPackageId?:
|
|
175
|
+
appPackageId?:
|
|
176
|
+
string;
|
|
135
177
|
/** The max depth of the traversal stack Robo can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity. Default is 50. */
|
|
136
|
-
maxDepth?:
|
|
178
|
+
maxDepth?:
|
|
179
|
+
number;
|
|
137
180
|
/** The max number of steps Robo can execute. Default is no limit. */
|
|
138
|
-
maxSteps?:
|
|
181
|
+
maxSteps?:
|
|
182
|
+
number;
|
|
139
183
|
/** A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided. */
|
|
140
|
-
roboDirectives?:
|
|
184
|
+
roboDirectives?:
|
|
185
|
+
RoboDirective[];
|
|
141
186
|
/** The mode in which Robo should run. Most clients should allow the server to populate this field automatically. */
|
|
142
|
-
roboMode?:
|
|
187
|
+
roboMode?:
|
|
188
|
+
string;
|
|
143
189
|
/** A JSON file with a sequence of actions Robo should perform as a prologue for the crawl. */
|
|
144
|
-
roboScript?:
|
|
190
|
+
roboScript?:
|
|
191
|
+
FileReference;
|
|
145
192
|
/**
|
|
146
193
|
* The intents used to launch the app for the crawl. If none are provided, then the main launcher activity is launched. If some are provided, then only those provided are launched (the
|
|
147
194
|
* main launcher activity must be provided explicitly).
|
|
148
195
|
*/
|
|
149
|
-
startingIntents?:
|
|
196
|
+
startingIntents?:
|
|
197
|
+
RoboStartingIntent[];
|
|
150
198
|
}
|
|
151
199
|
interface AndroidRuntimeConfiguration {
|
|
152
200
|
/** The set of available locales. */
|
|
153
|
-
locales?:
|
|
201
|
+
locales?:
|
|
202
|
+
Locale[];
|
|
154
203
|
/** The set of available orientations. */
|
|
155
|
-
orientations?:
|
|
204
|
+
orientations?:
|
|
205
|
+
Orientation[];
|
|
156
206
|
}
|
|
157
207
|
interface AndroidTestLoop {
|
|
158
208
|
/** The APK for the application under test. */
|
|
159
|
-
appApk?:
|
|
209
|
+
appApk?:
|
|
210
|
+
FileReference;
|
|
160
211
|
/** A multi-apk app bundle for the application under test. */
|
|
161
|
-
appBundle?:
|
|
212
|
+
appBundle?:
|
|
213
|
+
AppBundle;
|
|
162
214
|
/** The java package for the application under test. The default is determined by examining the application's manifest. */
|
|
163
|
-
appPackageId?:
|
|
215
|
+
appPackageId?:
|
|
216
|
+
string;
|
|
164
217
|
/**
|
|
165
218
|
* The list of scenario labels that should be run during the test. The scenario labels should map to labels defined in the application's manifest. For example, player_experience and
|
|
166
219
|
* com.google.test.loops.player_experience add all of the loops labeled in the manifest with the com.google.test.loops.player_experience name to the execution. Scenarios can also be
|
|
167
220
|
* specified in the scenarios field.
|
|
168
221
|
*/
|
|
169
|
-
scenarioLabels?:
|
|
222
|
+
scenarioLabels?:
|
|
223
|
+
string[];
|
|
170
224
|
/** The list of scenarios that should be run during the test. The default is all test loops, derived from the application's manifest. */
|
|
171
|
-
scenarios?:
|
|
225
|
+
scenarios?:
|
|
226
|
+
number[];
|
|
172
227
|
}
|
|
173
228
|
interface AndroidVersion {
|
|
174
229
|
/** The API level for this Android version. Examples: 18, 19. */
|
|
175
|
-
apiLevel?:
|
|
230
|
+
apiLevel?:
|
|
231
|
+
number;
|
|
176
232
|
/** The code name for this Android version. Examples: "JellyBean", "KitKat". */
|
|
177
|
-
codeName?:
|
|
233
|
+
codeName?:
|
|
234
|
+
string;
|
|
178
235
|
/** Market share for this version. */
|
|
179
|
-
distribution?:
|
|
236
|
+
distribution?:
|
|
237
|
+
Distribution;
|
|
180
238
|
/** An opaque id for this Android version. Use this id to invoke the TestExecutionService. */
|
|
181
|
-
id?:
|
|
239
|
+
id?:
|
|
240
|
+
string;
|
|
182
241
|
/** The date this Android version became available in the market. */
|
|
183
|
-
releaseDate?:
|
|
242
|
+
releaseDate?:
|
|
243
|
+
Date;
|
|
184
244
|
/** Tags for this dimension. Examples: "default", "preview", "deprecated". */
|
|
185
|
-
tags?:
|
|
245
|
+
tags?:
|
|
246
|
+
string[];
|
|
186
247
|
/** A string representing this version of the Android OS. Examples: "4.3", "4.4". */
|
|
187
|
-
versionString?:
|
|
248
|
+
versionString?:
|
|
249
|
+
string;
|
|
188
250
|
}
|
|
189
251
|
interface Apk {
|
|
190
252
|
/** The path to an APK to be installed on the device before the test begins. */
|
|
191
|
-
location?:
|
|
253
|
+
location?:
|
|
254
|
+
FileReference;
|
|
192
255
|
/** The java package for the APK to be installed. Value is determined by examining the application's manifest. */
|
|
193
|
-
packageName?:
|
|
256
|
+
packageName?:
|
|
257
|
+
string;
|
|
194
258
|
}
|
|
195
259
|
interface ApkDetail {
|
|
196
|
-
apkManifest?:
|
|
260
|
+
apkManifest?:
|
|
261
|
+
ApkManifest;
|
|
197
262
|
}
|
|
198
263
|
interface ApkManifest {
|
|
199
264
|
/** User-readable name for the application. */
|
|
200
|
-
applicationLabel?:
|
|
201
|
-
|
|
265
|
+
applicationLabel?:
|
|
266
|
+
string;
|
|
267
|
+
intentFilters?:
|
|
268
|
+
IntentFilter[];
|
|
202
269
|
/** Maximum API level on which the application is designed to run. */
|
|
203
|
-
maxSdkVersion?:
|
|
270
|
+
maxSdkVersion?:
|
|
271
|
+
number;
|
|
204
272
|
/** Meta-data tags defined in the manifest. */
|
|
205
|
-
metadata?:
|
|
273
|
+
metadata?:
|
|
274
|
+
Metadata[];
|
|
206
275
|
/** Minimum API level required for the application to run. */
|
|
207
|
-
minSdkVersion?:
|
|
276
|
+
minSdkVersion?:
|
|
277
|
+
number;
|
|
208
278
|
/** Full Java-style package name for this application, e.g. "com.example.foo". */
|
|
209
|
-
packageName?:
|
|
279
|
+
packageName?:
|
|
280
|
+
string;
|
|
210
281
|
/** Specifies the API Level on which the application is designed to run. */
|
|
211
|
-
targetSdkVersion?:
|
|
282
|
+
targetSdkVersion?:
|
|
283
|
+
number;
|
|
212
284
|
/** Feature usage tags defined in the manifest. */
|
|
213
|
-
usesFeature?:
|
|
285
|
+
usesFeature?:
|
|
286
|
+
UsesFeature[];
|
|
214
287
|
/** Permissions declared to be used by the application */
|
|
215
|
-
usesPermission?:
|
|
288
|
+
usesPermission?:
|
|
289
|
+
string[];
|
|
216
290
|
/** Version number used internally by the app. */
|
|
217
|
-
versionCode?:
|
|
291
|
+
versionCode?:
|
|
292
|
+
string;
|
|
218
293
|
/** Version number shown to users. */
|
|
219
|
-
versionName?:
|
|
294
|
+
versionName?:
|
|
295
|
+
string;
|
|
220
296
|
}
|
|
221
297
|
interface AppBundle {
|
|
222
298
|
/** .aab file representing the app bundle under test. */
|
|
223
|
-
bundleLocation?:
|
|
299
|
+
bundleLocation?:
|
|
300
|
+
FileReference;
|
|
224
301
|
}
|
|
225
302
|
interface CancelTestMatrixResponse {
|
|
226
303
|
/** The current rolled-up state of the test matrix. If this state is already final, then the cancelation request will have no effect. */
|
|
227
|
-
testState?:
|
|
304
|
+
testState?:
|
|
305
|
+
string;
|
|
228
306
|
}
|
|
229
307
|
interface ClientInfo {
|
|
230
308
|
/** The list of detailed information about client. */
|
|
231
|
-
clientInfoDetails?:
|
|
309
|
+
clientInfoDetails?:
|
|
310
|
+
ClientInfoDetail[];
|
|
232
311
|
/** Required. Client name, such as gcloud. */
|
|
233
|
-
name?:
|
|
312
|
+
name?:
|
|
313
|
+
string;
|
|
234
314
|
}
|
|
235
315
|
interface ClientInfoDetail {
|
|
236
316
|
/** Required. The key of detailed client information. */
|
|
237
|
-
key?:
|
|
317
|
+
key?:
|
|
318
|
+
string;
|
|
238
319
|
/** Required. The value of detailed client information. */
|
|
239
|
-
value?:
|
|
320
|
+
value?:
|
|
321
|
+
string;
|
|
240
322
|
}
|
|
241
323
|
interface Date {
|
|
242
324
|
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
243
|
-
day?:
|
|
325
|
+
day?:
|
|
326
|
+
number;
|
|
244
327
|
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
245
|
-
month?:
|
|
328
|
+
month?:
|
|
329
|
+
number;
|
|
246
330
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
247
|
-
year?:
|
|
331
|
+
year?:
|
|
332
|
+
number;
|
|
248
333
|
}
|
|
249
334
|
interface DeviceFile {
|
|
250
335
|
/** A reference to an opaque binary blob file. */
|
|
251
|
-
obbFile?:
|
|
336
|
+
obbFile?:
|
|
337
|
+
ObbFile;
|
|
252
338
|
/** A reference to a regular file. */
|
|
253
|
-
regularFile?:
|
|
339
|
+
regularFile?:
|
|
340
|
+
RegularFile;
|
|
254
341
|
}
|
|
255
342
|
interface DeviceIpBlock {
|
|
256
343
|
/** The date this block was added to Firebase Test Lab */
|
|
257
|
-
addedDate?:
|
|
344
|
+
addedDate?:
|
|
345
|
+
Date;
|
|
258
346
|
/** An IP address block in CIDR notation eg: 34.68.194.64/29 */
|
|
259
|
-
block?:
|
|
347
|
+
block?:
|
|
348
|
+
string;
|
|
260
349
|
/** Whether this block is used by physical or virtual devices */
|
|
261
|
-
form?:
|
|
350
|
+
form?:
|
|
351
|
+
string;
|
|
262
352
|
}
|
|
263
353
|
interface DeviceIpBlockCatalog {
|
|
264
354
|
/** The device IP blocks used by Firebase Test Lab */
|
|
265
|
-
ipBlocks?:
|
|
355
|
+
ipBlocks?:
|
|
356
|
+
DeviceIpBlock[];
|
|
266
357
|
}
|
|
267
358
|
interface Distribution {
|
|
268
359
|
/** Output only. The estimated fraction (0-1) of the total market with this configuration. */
|
|
269
|
-
marketShare?:
|
|
360
|
+
marketShare?:
|
|
361
|
+
number;
|
|
270
362
|
/** Output only. The time this distribution was measured. */
|
|
271
|
-
measurementTime?:
|
|
363
|
+
measurementTime?:
|
|
364
|
+
string;
|
|
272
365
|
}
|
|
273
366
|
interface Environment {
|
|
274
367
|
/** An Android device which must be used with an Android test. */
|
|
275
|
-
androidDevice?:
|
|
368
|
+
androidDevice?:
|
|
369
|
+
AndroidDevice;
|
|
276
370
|
/** An iOS device which must be used with an iOS test. */
|
|
277
|
-
iosDevice?:
|
|
371
|
+
iosDevice?:
|
|
372
|
+
IosDevice;
|
|
278
373
|
}
|
|
279
374
|
interface EnvironmentMatrix {
|
|
280
375
|
/** A list of Android devices; the test will be run only on the specified devices. */
|
|
281
|
-
androidDeviceList?:
|
|
376
|
+
androidDeviceList?:
|
|
377
|
+
AndroidDeviceList;
|
|
282
378
|
/** A matrix of Android devices. */
|
|
283
|
-
androidMatrix?:
|
|
379
|
+
androidMatrix?:
|
|
380
|
+
AndroidMatrix;
|
|
284
381
|
/** A list of iOS devices. */
|
|
285
|
-
iosDeviceList?:
|
|
382
|
+
iosDeviceList?:
|
|
383
|
+
IosDeviceList;
|
|
286
384
|
}
|
|
287
385
|
interface EnvironmentVariable {
|
|
288
386
|
/** Key for the environment variable. */
|
|
289
|
-
key?:
|
|
387
|
+
key?:
|
|
388
|
+
string;
|
|
290
389
|
/** Value for the environment variable. */
|
|
291
|
-
value?:
|
|
390
|
+
value?:
|
|
391
|
+
string;
|
|
292
392
|
}
|
|
293
393
|
interface FileReference {
|
|
294
394
|
/** A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app%40debug-unaligned.apk These paths are expected to be url encoded (percent encoding) */
|
|
295
|
-
gcsPath?:
|
|
395
|
+
gcsPath?:
|
|
396
|
+
string;
|
|
296
397
|
}
|
|
297
398
|
interface GetApkDetailsResponse {
|
|
298
399
|
/** Details of the Android APK. */
|
|
299
|
-
apkDetail?:
|
|
400
|
+
apkDetail?:
|
|
401
|
+
ApkDetail;
|
|
300
402
|
}
|
|
301
403
|
// tslint:disable-next-line:no-empty-interface
|
|
302
404
|
interface GoogleAuto {
|
|
303
405
|
}
|
|
304
406
|
interface GoogleCloudStorage {
|
|
305
407
|
/** Required. The path to a directory in GCS that will eventually contain the results for this test. The requesting user must have write access on the bucket in the supplied path. */
|
|
306
|
-
gcsPath?:
|
|
408
|
+
gcsPath?:
|
|
409
|
+
string;
|
|
307
410
|
}
|
|
308
411
|
interface IntentFilter {
|
|
309
412
|
/** The android:name value of the tag. */
|
|
310
|
-
actionNames?:
|
|
413
|
+
actionNames?:
|
|
414
|
+
string[];
|
|
311
415
|
/** The android:name value of the tag. */
|
|
312
|
-
categoryNames?:
|
|
416
|
+
categoryNames?:
|
|
417
|
+
string[];
|
|
313
418
|
/** The android:mimeType value of the tag. */
|
|
314
|
-
mimeType?:
|
|
419
|
+
mimeType?:
|
|
420
|
+
string;
|
|
315
421
|
}
|
|
316
422
|
interface IosDevice {
|
|
317
423
|
/** Required. The id of the iOS device to be used. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
318
|
-
iosModelId?:
|
|
424
|
+
iosModelId?:
|
|
425
|
+
string;
|
|
319
426
|
/** Required. The id of the iOS major software version to be used. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
320
|
-
iosVersionId?:
|
|
427
|
+
iosVersionId?:
|
|
428
|
+
string;
|
|
321
429
|
/** Required. The locale the test device used for testing. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
322
|
-
locale?:
|
|
430
|
+
locale?:
|
|
431
|
+
string;
|
|
323
432
|
/** Required. How the device is oriented during the test. Use the TestEnvironmentDiscoveryService to get supported options. */
|
|
324
|
-
orientation?:
|
|
433
|
+
orientation?:
|
|
434
|
+
string;
|
|
325
435
|
}
|
|
326
436
|
interface IosDeviceCatalog {
|
|
327
437
|
/** The set of supported iOS device models. */
|
|
328
|
-
models?:
|
|
438
|
+
models?:
|
|
439
|
+
IosModel[];
|
|
329
440
|
/** The set of supported runtime configurations. */
|
|
330
|
-
runtimeConfiguration?:
|
|
441
|
+
runtimeConfiguration?:
|
|
442
|
+
IosRuntimeConfiguration;
|
|
331
443
|
/** The set of supported iOS software versions. */
|
|
332
|
-
versions?:
|
|
444
|
+
versions?:
|
|
445
|
+
IosVersion[];
|
|
333
446
|
/** The set of supported Xcode versions. */
|
|
334
|
-
xcodeVersions?:
|
|
447
|
+
xcodeVersions?:
|
|
448
|
+
XcodeVersion[];
|
|
335
449
|
}
|
|
336
450
|
interface IosDeviceFile {
|
|
337
451
|
/** The bundle id of the app where this file lives. iOS apps sandbox their own filesystem, so app files must specify which app installed on the device. */
|
|
338
|
-
bundleId?:
|
|
452
|
+
bundleId?:
|
|
453
|
+
string;
|
|
339
454
|
/** The source file */
|
|
340
|
-
content?:
|
|
455
|
+
content?:
|
|
456
|
+
FileReference;
|
|
341
457
|
/** Location of the file on the device, inside the app's sandboxed filesystem */
|
|
342
|
-
devicePath?:
|
|
458
|
+
devicePath?:
|
|
459
|
+
string;
|
|
343
460
|
}
|
|
344
461
|
interface IosDeviceList {
|
|
345
462
|
/** Required. A list of iOS devices. */
|
|
346
|
-
iosDevices?:
|
|
463
|
+
iosDevices?:
|
|
464
|
+
IosDevice[];
|
|
347
465
|
}
|
|
348
466
|
interface IosModel {
|
|
349
467
|
/**
|
|
350
468
|
* Device capabilities. Copied from
|
|
351
469
|
* https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html
|
|
352
470
|
*/
|
|
353
|
-
deviceCapabilities?:
|
|
471
|
+
deviceCapabilities?:
|
|
472
|
+
string[];
|
|
354
473
|
/** Whether this device is a phone, tablet, wearable, etc. */
|
|
355
|
-
formFactor?:
|
|
474
|
+
formFactor?:
|
|
475
|
+
string;
|
|
356
476
|
/** The unique opaque id for this model. Use this for invoking the TestExecutionService. */
|
|
357
|
-
id?:
|
|
477
|
+
id?:
|
|
478
|
+
string;
|
|
358
479
|
/** The human-readable name for this device model. Examples: "iPhone 4s", "iPad Mini 2". */
|
|
359
|
-
name?:
|
|
480
|
+
name?:
|
|
481
|
+
string;
|
|
360
482
|
/** Version-specific information of an iOS model. */
|
|
361
|
-
perVersionInfo?:
|
|
483
|
+
perVersionInfo?:
|
|
484
|
+
PerIosVersionInfo[];
|
|
362
485
|
/** Screen density in DPI. */
|
|
363
|
-
screenDensity?:
|
|
486
|
+
screenDensity?:
|
|
487
|
+
number;
|
|
364
488
|
/** Screen size in the horizontal (X) dimension measured in pixels. */
|
|
365
|
-
screenX?:
|
|
489
|
+
screenX?:
|
|
490
|
+
number;
|
|
366
491
|
/** Screen size in the vertical (Y) dimension measured in pixels. */
|
|
367
|
-
screenY?:
|
|
492
|
+
screenY?:
|
|
493
|
+
number;
|
|
368
494
|
/** The set of iOS major software versions this device supports. */
|
|
369
|
-
supportedVersionIds?:
|
|
495
|
+
supportedVersionIds?:
|
|
496
|
+
string[];
|
|
370
497
|
/** Tags for this dimension. Examples: "default", "preview", "deprecated". */
|
|
371
|
-
tags?:
|
|
498
|
+
tags?:
|
|
499
|
+
string[];
|
|
372
500
|
}
|
|
373
501
|
interface IosRuntimeConfiguration {
|
|
374
502
|
/** The set of available locales. */
|
|
375
|
-
locales?:
|
|
503
|
+
locales?:
|
|
504
|
+
Locale[];
|
|
376
505
|
/** The set of available orientations. */
|
|
377
|
-
orientations?:
|
|
506
|
+
orientations?:
|
|
507
|
+
Orientation[];
|
|
378
508
|
}
|
|
379
509
|
interface IosTestLoop {
|
|
380
510
|
/** Output only. The bundle id for the application under test. */
|
|
381
|
-
appBundleId?:
|
|
511
|
+
appBundleId?:
|
|
512
|
+
string;
|
|
382
513
|
/** Required. The .ipa of the application to test. */
|
|
383
|
-
appIpa?:
|
|
514
|
+
appIpa?:
|
|
515
|
+
FileReference;
|
|
384
516
|
/** The list of scenarios that should be run during the test. Defaults to the single scenario 0 if unspecified. */
|
|
385
|
-
scenarios?:
|
|
517
|
+
scenarios?:
|
|
518
|
+
number[];
|
|
386
519
|
}
|
|
387
520
|
interface IosTestSetup {
|
|
388
521
|
/** iOS apps to install in addition to those being directly tested. */
|
|
389
|
-
additionalIpas?:
|
|
522
|
+
additionalIpas?:
|
|
523
|
+
FileReference[];
|
|
390
524
|
/**
|
|
391
525
|
* The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling
|
|
392
526
|
* TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
|
|
393
527
|
*/
|
|
394
|
-
networkProfile?:
|
|
528
|
+
networkProfile?:
|
|
529
|
+
string;
|
|
395
530
|
/**
|
|
396
531
|
* List of directories on the device to upload to Cloud Storage at the end of the test. Directories should either be in a shared directory (such as /private/var/mobile/Media) or within
|
|
397
532
|
* an accessible directory inside the app's filesystem (such as /Documents) by specifying the bundle ID.
|
|
398
533
|
*/
|
|
399
|
-
pullDirectories?:
|
|
534
|
+
pullDirectories?:
|
|
535
|
+
IosDeviceFile[];
|
|
400
536
|
/** List of files to push to the device before starting the test. */
|
|
401
|
-
pushFiles?:
|
|
537
|
+
pushFiles?:
|
|
538
|
+
IosDeviceFile[];
|
|
402
539
|
}
|
|
403
540
|
interface IosVersion {
|
|
404
541
|
/** An opaque id for this iOS version. Use this id to invoke the TestExecutionService. */
|
|
405
|
-
id?:
|
|
542
|
+
id?:
|
|
543
|
+
string;
|
|
406
544
|
/** An integer representing the major iOS version. Examples: "8", "9". */
|
|
407
|
-
majorVersion?:
|
|
545
|
+
majorVersion?:
|
|
546
|
+
number;
|
|
408
547
|
/** An integer representing the minor iOS version. Examples: "1", "2". */
|
|
409
|
-
minorVersion?:
|
|
548
|
+
minorVersion?:
|
|
549
|
+
number;
|
|
410
550
|
/** The available Xcode versions for this version. */
|
|
411
|
-
supportedXcodeVersionIds?:
|
|
551
|
+
supportedXcodeVersionIds?:
|
|
552
|
+
string[];
|
|
412
553
|
/** Tags for this dimension. Examples: "default", "preview", "deprecated". */
|
|
413
|
-
tags?:
|
|
554
|
+
tags?:
|
|
555
|
+
string[];
|
|
414
556
|
}
|
|
415
557
|
interface IosXcTest {
|
|
416
558
|
/** Output only. The bundle id for the application under test. */
|
|
417
|
-
appBundleId?:
|
|
559
|
+
appBundleId?:
|
|
560
|
+
string;
|
|
418
561
|
/**
|
|
419
562
|
* The option to test special app entitlements. Setting this would re-sign the app having special entitlements with an explicit application-identifier. Currently supports testing
|
|
420
563
|
* aps-environment entitlement.
|
|
421
564
|
*/
|
|
422
|
-
testSpecialEntitlements?:
|
|
565
|
+
testSpecialEntitlements?:
|
|
566
|
+
boolean;
|
|
423
567
|
/**
|
|
424
568
|
* Required. The .zip containing the .xctestrun file and the contents of the DerivedData/Build/Products directory. The .xctestrun file in this zip is ignored if the xctestrun field is
|
|
425
569
|
* specified.
|
|
426
570
|
*/
|
|
427
|
-
testsZip?:
|
|
571
|
+
testsZip?:
|
|
572
|
+
FileReference;
|
|
428
573
|
/**
|
|
429
574
|
* The Xcode version that should be used for the test. Use the TestEnvironmentDiscoveryService to get supported options. Defaults to the latest Xcode version Firebase Test Lab
|
|
430
575
|
* supports.
|
|
431
576
|
*/
|
|
432
|
-
xcodeVersion?:
|
|
577
|
+
xcodeVersion?:
|
|
578
|
+
string;
|
|
433
579
|
/**
|
|
434
580
|
* An .xctestrun file that will override the .xctestrun file in the tests zip. Because the .xctestrun file contains environment variables along with test methods to run and/or ignore,
|
|
435
581
|
* this can be useful for sharding tests. Default is taken from the tests zip.
|
|
436
582
|
*/
|
|
437
|
-
xctestrun?:
|
|
583
|
+
xctestrun?:
|
|
584
|
+
FileReference;
|
|
438
585
|
}
|
|
439
586
|
// tslint:disable-next-line:no-empty-interface
|
|
440
587
|
interface LauncherActivityIntent {
|
|
441
588
|
}
|
|
442
589
|
interface Locale {
|
|
443
590
|
/** The id for this locale. Example: "en_US". */
|
|
444
|
-
id?:
|
|
591
|
+
id?:
|
|
592
|
+
string;
|
|
445
593
|
/** A human-friendly name for this language/locale. Example: "English". */
|
|
446
|
-
name?:
|
|
594
|
+
name?:
|
|
595
|
+
string;
|
|
447
596
|
/** A human-friendly string representing the region for this locale. Example: "United States". Not present for every locale. */
|
|
448
|
-
region?:
|
|
597
|
+
region?:
|
|
598
|
+
string;
|
|
449
599
|
/** Tags for this dimension. Example: "default". */
|
|
450
|
-
tags?:
|
|
600
|
+
tags?:
|
|
601
|
+
string[];
|
|
451
602
|
}
|
|
452
603
|
interface ManualSharding {
|
|
453
604
|
/**
|
|
@@ -455,69 +606,88 @@ declare namespace gapi.client {
|
|
|
455
606
|
* one or more physical devices, the number of repeated test_targets_for_shard must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only
|
|
456
607
|
* x86 virtual devices, it must be <= 500.
|
|
457
608
|
*/
|
|
458
|
-
testTargetsForShard?:
|
|
609
|
+
testTargetsForShard?:
|
|
610
|
+
TestTargetsForShard[];
|
|
459
611
|
}
|
|
460
612
|
interface Metadata {
|
|
461
613
|
/** The android:name value */
|
|
462
|
-
name?:
|
|
614
|
+
name?:
|
|
615
|
+
string;
|
|
463
616
|
/** The android:value value */
|
|
464
|
-
value?:
|
|
617
|
+
value?:
|
|
618
|
+
string;
|
|
465
619
|
}
|
|
466
620
|
interface NetworkConfiguration {
|
|
467
621
|
/** The emulation rule applying to the download traffic. */
|
|
468
|
-
downRule?:
|
|
622
|
+
downRule?:
|
|
623
|
+
TrafficRule;
|
|
469
624
|
/** The unique opaque id for this network traffic configuration. */
|
|
470
|
-
id?:
|
|
625
|
+
id?:
|
|
626
|
+
string;
|
|
471
627
|
/** The emulation rule applying to the upload traffic. */
|
|
472
|
-
upRule?:
|
|
628
|
+
upRule?:
|
|
629
|
+
TrafficRule;
|
|
473
630
|
}
|
|
474
631
|
interface NetworkConfigurationCatalog {
|
|
475
|
-
configurations?:
|
|
632
|
+
configurations?:
|
|
633
|
+
NetworkConfiguration[];
|
|
476
634
|
}
|
|
477
635
|
interface ObbFile {
|
|
478
636
|
/** Required. Opaque Binary Blob (OBB) file(s) to install on the device. */
|
|
479
|
-
obb?:
|
|
637
|
+
obb?:
|
|
638
|
+
FileReference;
|
|
480
639
|
/**
|
|
481
640
|
* Required. OBB file name which must conform to the format as specified by Android e.g. [main|patch].0300110.com.example.android.obb which will be installed into \/Android/obb/\/ on
|
|
482
641
|
* the device.
|
|
483
642
|
*/
|
|
484
|
-
obbFileName?:
|
|
643
|
+
obbFileName?:
|
|
644
|
+
string;
|
|
485
645
|
}
|
|
486
646
|
interface Orientation {
|
|
487
647
|
/** The id for this orientation. Example: "portrait". */
|
|
488
|
-
id?:
|
|
648
|
+
id?:
|
|
649
|
+
string;
|
|
489
650
|
/** A human-friendly name for this orientation. Example: "portrait". */
|
|
490
|
-
name?:
|
|
651
|
+
name?:
|
|
652
|
+
string;
|
|
491
653
|
/** Tags for this dimension. Example: "default". */
|
|
492
|
-
tags?:
|
|
654
|
+
tags?:
|
|
655
|
+
string[];
|
|
493
656
|
}
|
|
494
657
|
interface PerAndroidVersionInfo {
|
|
495
658
|
/** The number of online devices for an Android version. */
|
|
496
|
-
deviceCapacity?:
|
|
659
|
+
deviceCapacity?:
|
|
660
|
+
string;
|
|
497
661
|
/** An Android version. */
|
|
498
|
-
versionId?:
|
|
662
|
+
versionId?:
|
|
663
|
+
string;
|
|
499
664
|
}
|
|
500
665
|
interface PerIosVersionInfo {
|
|
501
666
|
/** The number of online devices for an iOS version. */
|
|
502
|
-
deviceCapacity?:
|
|
667
|
+
deviceCapacity?:
|
|
668
|
+
string;
|
|
503
669
|
/** An iOS version. */
|
|
504
|
-
versionId?:
|
|
670
|
+
versionId?:
|
|
671
|
+
string;
|
|
505
672
|
}
|
|
506
673
|
interface ProvidedSoftwareCatalog {
|
|
507
674
|
/**
|
|
508
675
|
* A string representing the current version of AndroidX Test Orchestrator that is used in the environment. The package is available at
|
|
509
676
|
* https://maven.google.com/web/index.html#androidx.test:orchestrator.
|
|
510
677
|
*/
|
|
511
|
-
androidxOrchestratorVersion?:
|
|
678
|
+
androidxOrchestratorVersion?:
|
|
679
|
+
string;
|
|
512
680
|
/**
|
|
513
681
|
* Deprecated: Use AndroidX Test Orchestrator going forward. A string representing the current version of Android Test Orchestrator that is used in the environment. The package is
|
|
514
682
|
* available at https://maven.google.com/web/index.html#com.android.support.test:orchestrator.
|
|
515
683
|
*/
|
|
516
|
-
orchestratorVersion?:
|
|
684
|
+
orchestratorVersion?:
|
|
685
|
+
string;
|
|
517
686
|
}
|
|
518
687
|
interface RegularFile {
|
|
519
688
|
/** Required. The source file. */
|
|
520
|
-
content?:
|
|
689
|
+
content?:
|
|
690
|
+
FileReference;
|
|
521
691
|
/**
|
|
522
692
|
* Required. Where to put the content on the device. Must be an absolute, allowlisted path. If the file exists, it will be replaced. The following device-side directories and any of
|
|
523
693
|
* their subdirectories are allowlisted: ${EXTERNAL_STORAGE}, /sdcard, or /storage ${ANDROID_DATA}/local/tmp, or /data/local/tmp Specifying a path outside of these directory trees is
|
|
@@ -525,304 +695,415 @@ declare namespace gapi.client {
|
|
|
525
695
|
* system will replace it with the external storage path prefix for that device and copy the file there. It is strongly advised to use the Environment API in app and test code to
|
|
526
696
|
* access files on the device in a portable way.
|
|
527
697
|
*/
|
|
528
|
-
devicePath?:
|
|
698
|
+
devicePath?:
|
|
699
|
+
string;
|
|
529
700
|
}
|
|
530
701
|
interface ResultStorage {
|
|
531
702
|
/** Required. */
|
|
532
|
-
googleCloudStorage?:
|
|
703
|
+
googleCloudStorage?:
|
|
704
|
+
GoogleCloudStorage;
|
|
533
705
|
/** Output only. URL to the results in the Firebase Web Console. */
|
|
534
|
-
resultsUrl?:
|
|
706
|
+
resultsUrl?:
|
|
707
|
+
string;
|
|
535
708
|
/** Output only. The tool results execution that results are written to. */
|
|
536
|
-
toolResultsExecution?:
|
|
709
|
+
toolResultsExecution?:
|
|
710
|
+
ToolResultsExecution;
|
|
537
711
|
/** The tool results history that contains the tool results execution that results are written to. If not provided, the service will choose an appropriate value. */
|
|
538
|
-
toolResultsHistory?:
|
|
712
|
+
toolResultsHistory?:
|
|
713
|
+
ToolResultsHistory;
|
|
539
714
|
}
|
|
540
715
|
interface RoboDirective {
|
|
541
716
|
/** Required. The type of action that Robo should perform on the specified element. */
|
|
542
|
-
actionType?:
|
|
717
|
+
actionType?:
|
|
718
|
+
string;
|
|
543
719
|
/** The text that Robo is directed to set. If left empty, the directive will be treated as a CLICK on the element matching the resource_name. */
|
|
544
|
-
inputText?:
|
|
720
|
+
inputText?:
|
|
721
|
+
string;
|
|
545
722
|
/**
|
|
546
723
|
* Required. The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc:
|
|
547
724
|
* https://developer.android.com/guide/topics/resources/accessing-resources.html
|
|
548
725
|
*/
|
|
549
|
-
resourceName?:
|
|
726
|
+
resourceName?:
|
|
727
|
+
string;
|
|
550
728
|
}
|
|
551
729
|
interface RoboStartingIntent {
|
|
552
730
|
/** An intent that starts the main launcher activity. */
|
|
553
|
-
launcherActivity?:
|
|
731
|
+
launcherActivity?:
|
|
732
|
+
any;
|
|
554
733
|
/** An intent that starts an activity with specific details. */
|
|
555
|
-
startActivity?:
|
|
734
|
+
startActivity?:
|
|
735
|
+
StartActivityIntent;
|
|
556
736
|
/** Timeout in seconds for each intent. */
|
|
557
|
-
timeout?:
|
|
737
|
+
timeout?:
|
|
738
|
+
string;
|
|
558
739
|
}
|
|
559
740
|
interface Shard {
|
|
560
741
|
/** Output only. The total number of shards. */
|
|
561
|
-
numShards?:
|
|
742
|
+
numShards?:
|
|
743
|
+
number;
|
|
562
744
|
/** Output only. The index of the shard among all the shards. */
|
|
563
|
-
shardIndex?:
|
|
745
|
+
shardIndex?:
|
|
746
|
+
number;
|
|
564
747
|
/** Output only. Test targets for each shard. Only set for manual sharding. */
|
|
565
|
-
testTargetsForShard?:
|
|
748
|
+
testTargetsForShard?:
|
|
749
|
+
TestTargetsForShard;
|
|
566
750
|
}
|
|
567
751
|
interface ShardingOption {
|
|
568
752
|
/** Shards test cases into the specified groups of packages, classes, and/or methods. */
|
|
569
|
-
manualSharding?:
|
|
753
|
+
manualSharding?:
|
|
754
|
+
ManualSharding;
|
|
570
755
|
/** Uniformly shards test cases given a total number of shards. */
|
|
571
|
-
uniformSharding?:
|
|
756
|
+
uniformSharding?:
|
|
757
|
+
UniformSharding;
|
|
572
758
|
}
|
|
573
759
|
interface StartActivityIntent {
|
|
574
760
|
/** Action name. Required for START_ACTIVITY. */
|
|
575
|
-
action?:
|
|
761
|
+
action?:
|
|
762
|
+
string;
|
|
576
763
|
/** Intent categories to set on the intent. */
|
|
577
|
-
categories?:
|
|
764
|
+
categories?:
|
|
765
|
+
string[];
|
|
578
766
|
/** URI for the action. */
|
|
579
|
-
uri?:
|
|
767
|
+
uri?:
|
|
768
|
+
string;
|
|
580
769
|
}
|
|
581
770
|
interface SystraceSetup {
|
|
582
771
|
/** Systrace duration in seconds. Should be between 1 and 30 seconds. 0 disables systrace. */
|
|
583
|
-
durationSeconds?:
|
|
772
|
+
durationSeconds?:
|
|
773
|
+
number;
|
|
584
774
|
}
|
|
585
775
|
interface TestDetails {
|
|
586
776
|
/** Output only. If the TestState is ERROR, then this string will contain human-readable details about the error. */
|
|
587
|
-
errorMessage?:
|
|
777
|
+
errorMessage?:
|
|
778
|
+
string;
|
|
588
779
|
/**
|
|
589
780
|
* Output only. Human-readable, detailed descriptions of the test's progress. For example: "Provisioning a device", "Starting Test". During the course of execution new data may be
|
|
590
781
|
* appended to the end of progress_messages.
|
|
591
782
|
*/
|
|
592
|
-
progressMessages?:
|
|
783
|
+
progressMessages?:
|
|
784
|
+
string[];
|
|
593
785
|
}
|
|
594
786
|
interface TestEnvironmentCatalog {
|
|
595
787
|
/** Supported Android devices. */
|
|
596
|
-
androidDeviceCatalog?:
|
|
788
|
+
androidDeviceCatalog?:
|
|
789
|
+
AndroidDeviceCatalog;
|
|
597
790
|
/** The IP blocks used by devices in the test environment. */
|
|
598
|
-
deviceIpBlockCatalog?:
|
|
791
|
+
deviceIpBlockCatalog?:
|
|
792
|
+
DeviceIpBlockCatalog;
|
|
599
793
|
/** Supported iOS devices. */
|
|
600
|
-
iosDeviceCatalog?:
|
|
794
|
+
iosDeviceCatalog?:
|
|
795
|
+
IosDeviceCatalog;
|
|
601
796
|
/** Supported network configurations. */
|
|
602
|
-
networkConfigurationCatalog?:
|
|
797
|
+
networkConfigurationCatalog?:
|
|
798
|
+
NetworkConfigurationCatalog;
|
|
603
799
|
/** The software test environment provided by TestExecutionService. */
|
|
604
|
-
softwareCatalog?:
|
|
800
|
+
softwareCatalog?:
|
|
801
|
+
ProvidedSoftwareCatalog;
|
|
605
802
|
}
|
|
606
803
|
interface TestExecution {
|
|
607
804
|
/** Output only. How the host machine(s) are configured. */
|
|
608
|
-
environment?:
|
|
805
|
+
environment?:
|
|
806
|
+
Environment;
|
|
609
807
|
/** Output only. Unique id set by the service. */
|
|
610
|
-
id?:
|
|
808
|
+
id?:
|
|
809
|
+
string;
|
|
611
810
|
/** Output only. Id of the containing TestMatrix. */
|
|
612
|
-
matrixId?:
|
|
811
|
+
matrixId?:
|
|
812
|
+
string;
|
|
613
813
|
/** Output only. The cloud project that owns the test execution. */
|
|
614
|
-
projectId?:
|
|
814
|
+
projectId?:
|
|
815
|
+
string;
|
|
615
816
|
/** Output only. Details about the shard. */
|
|
616
|
-
shard?:
|
|
817
|
+
shard?:
|
|
818
|
+
Shard;
|
|
617
819
|
/** Output only. Indicates the current progress of the test execution (e.g., FINISHED). */
|
|
618
|
-
state?:
|
|
820
|
+
state?:
|
|
821
|
+
string;
|
|
619
822
|
/** Output only. Additional details about the running test. */
|
|
620
|
-
testDetails?:
|
|
823
|
+
testDetails?:
|
|
824
|
+
TestDetails;
|
|
621
825
|
/** Output only. How to run the test. */
|
|
622
|
-
testSpecification?:
|
|
826
|
+
testSpecification?:
|
|
827
|
+
TestSpecification;
|
|
623
828
|
/** Output only. The time this test execution was initially created. */
|
|
624
|
-
timestamp?:
|
|
829
|
+
timestamp?:
|
|
830
|
+
string;
|
|
625
831
|
/** Output only. Where the results for this execution are written. */
|
|
626
|
-
toolResultsStep?:
|
|
832
|
+
toolResultsStep?:
|
|
833
|
+
ToolResultsStep;
|
|
627
834
|
}
|
|
628
835
|
interface TestMatrix {
|
|
629
836
|
/** Information about the client which invoked the test. */
|
|
630
|
-
clientInfo?:
|
|
837
|
+
clientInfo?:
|
|
838
|
+
ClientInfo;
|
|
631
839
|
/** Required. The devices the tests are being executed on. */
|
|
632
|
-
environmentMatrix?:
|
|
840
|
+
environmentMatrix?:
|
|
841
|
+
EnvironmentMatrix;
|
|
633
842
|
/**
|
|
634
843
|
* If true, only a single attempt at most will be made to run each execution/shard in the matrix. Flaky test attempts are not affected. Normally, 2 or more attempts are made if a
|
|
635
844
|
* potential infrastructure issue is detected. This feature is for latency sensitive workloads. The incidence of execution failures may be significantly greater for fail-fast matrices
|
|
636
845
|
* and support is more limited because of that expectation.
|
|
637
846
|
*/
|
|
638
|
-
failFast?:
|
|
847
|
+
failFast?:
|
|
848
|
+
boolean;
|
|
639
849
|
/**
|
|
640
850
|
* The number of times a TestExecution should be re-attempted if one or more of its test cases fail for any reason. The maximum number of reruns allowed is 10. Default is 0, which
|
|
641
851
|
* implies no reruns.
|
|
642
852
|
*/
|
|
643
|
-
flakyTestAttempts?:
|
|
853
|
+
flakyTestAttempts?:
|
|
854
|
+
number;
|
|
644
855
|
/** Output only. Describes why the matrix is considered invalid. Only useful for matrices in the INVALID state. */
|
|
645
|
-
invalidMatrixDetails?:
|
|
856
|
+
invalidMatrixDetails?:
|
|
857
|
+
string;
|
|
646
858
|
/** Output Only. The overall outcome of the test. Only set when the test matrix state is FINISHED. */
|
|
647
|
-
outcomeSummary?:
|
|
859
|
+
outcomeSummary?:
|
|
860
|
+
string;
|
|
648
861
|
/** The cloud project that owns the test matrix. */
|
|
649
|
-
projectId?:
|
|
862
|
+
projectId?:
|
|
863
|
+
string;
|
|
650
864
|
/** Required. Where the results for the matrix are written. */
|
|
651
|
-
resultStorage?:
|
|
865
|
+
resultStorage?:
|
|
866
|
+
ResultStorage;
|
|
652
867
|
/** Output only. Indicates the current progress of the test matrix. */
|
|
653
|
-
state?:
|
|
868
|
+
state?:
|
|
869
|
+
string;
|
|
654
870
|
/** Output only. The list of test executions that the service creates for this matrix. */
|
|
655
|
-
testExecutions?:
|
|
871
|
+
testExecutions?:
|
|
872
|
+
TestExecution[];
|
|
656
873
|
/** Output only. Unique id set by the service. */
|
|
657
|
-
testMatrixId?:
|
|
874
|
+
testMatrixId?:
|
|
875
|
+
string;
|
|
658
876
|
/** Required. How to run the test. */
|
|
659
|
-
testSpecification?:
|
|
877
|
+
testSpecification?:
|
|
878
|
+
TestSpecification;
|
|
660
879
|
/** Output only. The time this test matrix was initially created. */
|
|
661
|
-
timestamp?:
|
|
880
|
+
timestamp?:
|
|
881
|
+
string;
|
|
662
882
|
}
|
|
663
883
|
interface TestSetup {
|
|
664
884
|
/** The device will be logged in on this account for the duration of the test. */
|
|
665
|
-
account?:
|
|
885
|
+
account?:
|
|
886
|
+
Account;
|
|
666
887
|
/** APKs to install in addition to those being directly tested. Currently capped at 100. */
|
|
667
|
-
additionalApks?:
|
|
888
|
+
additionalApks?:
|
|
889
|
+
Apk[];
|
|
668
890
|
/**
|
|
669
891
|
* List of directories on the device to upload to GCS at the end of the test; they must be absolute paths under /sdcard, /storage or /data/local/tmp. Path names are restricted to
|
|
670
892
|
* characters a-z A-Z 0-9 _ - . + and / Note: The paths /sdcard and /data will be made available and treated as implicit path substitutions. E.g. if /sdcard on a particular device does
|
|
671
893
|
* not map to external storage, the system will replace it with the external storage path prefix for that device.
|
|
672
894
|
*/
|
|
673
|
-
directoriesToPull?:
|
|
895
|
+
directoriesToPull?:
|
|
896
|
+
string[];
|
|
674
897
|
/** Whether to prevent all runtime permissions to be granted at app install */
|
|
675
|
-
dontAutograntPermissions?:
|
|
898
|
+
dontAutograntPermissions?:
|
|
899
|
+
boolean;
|
|
676
900
|
/** Environment variables to set for the test (only applicable for instrumentation tests). */
|
|
677
|
-
environmentVariables?:
|
|
901
|
+
environmentVariables?:
|
|
902
|
+
EnvironmentVariable[];
|
|
678
903
|
/** List of files to push to the device before starting the test. */
|
|
679
|
-
filesToPush?:
|
|
904
|
+
filesToPush?:
|
|
905
|
+
DeviceFile[];
|
|
680
906
|
/**
|
|
681
907
|
* The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling
|
|
682
908
|
* TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
|
|
683
909
|
*/
|
|
684
|
-
networkProfile?:
|
|
910
|
+
networkProfile?:
|
|
911
|
+
string;
|
|
685
912
|
/**
|
|
686
913
|
* Systrace configuration for the run. Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. Systrace is no longer supported in the Cloud Testing API, and no Systrace
|
|
687
914
|
* file will be provided in the results.
|
|
688
915
|
*/
|
|
689
|
-
systrace?:
|
|
916
|
+
systrace?:
|
|
917
|
+
SystraceSetup;
|
|
690
918
|
}
|
|
691
919
|
interface TestSpecification {
|
|
692
920
|
/** An Android instrumentation test. */
|
|
693
|
-
androidInstrumentationTest?:
|
|
921
|
+
androidInstrumentationTest?:
|
|
922
|
+
AndroidInstrumentationTest;
|
|
694
923
|
/** An Android robo test. */
|
|
695
|
-
androidRoboTest?:
|
|
924
|
+
androidRoboTest?:
|
|
925
|
+
AndroidRoboTest;
|
|
696
926
|
/** An Android Application with a Test Loop. */
|
|
697
|
-
androidTestLoop?:
|
|
927
|
+
androidTestLoop?:
|
|
928
|
+
AndroidTestLoop;
|
|
698
929
|
/** Disables performance metrics recording. May reduce test latency. */
|
|
699
|
-
disablePerformanceMetrics?:
|
|
930
|
+
disablePerformanceMetrics?:
|
|
931
|
+
boolean;
|
|
700
932
|
/** Disables video recording. May reduce test latency. */
|
|
701
|
-
disableVideoRecording?:
|
|
933
|
+
disableVideoRecording?:
|
|
934
|
+
boolean;
|
|
702
935
|
/** An iOS application with a test loop. */
|
|
703
|
-
iosTestLoop?:
|
|
936
|
+
iosTestLoop?:
|
|
937
|
+
IosTestLoop;
|
|
704
938
|
/** Test setup requirements for iOS. */
|
|
705
|
-
iosTestSetup?:
|
|
939
|
+
iosTestSetup?:
|
|
940
|
+
IosTestSetup;
|
|
706
941
|
/** An iOS XCTest, via an .xctestrun file. */
|
|
707
|
-
iosXcTest?:
|
|
942
|
+
iosXcTest?:
|
|
943
|
+
IosXcTest;
|
|
708
944
|
/** Test setup requirements for Android e.g. files to install, bootstrap scripts. */
|
|
709
|
-
testSetup?:
|
|
945
|
+
testSetup?:
|
|
946
|
+
TestSetup;
|
|
710
947
|
/** Max time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min. */
|
|
711
|
-
testTimeout?:
|
|
948
|
+
testTimeout?:
|
|
949
|
+
string;
|
|
712
950
|
}
|
|
713
951
|
interface TestTargetsForShard {
|
|
714
952
|
/**
|
|
715
953
|
* Group of packages, classes, and/or test methods to be run for each shard. The targets need to be specified in AndroidJUnitRunner argument format. For example, "package
|
|
716
954
|
* com.my.packages" "class com.my.package.MyClass". The number of test_targets must be greater than 0.
|
|
717
955
|
*/
|
|
718
|
-
testTargets?:
|
|
956
|
+
testTargets?:
|
|
957
|
+
string[];
|
|
719
958
|
}
|
|
720
959
|
interface ToolResultsExecution {
|
|
721
960
|
/** Output only. A tool results execution ID. */
|
|
722
|
-
executionId?:
|
|
961
|
+
executionId?:
|
|
962
|
+
string;
|
|
723
963
|
/** Output only. A tool results history ID. */
|
|
724
|
-
historyId?:
|
|
964
|
+
historyId?:
|
|
965
|
+
string;
|
|
725
966
|
/** Output only. The cloud project that owns the tool results execution. */
|
|
726
|
-
projectId?:
|
|
967
|
+
projectId?:
|
|
968
|
+
string;
|
|
727
969
|
}
|
|
728
970
|
interface ToolResultsHistory {
|
|
729
971
|
/** Required. A tool results history ID. */
|
|
730
|
-
historyId?:
|
|
972
|
+
historyId?:
|
|
973
|
+
string;
|
|
731
974
|
/** Required. The cloud project that owns the tool results history. */
|
|
732
|
-
projectId?:
|
|
975
|
+
projectId?:
|
|
976
|
+
string;
|
|
733
977
|
}
|
|
734
978
|
interface ToolResultsStep {
|
|
735
979
|
/** Output only. A tool results execution ID. */
|
|
736
|
-
executionId?:
|
|
980
|
+
executionId?:
|
|
981
|
+
string;
|
|
737
982
|
/** Output only. A tool results history ID. */
|
|
738
|
-
historyId?:
|
|
983
|
+
historyId?:
|
|
984
|
+
string;
|
|
739
985
|
/** Output only. The cloud project that owns the tool results step. */
|
|
740
|
-
projectId?:
|
|
986
|
+
projectId?:
|
|
987
|
+
string;
|
|
741
988
|
/** Output only. A tool results step ID. */
|
|
742
|
-
stepId?:
|
|
989
|
+
stepId?:
|
|
990
|
+
string;
|
|
743
991
|
}
|
|
744
992
|
interface TrafficRule {
|
|
745
993
|
/** Bandwidth in kbits/second. */
|
|
746
|
-
bandwidth?:
|
|
994
|
+
bandwidth?:
|
|
995
|
+
number;
|
|
747
996
|
/** Burst size in kbits. */
|
|
748
|
-
burst?:
|
|
997
|
+
burst?:
|
|
998
|
+
number;
|
|
749
999
|
/** Packet delay, must be >= 0. */
|
|
750
|
-
delay?:
|
|
1000
|
+
delay?:
|
|
1001
|
+
string;
|
|
751
1002
|
/** Packet duplication ratio (0.0 - 1.0). */
|
|
752
|
-
packetDuplicationRatio?:
|
|
1003
|
+
packetDuplicationRatio?:
|
|
1004
|
+
number;
|
|
753
1005
|
/** Packet loss ratio (0.0 - 1.0). */
|
|
754
|
-
packetLossRatio?:
|
|
1006
|
+
packetLossRatio?:
|
|
1007
|
+
number;
|
|
755
1008
|
}
|
|
756
1009
|
interface UniformSharding {
|
|
757
1010
|
/**
|
|
758
1011
|
* Required. The total number of shards to create. This must always be a positive number that is no greater than the total number of test cases. When you select one or more physical
|
|
759
1012
|
* devices, the number of shards must be <= 50. When you select one or more ARM virtual devices, it must be <= 100. When you select only x86 virtual devices, it must be <= 500.
|
|
760
1013
|
*/
|
|
761
|
-
numShards?:
|
|
1014
|
+
numShards?:
|
|
1015
|
+
number;
|
|
762
1016
|
}
|
|
763
1017
|
interface UsesFeature {
|
|
764
1018
|
/** The android:required value */
|
|
765
|
-
isRequired?:
|
|
1019
|
+
isRequired?:
|
|
1020
|
+
boolean;
|
|
766
1021
|
/** The android:name value */
|
|
767
|
-
name?:
|
|
1022
|
+
name?:
|
|
1023
|
+
string;
|
|
768
1024
|
}
|
|
769
1025
|
interface XcodeVersion {
|
|
770
1026
|
/** Tags for this Xcode version. Example: "default". */
|
|
771
|
-
tags?:
|
|
1027
|
+
tags?:
|
|
1028
|
+
string[];
|
|
772
1029
|
/** The id for this version. Example: "9.2". */
|
|
773
|
-
version?:
|
|
1030
|
+
version?:
|
|
1031
|
+
string;
|
|
774
1032
|
}
|
|
775
1033
|
interface ApplicationDetailServiceResource {
|
|
776
1034
|
/** Gets the details of an Android application APK. */
|
|
777
1035
|
getApkDetails(request: {
|
|
778
1036
|
/** V1 error format. */
|
|
779
|
-
"$.xgafv"?:
|
|
1037
|
+
"$.xgafv"?:
|
|
1038
|
+
string;
|
|
780
1039
|
/** OAuth access token. */
|
|
781
|
-
access_token?:
|
|
1040
|
+
access_token?:
|
|
1041
|
+
string;
|
|
782
1042
|
/** Data format for response. */
|
|
783
|
-
alt?:
|
|
1043
|
+
alt?:
|
|
1044
|
+
string;
|
|
784
1045
|
/** JSONP */
|
|
785
|
-
callback?:
|
|
1046
|
+
callback?:
|
|
1047
|
+
string;
|
|
786
1048
|
/** Selector specifying which fields to include in a partial response. */
|
|
787
|
-
fields?:
|
|
1049
|
+
fields?:
|
|
1050
|
+
string;
|
|
788
1051
|
/** 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. */
|
|
789
|
-
key?:
|
|
1052
|
+
key?:
|
|
1053
|
+
string;
|
|
790
1054
|
/** OAuth 2.0 token for the current user. */
|
|
791
|
-
oauth_token?:
|
|
1055
|
+
oauth_token?:
|
|
1056
|
+
string;
|
|
792
1057
|
/** Returns response with indentations and line breaks. */
|
|
793
|
-
prettyPrint?:
|
|
1058
|
+
prettyPrint?:
|
|
1059
|
+
boolean;
|
|
794
1060
|
/** 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. */
|
|
795
|
-
quotaUser?:
|
|
1061
|
+
quotaUser?:
|
|
1062
|
+
string;
|
|
796
1063
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
797
|
-
upload_protocol?:
|
|
1064
|
+
upload_protocol?:
|
|
1065
|
+
string;
|
|
798
1066
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
799
|
-
uploadType?:
|
|
1067
|
+
uploadType?:
|
|
1068
|
+
string;
|
|
800
1069
|
/** Request body */
|
|
801
|
-
resource:
|
|
1070
|
+
resource:
|
|
1071
|
+
FileReference;
|
|
802
1072
|
}): Request<GetApkDetailsResponse>;
|
|
803
1073
|
getApkDetails(request: {
|
|
804
1074
|
/** V1 error format. */
|
|
805
|
-
"$.xgafv"?:
|
|
1075
|
+
"$.xgafv"?:
|
|
1076
|
+
string;
|
|
806
1077
|
/** OAuth access token. */
|
|
807
|
-
access_token?:
|
|
1078
|
+
access_token?:
|
|
1079
|
+
string;
|
|
808
1080
|
/** Data format for response. */
|
|
809
|
-
alt?:
|
|
1081
|
+
alt?:
|
|
1082
|
+
string;
|
|
810
1083
|
/** JSONP */
|
|
811
|
-
callback?:
|
|
1084
|
+
callback?:
|
|
1085
|
+
string;
|
|
812
1086
|
/** Selector specifying which fields to include in a partial response. */
|
|
813
|
-
fields?:
|
|
1087
|
+
fields?:
|
|
1088
|
+
string;
|
|
814
1089
|
/** 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. */
|
|
815
|
-
key?:
|
|
1090
|
+
key?:
|
|
1091
|
+
string;
|
|
816
1092
|
/** OAuth 2.0 token for the current user. */
|
|
817
|
-
oauth_token?:
|
|
1093
|
+
oauth_token?:
|
|
1094
|
+
string;
|
|
818
1095
|
/** Returns response with indentations and line breaks. */
|
|
819
|
-
prettyPrint?:
|
|
1096
|
+
prettyPrint?:
|
|
1097
|
+
boolean;
|
|
820
1098
|
/** 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. */
|
|
821
|
-
quotaUser?:
|
|
1099
|
+
quotaUser?:
|
|
1100
|
+
string;
|
|
822
1101
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
823
|
-
upload_protocol?:
|
|
1102
|
+
upload_protocol?:
|
|
1103
|
+
string;
|
|
824
1104
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
825
|
-
uploadType?:
|
|
1105
|
+
uploadType?:
|
|
1106
|
+
string;
|
|
826
1107
|
},
|
|
827
1108
|
body: FileReference): Request<GetApkDetailsResponse>;
|
|
828
1109
|
}
|
|
@@ -834,31 +1115,44 @@ declare namespace gapi.client {
|
|
|
834
1115
|
*/
|
|
835
1116
|
cancel(request?: {
|
|
836
1117
|
/** V1 error format. */
|
|
837
|
-
"$.xgafv"?:
|
|
1118
|
+
"$.xgafv"?:
|
|
1119
|
+
string;
|
|
838
1120
|
/** OAuth access token. */
|
|
839
|
-
access_token?:
|
|
1121
|
+
access_token?:
|
|
1122
|
+
string;
|
|
840
1123
|
/** Data format for response. */
|
|
841
|
-
alt?:
|
|
1124
|
+
alt?:
|
|
1125
|
+
string;
|
|
842
1126
|
/** JSONP */
|
|
843
|
-
callback?:
|
|
1127
|
+
callback?:
|
|
1128
|
+
string;
|
|
844
1129
|
/** Selector specifying which fields to include in a partial response. */
|
|
845
|
-
fields?:
|
|
1130
|
+
fields?:
|
|
1131
|
+
string;
|
|
846
1132
|
/** 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. */
|
|
847
|
-
key?:
|
|
1133
|
+
key?:
|
|
1134
|
+
string;
|
|
848
1135
|
/** OAuth 2.0 token for the current user. */
|
|
849
|
-
oauth_token?:
|
|
1136
|
+
oauth_token?:
|
|
1137
|
+
string;
|
|
850
1138
|
/** Returns response with indentations and line breaks. */
|
|
851
|
-
prettyPrint?:
|
|
1139
|
+
prettyPrint?:
|
|
1140
|
+
boolean;
|
|
852
1141
|
/** Cloud project that owns the test. */
|
|
853
|
-
projectId:
|
|
1142
|
+
projectId:
|
|
1143
|
+
string;
|
|
854
1144
|
/** 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. */
|
|
855
|
-
quotaUser?:
|
|
1145
|
+
quotaUser?:
|
|
1146
|
+
string;
|
|
856
1147
|
/** Test matrix that will be canceled. */
|
|
857
|
-
testMatrixId:
|
|
1148
|
+
testMatrixId:
|
|
1149
|
+
string;
|
|
858
1150
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
859
|
-
upload_protocol?:
|
|
1151
|
+
upload_protocol?:
|
|
1152
|
+
string;
|
|
860
1153
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
861
|
-
uploadType?:
|
|
1154
|
+
uploadType?:
|
|
1155
|
+
string;
|
|
862
1156
|
}): Request<CancelTestMatrixResponse>;
|
|
863
1157
|
/**
|
|
864
1158
|
* Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most
|
|
@@ -868,67 +1162,94 @@ declare namespace gapi.client {
|
|
|
868
1162
|
*/
|
|
869
1163
|
create(request: {
|
|
870
1164
|
/** V1 error format. */
|
|
871
|
-
"$.xgafv"?:
|
|
1165
|
+
"$.xgafv"?:
|
|
1166
|
+
string;
|
|
872
1167
|
/** OAuth access token. */
|
|
873
|
-
access_token?:
|
|
1168
|
+
access_token?:
|
|
1169
|
+
string;
|
|
874
1170
|
/** Data format for response. */
|
|
875
|
-
alt?:
|
|
1171
|
+
alt?:
|
|
1172
|
+
string;
|
|
876
1173
|
/** JSONP */
|
|
877
|
-
callback?:
|
|
1174
|
+
callback?:
|
|
1175
|
+
string;
|
|
878
1176
|
/** Selector specifying which fields to include in a partial response. */
|
|
879
|
-
fields?:
|
|
1177
|
+
fields?:
|
|
1178
|
+
string;
|
|
880
1179
|
/** 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. */
|
|
881
|
-
key?:
|
|
1180
|
+
key?:
|
|
1181
|
+
string;
|
|
882
1182
|
/** OAuth 2.0 token for the current user. */
|
|
883
|
-
oauth_token?:
|
|
1183
|
+
oauth_token?:
|
|
1184
|
+
string;
|
|
884
1185
|
/** Returns response with indentations and line breaks. */
|
|
885
|
-
prettyPrint?:
|
|
1186
|
+
prettyPrint?:
|
|
1187
|
+
boolean;
|
|
886
1188
|
/** The GCE project under which this job will run. */
|
|
887
|
-
projectId:
|
|
1189
|
+
projectId:
|
|
1190
|
+
string;
|
|
888
1191
|
/** 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. */
|
|
889
|
-
quotaUser?:
|
|
1192
|
+
quotaUser?:
|
|
1193
|
+
string;
|
|
890
1194
|
/**
|
|
891
1195
|
* A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional,
|
|
892
1196
|
* but strongly recommended.
|
|
893
1197
|
*/
|
|
894
|
-
requestId?:
|
|
1198
|
+
requestId?:
|
|
1199
|
+
string;
|
|
895
1200
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
896
|
-
upload_protocol?:
|
|
1201
|
+
upload_protocol?:
|
|
1202
|
+
string;
|
|
897
1203
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
898
|
-
uploadType?:
|
|
1204
|
+
uploadType?:
|
|
1205
|
+
string;
|
|
899
1206
|
/** Request body */
|
|
900
|
-
resource:
|
|
1207
|
+
resource:
|
|
1208
|
+
TestMatrix;
|
|
901
1209
|
}): Request<TestMatrix>;
|
|
902
1210
|
create(request: {
|
|
903
1211
|
/** V1 error format. */
|
|
904
|
-
"$.xgafv"?:
|
|
1212
|
+
"$.xgafv"?:
|
|
1213
|
+
string;
|
|
905
1214
|
/** OAuth access token. */
|
|
906
|
-
access_token?:
|
|
1215
|
+
access_token?:
|
|
1216
|
+
string;
|
|
907
1217
|
/** Data format for response. */
|
|
908
|
-
alt?:
|
|
1218
|
+
alt?:
|
|
1219
|
+
string;
|
|
909
1220
|
/** JSONP */
|
|
910
|
-
callback?:
|
|
1221
|
+
callback?:
|
|
1222
|
+
string;
|
|
911
1223
|
/** Selector specifying which fields to include in a partial response. */
|
|
912
|
-
fields?:
|
|
1224
|
+
fields?:
|
|
1225
|
+
string;
|
|
913
1226
|
/** 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. */
|
|
914
|
-
key?:
|
|
1227
|
+
key?:
|
|
1228
|
+
string;
|
|
915
1229
|
/** OAuth 2.0 token for the current user. */
|
|
916
|
-
oauth_token?:
|
|
1230
|
+
oauth_token?:
|
|
1231
|
+
string;
|
|
917
1232
|
/** Returns response with indentations and line breaks. */
|
|
918
|
-
prettyPrint?:
|
|
1233
|
+
prettyPrint?:
|
|
1234
|
+
boolean;
|
|
919
1235
|
/** The GCE project under which this job will run. */
|
|
920
|
-
projectId:
|
|
1236
|
+
projectId:
|
|
1237
|
+
string;
|
|
921
1238
|
/** 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. */
|
|
922
|
-
quotaUser?:
|
|
1239
|
+
quotaUser?:
|
|
1240
|
+
string;
|
|
923
1241
|
/**
|
|
924
1242
|
* A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional,
|
|
925
1243
|
* but strongly recommended.
|
|
926
1244
|
*/
|
|
927
|
-
requestId?:
|
|
1245
|
+
requestId?:
|
|
1246
|
+
string;
|
|
928
1247
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
929
|
-
upload_protocol?:
|
|
1248
|
+
upload_protocol?:
|
|
1249
|
+
string;
|
|
930
1250
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
931
|
-
uploadType?:
|
|
1251
|
+
uploadType?:
|
|
1252
|
+
string;
|
|
932
1253
|
},
|
|
933
1254
|
body: TestMatrix): Request<TestMatrix>;
|
|
934
1255
|
/**
|
|
@@ -939,35 +1260,49 @@ declare namespace gapi.client {
|
|
|
939
1260
|
*/
|
|
940
1261
|
get(request?: {
|
|
941
1262
|
/** V1 error format. */
|
|
942
|
-
"$.xgafv"?:
|
|
1263
|
+
"$.xgafv"?:
|
|
1264
|
+
string;
|
|
943
1265
|
/** OAuth access token. */
|
|
944
|
-
access_token?:
|
|
1266
|
+
access_token?:
|
|
1267
|
+
string;
|
|
945
1268
|
/** Data format for response. */
|
|
946
|
-
alt?:
|
|
1269
|
+
alt?:
|
|
1270
|
+
string;
|
|
947
1271
|
/** JSONP */
|
|
948
|
-
callback?:
|
|
1272
|
+
callback?:
|
|
1273
|
+
string;
|
|
949
1274
|
/** Selector specifying which fields to include in a partial response. */
|
|
950
|
-
fields?:
|
|
1275
|
+
fields?:
|
|
1276
|
+
string;
|
|
951
1277
|
/** 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. */
|
|
952
|
-
key?:
|
|
1278
|
+
key?:
|
|
1279
|
+
string;
|
|
953
1280
|
/** OAuth 2.0 token for the current user. */
|
|
954
|
-
oauth_token?:
|
|
1281
|
+
oauth_token?:
|
|
1282
|
+
string;
|
|
955
1283
|
/** Returns response with indentations and line breaks. */
|
|
956
|
-
prettyPrint?:
|
|
1284
|
+
prettyPrint?:
|
|
1285
|
+
boolean;
|
|
957
1286
|
/** Cloud project that owns the test matrix. */
|
|
958
|
-
projectId:
|
|
1287
|
+
projectId:
|
|
1288
|
+
string;
|
|
959
1289
|
/** 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. */
|
|
960
|
-
quotaUser?:
|
|
1290
|
+
quotaUser?:
|
|
1291
|
+
string;
|
|
961
1292
|
/** Unique test matrix id which was assigned by the service. */
|
|
962
|
-
testMatrixId:
|
|
1293
|
+
testMatrixId:
|
|
1294
|
+
string;
|
|
963
1295
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
964
|
-
upload_protocol?:
|
|
1296
|
+
upload_protocol?:
|
|
1297
|
+
string;
|
|
965
1298
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
966
|
-
uploadType?:
|
|
1299
|
+
uploadType?:
|
|
1300
|
+
string;
|
|
967
1301
|
}): Request<TestMatrix>;
|
|
968
1302
|
}
|
|
969
1303
|
interface ProjectsResource {
|
|
970
|
-
testMatrices:
|
|
1304
|
+
testMatrices:
|
|
1305
|
+
TestMatricesResource;
|
|
971
1306
|
}
|
|
972
1307
|
interface TestEnvironmentCatalogResource {
|
|
973
1308
|
/**
|
|
@@ -976,31 +1311,44 @@ declare namespace gapi.client {
|
|
|
976
1311
|
*/
|
|
977
1312
|
get(request?: {
|
|
978
1313
|
/** V1 error format. */
|
|
979
|
-
"$.xgafv"?:
|
|
1314
|
+
"$.xgafv"?:
|
|
1315
|
+
string;
|
|
980
1316
|
/** OAuth access token. */
|
|
981
|
-
access_token?:
|
|
1317
|
+
access_token?:
|
|
1318
|
+
string;
|
|
982
1319
|
/** Data format for response. */
|
|
983
|
-
alt?:
|
|
1320
|
+
alt?:
|
|
1321
|
+
string;
|
|
984
1322
|
/** JSONP */
|
|
985
|
-
callback?:
|
|
1323
|
+
callback?:
|
|
1324
|
+
string;
|
|
986
1325
|
/** Required. The type of environment that should be listed. */
|
|
987
|
-
environmentType:
|
|
1326
|
+
environmentType:
|
|
1327
|
+
string;
|
|
988
1328
|
/** Selector specifying which fields to include in a partial response. */
|
|
989
|
-
fields?:
|
|
1329
|
+
fields?:
|
|
1330
|
+
string;
|
|
990
1331
|
/** 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. */
|
|
991
|
-
key?:
|
|
1332
|
+
key?:
|
|
1333
|
+
string;
|
|
992
1334
|
/** OAuth 2.0 token for the current user. */
|
|
993
|
-
oauth_token?:
|
|
1335
|
+
oauth_token?:
|
|
1336
|
+
string;
|
|
994
1337
|
/** Returns response with indentations and line breaks. */
|
|
995
|
-
prettyPrint?:
|
|
1338
|
+
prettyPrint?:
|
|
1339
|
+
boolean;
|
|
996
1340
|
/** For authorization, the cloud project requesting the TestEnvironmentCatalog. */
|
|
997
|
-
projectId?:
|
|
1341
|
+
projectId?:
|
|
1342
|
+
string;
|
|
998
1343
|
/** 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. */
|
|
999
|
-
quotaUser?:
|
|
1344
|
+
quotaUser?:
|
|
1345
|
+
string;
|
|
1000
1346
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1001
|
-
upload_protocol?:
|
|
1347
|
+
upload_protocol?:
|
|
1348
|
+
string;
|
|
1002
1349
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1003
|
-
uploadType?:
|
|
1350
|
+
uploadType?:
|
|
1351
|
+
string;
|
|
1004
1352
|
}): Request<TestEnvironmentCatalog>;
|
|
1005
1353
|
}
|
|
1006
1354
|
|