Skip to content

Commit

Permalink
feat(testing): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 10, 2024
1 parent 73354e6 commit 89acbc3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
18 changes: 17 additions & 1 deletion discovery/testing-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
}
}
},
"revision": "20240319",
"revision": "20240917",
"rootUrl": "https://testing.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -664,6 +664,11 @@
"description": "The unique opaque id for this model. Use this for invoking the TestExecutionService.",
"type": "string"
},
"labInfo": {
"$ref": "LabInfo",
"description": "Output only. Lab info of this device.",
"readOnly": true
},
"lowFpsVideoRecording": {
"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.",
"type": "boolean"
Expand Down Expand Up @@ -1705,6 +1710,17 @@
},
"type": "object"
},
"LabInfo": {
"description": "Lab specific information for a device.",
"id": "LabInfo",
"properties": {
"name": {
"description": "Lab name where the device is hosted. If empty, the device is hosted in a Google owned lab.",
"type": "string"
}
},
"type": "object"
},
"LauncherActivityIntent": {
"description": "Specifies an intent that starts the main launcher activity.",
"id": "LauncherActivityIntent",
Expand Down
13 changes: 13 additions & 0 deletions src/apis/testing/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ export namespace testing_v1 {
* The unique opaque id for this model. Use this for invoking the TestExecutionService.
*/
id?: string | null;
/**
* Output only. Lab info of this device.
*/
labInfo?: Schema$LabInfo;
/**
* True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.
*/
Expand Down Expand Up @@ -1005,6 +1009,15 @@ export namespace testing_v1 {
*/
xctestrun?: Schema$FileReference;
}
/**
* Lab specific information for a device.
*/
export interface Schema$LabInfo {
/**
* Lab name where the device is hosted. If empty, the device is hosted in a Google owned lab.
*/
name?: string | null;
}
/**
* Specifies an intent that starts the main launcher activity.
*/
Expand Down

0 comments on commit 89acbc3

Please # to comment.