Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dab06c6

Browse files
committedApr 22, 2025
feat(workstations): update the api
#### workstations:v1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes (Total Keys: 3) - resources.projects.resources.locations.resources.workstationClusters.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.locations.resources.workstationClusters.resources.workstationConfigs.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.locations.resources.workstationClusters.resources.workstationConfigs.resources.workstations.methods.list.parameters.filter (Total Keys: 2)
1 parent 6f0fba3 commit dab06c6

5 files changed

+40
-15
lines changed
 

‎docs/dyn/workstations_v1.projects.locations.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
9191
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9292
<p class="firstline">Gets information about a location.</p>
9393
<p class="toc_element">
94-
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94+
<code><a href="#list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9595
<p class="firstline">Lists information about the supported locations for this service.</p>
9696
<p class="toc_element">
9797
<code><a href="#list_next">list_next()</a></code></p>
@@ -130,11 +130,12 @@ <h3>Method Details</h3>
130130
</div>
131131

132132
<div class="method">
133-
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
133+
<code class="details" id="list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
134134
<pre>Lists information about the supported locations for this service.
135135

136136
Args:
137137
name: string, The resource that owns the locations collection, if applicable. (required)
138+
extraLocationTypes: string, Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. (repeated)
138139
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
139140
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
140141
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

‎docs/dyn/workstations_v1.projects.locations.workstationClusters.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h2>Instance Methods</h2>
9292
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9393
<p class="firstline">Returns the requested workstation cluster.</p>
9494
<p class="toc_element">
95-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
95+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9696
<p class="firstline">Returns all workstation clusters in the specified location.</p>
9797
<p class="toc_element">
9898
<code><a href="#list_next">list_next()</a></code></p>
@@ -292,11 +292,12 @@ <h3>Method Details</h3>
292292
</div>
293293

294294
<div class="method">
295-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
295+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
296296
<pre>Returns all workstation clusters in the specified location.
297297

298298
Args:
299299
parent: string, Required. Parent resource name. (required)
300+
filter: string, Optional. Filter the WorkstationClusters to be listed. Possible filters are described in https://google.aip.dev/160.
300301
pageSize: integer, Optional. Maximum number of items to return.
301302
pageToken: string, Optional. next_page_token value returned from a previous List request, if any.
302303
x__xgafv: string, V1 error format.

‎docs/dyn/workstations_v1.projects.locations.workstationClusters.workstationConfigs.html

+8-7
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h2>Instance Methods</h2>
9595
<code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
9696
<p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p>
9797
<p class="toc_element">
98-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
98+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9999
<p class="firstline">Returns all workstation configurations in the specified cluster.</p>
100100
<p class="toc_element">
101101
<code><a href="#listUsable">listUsable(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
@@ -181,7 +181,7 @@ <h3>Method Details</h3>
181181
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Type of the disk to use. Defaults to `&quot;pd-standard&quot;`.
182182
&quot;readOnly&quot;: True or False, # Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
183183
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
184-
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
184+
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see [the filesystems available in Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
185185
},
186186
&quot;mountPath&quot;: &quot;A String&quot;, # Required. Location of this directory in the running workstation.
187187
},
@@ -405,7 +405,7 @@ <h3>Method Details</h3>
405405
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Type of the disk to use. Defaults to `&quot;pd-standard&quot;`.
406406
&quot;readOnly&quot;: True or False, # Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
407407
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
408-
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
408+
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see [the filesystems available in Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
409409
},
410410
&quot;mountPath&quot;: &quot;A String&quot;, # Required. Location of this directory in the running workstation.
411411
},
@@ -545,11 +545,12 @@ <h3>Method Details</h3>
545545
</div>
546546

547547
<div class="method">
548-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
548+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
549549
<pre>Returns all workstation configurations in the specified cluster.
550550

551551
Args:
552552
parent: string, Required. Parent resource name. (required)
553+
filter: string, Optional. Filter the WorkstationConfigs to be listed. Possible filters are described in https://google.aip.dev/160.
553554
pageSize: integer, Optional. Maximum number of items to return.
554555
pageToken: string, Optional. next_page_token value returned from a previous List request, if any.
555556
x__xgafv: string, V1 error format.
@@ -617,7 +618,7 @@ <h3>Method Details</h3>
617618
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Type of the disk to use. Defaults to `&quot;pd-standard&quot;`.
618619
&quot;readOnly&quot;: True or False, # Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
619620
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
620-
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
621+
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see [the filesystems available in Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
621622
},
622623
&quot;mountPath&quot;: &quot;A String&quot;, # Required. Location of this directory in the running workstation.
623624
},
@@ -783,7 +784,7 @@ <h3>Method Details</h3>
783784
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Type of the disk to use. Defaults to `&quot;pd-standard&quot;`.
784785
&quot;readOnly&quot;: True or False, # Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
785786
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
786-
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
787+
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see [the filesystems available in Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
787788
},
788789
&quot;mountPath&quot;: &quot;A String&quot;, # Required. Location of this directory in the running workstation.
789790
},
@@ -964,7 +965,7 @@ <h3>Method Details</h3>
964965
&quot;diskType&quot;: &quot;A String&quot;, # Optional. Type of the disk to use. Defaults to `&quot;pd-standard&quot;`.
965966
&quot;readOnly&quot;: True or False, # Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
966967
&quot;sourceImage&quot;: &quot;A String&quot;, # Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
967-
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
968+
&quot;sourceSnapshot&quot;: &quot;A String&quot;, # Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see [the filesystems available in Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.
968969
},
969970
&quot;mountPath&quot;: &quot;A String&quot;, # Required. Location of this directory in the running workstation.
970971
},

‎docs/dyn/workstations_v1.projects.locations.workstationClusters.workstationConfigs.workstations.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
9393
<code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.</p>
9595
<p class="toc_element">
96-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Returns all Workstations using the specified workstation configuration.</p>
9898
<p class="toc_element">
9999
<code><a href="#listUsable">listUsable(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
@@ -359,11 +359,12 @@ <h3>Method Details</h3>
359359
</div>
360360

361361
<div class="method">
362-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
362+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
363363
<pre>Returns all Workstations using the specified workstation configuration.
364364

365365
Args:
366366
parent: string, Required. Parent resource name. (required)
367+
filter: string, Optional. Filter the Workstations to be listed. Possible filters are described in https://google.aip.dev/160.
367368
pageSize: integer, Optional. Maximum number of items to return.
368369
pageToken: string, Optional. next_page_token value returned from a previous List request, if any.
369370
x__xgafv: string, V1 error format.

‎googleapiclient/discovery_cache/documents/workstations.v1.json

+23-2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -414,6 +420,11 @@
414420
"parent"
415421
],
416422
"parameters": {
423+
"filter": {
424+
"description": "Optional. Filter the WorkstationClusters to be listed. Possible filters are described in https://google.aip.dev/160.",
425+
"location": "query",
426+
"type": "string"
427+
},
417428
"pageSize": {
418429
"description": "Optional. Maximum number of items to return.",
419430
"format": "int32",
@@ -632,6 +643,11 @@
632643
"parent"
633644
],
634645
"parameters": {
646+
"filter": {
647+
"description": "Optional. Filter the WorkstationConfigs to be listed. Possible filters are described in https://google.aip.dev/160.",
648+
"location": "query",
649+
"type": "string"
650+
},
635651
"pageSize": {
636652
"description": "Optional. Maximum number of items to return.",
637653
"format": "int32",
@@ -965,6 +981,11 @@
965981
"parent"
966982
],
967983
"parameters": {
984+
"filter": {
985+
"description": "Optional. Filter the Workstations to be listed. Possible filters are described in https://google.aip.dev/160.",
986+
"location": "query",
987+
"type": "string"
988+
},
968989
"pageSize": {
969990
"description": "Optional. Maximum number of items to return.",
970991
"format": "int32",
@@ -1195,7 +1216,7 @@
11951216
}
11961217
}
11971218
},
1198-
"revision": "20250311",
1219+
"revision": "20250326",
11991220
"rootUrl": "https://workstations.googleapis.com/",
12001221
"schemas": {
12011222
"Accelerator": {
@@ -1567,7 +1588,7 @@
15671588
"type": "string"
15681589
},
15691590
"sourceSnapshot": {
1570-
"description": "Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, please refer to the [COS documentation](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.",
1591+
"description": "Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. Only file systems supported by Container-Optimized OS (COS) are explicitly supported. For a list of supported file systems, see [the filesystems available in Container-Optimized OS](https://cloud.google.com/container-optimized-os/docs/concepts/supported-filesystems). This field is mutable.",
15711592
"type": "string"
15721593
}
15731594
},

0 commit comments

Comments
 (0)
Please sign in to comment.