Skip to content

Commit 89acbc3

Browse files
yoshi-automationsofisl
authored andcommitted
feat(testing): update the API
#### testing:v1 The following keys were added: - schemas.AndroidModel.properties.labInfo.$ref - schemas.AndroidModel.properties.labInfo.description - schemas.AndroidModel.properties.labInfo.readOnly - schemas.LabInfo.description - schemas.LabInfo.id - schemas.LabInfo.properties.name.description - schemas.LabInfo.properties.name.type - schemas.LabInfo.type
1 parent 73354e6 commit 89acbc3

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

discovery/testing-v1.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
}
450450
}
451451
},
452-
"revision": "20240319",
452+
"revision": "20240917",
453453
"rootUrl": "https://testing.googleapis.com/",
454454
"schemas": {
455455
"Account": {
@@ -664,6 +664,11 @@
664664
"description": "The unique opaque id for this model. Use this for invoking the TestExecutionService.",
665665
"type": "string"
666666
},
667+
"labInfo": {
668+
"$ref": "LabInfo",
669+
"description": "Output only. Lab info of this device.",
670+
"readOnly": true
671+
},
667672
"lowFpsVideoRecording": {
668673
"description": "True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.",
669674
"type": "boolean"
@@ -1705,6 +1710,17 @@
17051710
},
17061711
"type": "object"
17071712
},
1713+
"LabInfo": {
1714+
"description": "Lab specific information for a device.",
1715+
"id": "LabInfo",
1716+
"properties": {
1717+
"name": {
1718+
"description": "Lab name where the device is hosted. If empty, the device is hosted in a Google owned lab.",
1719+
"type": "string"
1720+
}
1721+
},
1722+
"type": "object"
1723+
},
17081724
"LauncherActivityIntent": {
17091725
"description": "Specifies an intent that starts the main launcher activity.",
17101726
"id": "LauncherActivityIntent",

src/apis/testing/v1.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ export namespace testing_v1 {
274274
* The unique opaque id for this model. Use this for invoking the TestExecutionService.
275275
*/
276276
id?: string | null;
277+
/**
278+
* Output only. Lab info of this device.
279+
*/
280+
labInfo?: Schema$LabInfo;
277281
/**
278282
* True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.
279283
*/
@@ -1005,6 +1009,15 @@ export namespace testing_v1 {
10051009
*/
10061010
xctestrun?: Schema$FileReference;
10071011
}
1012+
/**
1013+
* Lab specific information for a device.
1014+
*/
1015+
export interface Schema$LabInfo {
1016+
/**
1017+
* Lab name where the device is hosted. If empty, the device is hosted in a Google owned lab.
1018+
*/
1019+
name?: string | null;
1020+
}
10081021
/**
10091022
* Specifies an intent that starts the main launcher activity.
10101023
*/

0 commit comments

Comments
 (0)