Skip to content

Commit e3e3024

Browse files
feat(testing): update the API
#### testing:v1 The following keys were added: - resources.testEnvironmentCatalog.methods.get.parameters.includeViewableModels.description - resources.testEnvironmentCatalog.methods.get.parameters.includeViewableModels.location - resources.testEnvironmentCatalog.methods.get.parameters.includeViewableModels.type - schemas.AndroidModel.properties.accessDeniedReasons.description - schemas.AndroidModel.properties.accessDeniedReasons.items.enum - schemas.AndroidModel.properties.accessDeniedReasons.items.enumDescriptions - schemas.AndroidModel.properties.accessDeniedReasons.items.type - schemas.AndroidModel.properties.accessDeniedReasons.type
1 parent a68eb91 commit e3e3024

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

‎discovery/testing-v1.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,11 @@
431431
"required": true,
432432
"type": "string"
433433
},
434+
"includeViewableModels": {
435+
"description": "Optional. Whether to include viewable only models in the response. This is only applicable for Android models.",
436+
"location": "query",
437+
"type": "boolean"
438+
},
434439
"projectId": {
435440
"description": "For authorization, the cloud project requesting the TestEnvironmentCatalog.",
436441
"location": "query",
@@ -449,7 +454,7 @@
449454
}
450455
}
451456
},
452-
"revision": "20250304",
457+
"revision": "20250327",
453458
"rootUrl": "https://testing.googleapis.com/",
454459
"schemas": {
455460
"Account": {
@@ -620,6 +625,21 @@
620625
"description": "A description of an Android device tests may be run on.",
621626
"id": "AndroidModel",
622627
"properties": {
628+
"accessDeniedReasons": {
629+
"description": "Reasons for access denial. This model is accessible if this list is empty, otherwise the model is viewable only.",
630+
"items": {
631+
"enum": [
632+
"ACCESS_DENIED_REASON_UNSPECIFIED",
633+
"EULA_NOT_ACCEPTED"
634+
],
635+
"enumDescriptions": [
636+
"Do not use. For proto versioning only.",
637+
"The model is for viewing purposes only. Access and utilization require acceptance of an End User License Agreement (EULA)."
638+
],
639+
"type": "string"
640+
},
641+
"type": "array"
642+
},
623643
"brand": {
624644
"description": "The company that this device is branded with. Example: \"Google\", \"Samsung\".",
625645
"type": "string"

‎src/apis/testing/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,10 @@ export namespace testing_v1 {
254254
* A description of an Android device tests may be run on.
255255
*/
256256
export interface Schema$AndroidModel {
257+
/**
258+
* Reasons for access denial. This model is accessible if this list is empty, otherwise the model is viewable only.
259+
*/
260+
accessDeniedReasons?: string[] | null;
257261
/**
258262
* The company that this device is branded with. Example: "Google", "Samsung".
259263
*/
@@ -2792,6 +2796,10 @@ export namespace testing_v1 {
27922796
* Required. The type of environment that should be listed.
27932797
*/
27942798
environmentType?: string;
2799+
/**
2800+
* Optional. Whether to include viewable only models in the response. This is only applicable for Android models.
2801+
*/
2802+
includeViewableModels?: boolean;
27952803
/**
27962804
* For authorization, the cloud project requesting the TestEnvironmentCatalog.
27972805
*/

0 commit comments

Comments
 (0)