Skip to content

Commit b1f0a47

Browse files
feat(testing): update the API
#### testing:v1 The following keys were added: - schemas.AndroidRoboTest.properties.roboMode.enumDeprecated The following keys were changed: - schemas.AndroidRoboTest.properties.roboMode.enumDescriptions
1 parent 315c6de commit b1f0a47

File tree

2 files changed

+17
-22
lines changed

2 files changed

+17
-22
lines changed

discovery/testing-v1.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454
}
455455
}
456456
},
457-
"revision": "20251003",
457+
"revision": "20251111",
458458
"rootUrl": "https://testing.googleapis.com/",
459459
"schemas": {
460460
"Account": {
@@ -805,10 +805,15 @@
805805
"ROBO_VERSION_1",
806806
"ROBO_VERSION_2"
807807
],
808+
"enumDeprecated": [
809+
false,
810+
false,
811+
true
812+
],
808813
"enumDescriptions": [
809814
"This means that the server should choose the mode. Recommended.",
810815
"Runs Robo in UIAutomator-only mode without app resigning",
811-
"Runs Robo in standard Espresso with UIAutomator fallback"
816+
"Deprecated: Use ROBO_VERSION_1 instead for all use cases. Runs Robo in standard Espresso with UIAutomator fallback"
812817
],
813818
"type": "string"
814819
},

src/apis/testing/v1.ts

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,8 +1906,7 @@ export namespace testing_v1 {
19061906
}
19071907
}
19081908

1909-
export interface Params$Resource$Applicationdetailservice$Getapkdetails
1910-
extends StandardParameters {
1909+
export interface Params$Resource$Applicationdetailservice$Getapkdetails extends StandardParameters {
19111910
/**
19121911
* 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)
19131912
*/
@@ -2691,8 +2690,7 @@ export namespace testing_v1 {
26912690
}
26922691
}
26932692

2694-
export interface Params$Resource$Projects$Devicesessions$Cancel
2695-
extends StandardParameters {
2693+
export interface Params$Resource$Projects$Devicesessions$Cancel extends StandardParameters {
26962694
/**
26972695
* Required. Name of the DeviceSession, e.g. "projects/{project_id\}/deviceSessions/{session_id\}"
26982696
*/
@@ -2703,8 +2701,7 @@ export namespace testing_v1 {
27032701
*/
27042702
requestBody?: Schema$CancelDeviceSessionRequest;
27052703
}
2706-
export interface Params$Resource$Projects$Devicesessions$Create
2707-
extends StandardParameters {
2704+
export interface Params$Resource$Projects$Devicesessions$Create extends StandardParameters {
27082705
/**
27092706
* Required. The Compute Engine project under which this device will be allocated. "projects/{project_id\}"
27102707
*/
@@ -2715,15 +2712,13 @@ export namespace testing_v1 {
27152712
*/
27162713
requestBody?: Schema$DeviceSession;
27172714
}
2718-
export interface Params$Resource$Projects$Devicesessions$Get
2719-
extends StandardParameters {
2715+
export interface Params$Resource$Projects$Devicesessions$Get extends StandardParameters {
27202716
/**
27212717
* Required. Name of the DeviceSession, e.g. "projects/{project_id\}/deviceSessions/{session_id\}"
27222718
*/
27232719
name?: string;
27242720
}
2725-
export interface Params$Resource$Projects$Devicesessions$List
2726-
extends StandardParameters {
2721+
export interface Params$Resource$Projects$Devicesessions$List extends StandardParameters {
27272722
/**
27282723
* Optional. If specified, responses will be filtered by the given filter. Allowed fields are: session_state.
27292724
*/
@@ -2741,8 +2736,7 @@ export namespace testing_v1 {
27412736
*/
27422737
parent?: string;
27432738
}
2744-
export interface Params$Resource$Projects$Devicesessions$Patch
2745-
extends StandardParameters {
2739+
export interface Params$Resource$Projects$Devicesessions$Patch extends StandardParameters {
27462740
/**
27472741
* Optional. Name of the DeviceSession, e.g. "projects/{project_id\}/deviceSessions/{session_id\}"
27482742
*/
@@ -3235,8 +3229,7 @@ export namespace testing_v1 {
32353229
}
32363230
}
32373231

3238-
export interface Params$Resource$Projects$Testmatrices$Cancel
3239-
extends StandardParameters {
3232+
export interface Params$Resource$Projects$Testmatrices$Cancel extends StandardParameters {
32403233
/**
32413234
* Cloud project that owns the test.
32423235
*/
@@ -3246,8 +3239,7 @@ export namespace testing_v1 {
32463239
*/
32473240
testMatrixId?: string;
32483241
}
3249-
export interface Params$Resource$Projects$Testmatrices$Create
3250-
extends StandardParameters {
3242+
export interface Params$Resource$Projects$Testmatrices$Create extends StandardParameters {
32513243
/**
32523244
* The GCE project under which this job will run.
32533245
*/
@@ -3262,8 +3254,7 @@ export namespace testing_v1 {
32623254
*/
32633255
requestBody?: Schema$TestMatrix;
32643256
}
3265-
export interface Params$Resource$Projects$Testmatrices$Get
3266-
extends StandardParameters {
3257+
export interface Params$Resource$Projects$Testmatrices$Get extends StandardParameters {
32673258
/**
32683259
* Cloud project that owns the test matrix.
32693260
*/
@@ -3430,8 +3421,7 @@ export namespace testing_v1 {
34303421
}
34313422
}
34323423

3433-
export interface Params$Resource$Testenvironmentcatalog$Get
3434-
extends StandardParameters {
3424+
export interface Params$Resource$Testenvironmentcatalog$Get extends StandardParameters {
34353425
/**
34363426
* Required. The type of environment that should be listed.
34373427
*/

0 commit comments

Comments
 (0)