Skip to content

Commit dcfada6

Browse files
feat(testing): update the api
#### testing:v1 The following keys were added: - resources.testEnvironmentCatalog.methods.get.parameters.includeViewableModels (Total Keys: 2) - schemas.AndroidModel.properties.accessDeniedReasons (Total Keys: 2)
1 parent a0aa76f commit dcfada6

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

docs/dyn/testing_v1.testEnvironmentCatalog.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#get">get(environmentType, projectId=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#get">get(environmentType, includeViewableModels=None, projectId=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -87,7 +87,7 @@ <h3>Method Details</h3>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="get">get(environmentType, projectId=None, x__xgafv=None)</code>
90+
<code class="details" id="get">get(environmentType, includeViewableModels=None, projectId=None, x__xgafv=None)</code>
9191
<pre>Gets the catalog of supported test environments. May return any of the following canonical error codes: - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the environment type does not exist - INTERNAL - if an internal error occurred
9292

9393
Args:
@@ -99,6 +99,7 @@ <h3>Method Details</h3>
9999
NETWORK_CONFIGURATION - A network configuration to use when running a test.
100100
PROVIDED_SOFTWARE - The software environment provided by TestExecutionService.
101101
DEVICE_IP_BLOCKS - The IP blocks used by devices in the test environment.
102+
includeViewableModels: boolean, Optional. Whether to include viewable only models in the response. This is only applicable for Android models.
102103
projectId: string, For authorization, the cloud project requesting the TestEnvironmentCatalog.
103104
x__xgafv: string, V1 error format.
104105
Allowed values
@@ -112,6 +113,9 @@ <h3>Method Details</h3>
112113
&quot;androidDeviceCatalog&quot;: { # The currently supported Android devices. # Supported Android devices.
113114
&quot;models&quot;: [ # The set of supported Android device models.
114115
{ # A description of an Android device tests may be run on.
116+
&quot;accessDeniedReasons&quot;: [ # Reasons for access denial. This model is accessible if this list is empty, otherwise the model is viewable only.
117+
&quot;A String&quot;,
118+
],
115119
&quot;brand&quot;: &quot;A String&quot;, # The company that this device is branded with. Example: &quot;Google&quot;, &quot;Samsung&quot;.
116120
&quot;codename&quot;: &quot;A String&quot;, # The name of the industrial design. This corresponds to android.os.Build.DEVICE.
117121
&quot;form&quot;: &quot;A String&quot;, # Whether this device is virtual or physical.

googleapiclient/discovery_cache/documents/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"

0 commit comments

Comments
 (0)