Debian Codegraph @

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

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="workstations_v1.html">Cloud Workstations API</a> . <a href="workstations_v1.projects.html">projects</a> . <a href="workstations_v1.projects.locations.html">locations</a> . <a href="workstations_v1.projects.locations.workstationClusters.html">workstationClusters</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="workstations_v1.projects.locations.workstationClusters.workstationConfigs.html">workstationConfigs()</a></code>
79 </p>
80 <p class="firstline">Returns the workstationConfigs Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, validateOnly=None, workstationClusterId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new workstation cluster.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, etag=None, force=None, validateOnly=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes the specified workstation cluster.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Returns the requested workstation cluster.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Returns all workstation clusters in the specified location.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, allowMissing=None, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates an existing workstation cluster.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, validateOnly=None, workstationClusterId=None, x__xgafv=None)</code>
111 <pre>Creates a new workstation cluster.
112
113 Args:
114 parent: string, Required. Parent resource name. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # A workstation cluster resource in the Cloud Workstations API. Defines a group of workstations in a particular region and the VPC network they&#x27;re attached to.
119 &quot;annotations&quot;: { # Optional. Client-specified annotations.
120 &quot;a_key&quot;: &quot;A String&quot;,
121 },
122 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation cluster&#x27;s current state.
123 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
124 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
125 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
126 {
127 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
128 },
129 ],
130 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
131 },
132 ],
133 &quot;controlPlaneIp&quot;: &quot;A String&quot;, # Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
134 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was created.
135 &quot;degraded&quot;: True or False, # Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the cluster.
136 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was soft-deleted.
137 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation cluster.
138 &quot;domainConfig&quot;: { # Configuration options for a custom domain. # Optional. Configuration options for a custom domain.
139 &quot;domain&quot;: &quot;A String&quot;, # Immutable. Domain used by Workstations for HTTP ingress.
140 },
141 &quot;etag&quot;: &quot;A String&quot;, # Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
142 &quot;gatewayConfig&quot;: { # Configuration options for Cluster HTTP Gateway. # Optional. Configuration options for Cluster HTTP Gateway.
143 &quot;http2Enabled&quot;: True or False, # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.
144 },
145 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
146 &quot;a_key&quot;: &quot;A String&quot;,
147 },
148 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation cluster.
149 &quot;network&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
150 &quot;privateClusterConfig&quot;: { # Configuration options for private workstation clusters. # Optional. Configuration for private workstation cluster.
151 &quot;allowedProjects&quot;: [ # Optional. Additional projects that are allowed to attach to the workstation cluster&#x27;s service attachment. By default, the workstation cluster&#x27;s project and the VPC host project (if different) are allowed.
152 &quot;A String&quot;,
153 ],
154 &quot;clusterHostname&quot;: &quot;A String&quot;, # Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
155 &quot;enablePrivateEndpoint&quot;: True or False, # Immutable. Whether Workstations endpoint is private.
156 &quot;serviceAttachmentUri&quot;: &quot;A String&quot;, # Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
157 },
158 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
159 &quot;subnetwork&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
160 &quot;tags&quot;: { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: &quot;123/environment&quot;: &quot;production&quot;, &quot;123/costCenter&quot;: &quot;marketing&quot;
161 &quot;a_key&quot;: &quot;A String&quot;,
162 },
163 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
164 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
165 &quot;workstationAuthorizationUrl&quot;: &quot;A String&quot;, # Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in this cluster. Redirects to this endpoint will send a base64 encoded `state` query param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the original hostname with the token.
166 &quot;workstationLaunchUrl&quot;: &quot;A String&quot;, # Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL. Requests redirected to the launch endpoint will be sent with a `workstation` and `project` query parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the workstation&#x27;s host URL.
167 }
168
169 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not actually apply it.
170 workstationClusterId: string, Required. ID to use for the workstation cluster.
171 x__xgafv: string, V1 error format.
172 Allowed values
173 1 - v1 error format
174 2 - v2 error format
175
176 Returns:
177 An object of the form:
178
179 { # This resource represents a long-running operation that is the result of a network API call.
180 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
181 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
182 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
183 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
184 {
185 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
186 },
187 ],
188 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
189 },
190 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
192 },
193 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
194 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
195 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
196 },
197 }</pre>
198 </div>
199
200 <div class="method">
201 <code class="details" id="delete">delete(name, etag=None, force=None, validateOnly=None, x__xgafv=None)</code>
202 <pre>Deletes the specified workstation cluster.
203
204 Args:
205 name: string, Required. Name of the workstation cluster to delete. (required)
206 etag: string, Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag.
207 force: boolean, Optional. If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has no configurations or workstations.
208 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not apply it.
209 x__xgafv: string, V1 error format.
210 Allowed values
211 1 - v1 error format
212 2 - v2 error format
213
214 Returns:
215 An object of the form:
216
217 { # This resource represents a long-running operation that is the result of a network API call.
218 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
219 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
220 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
221 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
222 {
223 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
224 },
225 ],
226 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
227 },
228 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
229 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
230 },
231 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
232 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
233 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
234 },
235 }</pre>
236 </div>
237
238 <div class="method">
239 <code class="details" id="get">get(name, x__xgafv=None)</code>
240 <pre>Returns the requested workstation cluster.
241
242 Args:
243 name: string, Required. Name of the requested resource. (required)
244 x__xgafv: string, V1 error format.
245 Allowed values
246 1 - v1 error format
247 2 - v2 error format
248
249 Returns:
250 An object of the form:
251
252 { # A workstation cluster resource in the Cloud Workstations API. Defines a group of workstations in a particular region and the VPC network they&#x27;re attached to.
253 &quot;annotations&quot;: { # Optional. Client-specified annotations.
254 &quot;a_key&quot;: &quot;A String&quot;,
255 },
256 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation cluster&#x27;s current state.
257 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
258 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
259 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
260 {
261 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
262 },
263 ],
264 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
265 },
266 ],
267 &quot;controlPlaneIp&quot;: &quot;A String&quot;, # Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
268 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was created.
269 &quot;degraded&quot;: True or False, # Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the cluster.
270 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was soft-deleted.
271 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation cluster.
272 &quot;domainConfig&quot;: { # Configuration options for a custom domain. # Optional. Configuration options for a custom domain.
273 &quot;domain&quot;: &quot;A String&quot;, # Immutable. Domain used by Workstations for HTTP ingress.
274 },
275 &quot;etag&quot;: &quot;A String&quot;, # Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
276 &quot;gatewayConfig&quot;: { # Configuration options for Cluster HTTP Gateway. # Optional. Configuration options for Cluster HTTP Gateway.
277 &quot;http2Enabled&quot;: True or False, # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.
278 },
279 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
280 &quot;a_key&quot;: &quot;A String&quot;,
281 },
282 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation cluster.
283 &quot;network&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
284 &quot;privateClusterConfig&quot;: { # Configuration options for private workstation clusters. # Optional. Configuration for private workstation cluster.
285 &quot;allowedProjects&quot;: [ # Optional. Additional projects that are allowed to attach to the workstation cluster&#x27;s service attachment. By default, the workstation cluster&#x27;s project and the VPC host project (if different) are allowed.
286 &quot;A String&quot;,
287 ],
288 &quot;clusterHostname&quot;: &quot;A String&quot;, # Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
289 &quot;enablePrivateEndpoint&quot;: True or False, # Immutable. Whether Workstations endpoint is private.
290 &quot;serviceAttachmentUri&quot;: &quot;A String&quot;, # Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
291 },
292 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
293 &quot;subnetwork&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
294 &quot;tags&quot;: { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: &quot;123/environment&quot;: &quot;production&quot;, &quot;123/costCenter&quot;: &quot;marketing&quot;
295 &quot;a_key&quot;: &quot;A String&quot;,
296 },
297 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
298 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
299 &quot;workstationAuthorizationUrl&quot;: &quot;A String&quot;, # Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in this cluster. Redirects to this endpoint will send a base64 encoded `state` query param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the original hostname with the token.
300 &quot;workstationLaunchUrl&quot;: &quot;A String&quot;, # Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL. Requests redirected to the launch endpoint will be sent with a `workstation` and `project` query parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the workstation&#x27;s host URL.
301 }</pre>
302 </div>
303
304 <div class="method">
305 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
306 <pre>Returns all workstation clusters in the specified location.
307
308 Args:
309 parent: string, Required. Parent resource name. (required)
310 filter: string, Optional. Filter the WorkstationClusters to be listed. Possible filters are described in https://google.aip.dev/160.
311 pageSize: integer, Optional. Maximum number of items to return.
312 pageToken: string, Optional. next_page_token value returned from a previous List request, if any.
313 x__xgafv: string, V1 error format.
314 Allowed values
315 1 - v1 error format
316 2 - v2 error format
317
318 Returns:
319 An object of the form:
320
321 { # Response message for ListWorkstationClusters.
322 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
323 &quot;unreachable&quot;: [ # Unreachable resources.
324 &quot;A String&quot;,
325 ],
326 &quot;workstationClusters&quot;: [ # The requested workstation clusters.
327 { # A workstation cluster resource in the Cloud Workstations API. Defines a group of workstations in a particular region and the VPC network they&#x27;re attached to.
328 &quot;annotations&quot;: { # Optional. Client-specified annotations.
329 &quot;a_key&quot;: &quot;A String&quot;,
330 },
331 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation cluster&#x27;s current state.
332 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
333 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
334 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
335 {
336 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337 },
338 ],
339 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
340 },
341 ],
342 &quot;controlPlaneIp&quot;: &quot;A String&quot;, # Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
343 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was created.
344 &quot;degraded&quot;: True or False, # Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the cluster.
345 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was soft-deleted.
346 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation cluster.
347 &quot;domainConfig&quot;: { # Configuration options for a custom domain. # Optional. Configuration options for a custom domain.
348 &quot;domain&quot;: &quot;A String&quot;, # Immutable. Domain used by Workstations for HTTP ingress.
349 },
350 &quot;etag&quot;: &quot;A String&quot;, # Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
351 &quot;gatewayConfig&quot;: { # Configuration options for Cluster HTTP Gateway. # Optional. Configuration options for Cluster HTTP Gateway.
352 &quot;http2Enabled&quot;: True or False, # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.
353 },
354 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
355 &quot;a_key&quot;: &quot;A String&quot;,
356 },
357 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation cluster.
358 &quot;network&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
359 &quot;privateClusterConfig&quot;: { # Configuration options for private workstation clusters. # Optional. Configuration for private workstation cluster.
360 &quot;allowedProjects&quot;: [ # Optional. Additional projects that are allowed to attach to the workstation cluster&#x27;s service attachment. By default, the workstation cluster&#x27;s project and the VPC host project (if different) are allowed.
361 &quot;A String&quot;,
362 ],
363 &quot;clusterHostname&quot;: &quot;A String&quot;, # Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
364 &quot;enablePrivateEndpoint&quot;: True or False, # Immutable. Whether Workstations endpoint is private.
365 &quot;serviceAttachmentUri&quot;: &quot;A String&quot;, # Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
366 },
367 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
368 &quot;subnetwork&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
369 &quot;tags&quot;: { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: &quot;123/environment&quot;: &quot;production&quot;, &quot;123/costCenter&quot;: &quot;marketing&quot;
370 &quot;a_key&quot;: &quot;A String&quot;,
371 },
372 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
373 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
374 &quot;workstationAuthorizationUrl&quot;: &quot;A String&quot;, # Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in this cluster. Redirects to this endpoint will send a base64 encoded `state` query param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the original hostname with the token.
375 &quot;workstationLaunchUrl&quot;: &quot;A String&quot;, # Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL. Requests redirected to the launch endpoint will be sent with a `workstation` and `project` query parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the workstation&#x27;s host URL.
376 },
377 ],
378 }</pre>
379 </div>
380
381 <div class="method">
382 <code class="details" id="list_next">list_next()</code>
383 <pre>Retrieves the next page of results.
384
385 Args:
386 previous_request: The request for the previous page. (required)
387 previous_response: The response from the request for the previous page. (required)
388
389 Returns:
390 A request object that you can call &#x27;execute()&#x27; on to request the next
391 page. Returns None if there are no more items in the collection.
392 </pre>
393 </div>
394
395 <div class="method">
396 <code class="details" id="patch">patch(name, allowMissing=None, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
397 <pre>Updates an existing workstation cluster.
398
399 Args:
400 name: string, Identifier. Full name of this workstation cluster. (required)
401 body: object, The request body.
402 The object takes the form of:
403
404 { # A workstation cluster resource in the Cloud Workstations API. Defines a group of workstations in a particular region and the VPC network they&#x27;re attached to.
405 &quot;annotations&quot;: { # Optional. Client-specified annotations.
406 &quot;a_key&quot;: &quot;A String&quot;,
407 },
408 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation cluster&#x27;s current state.
409 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
410 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
411 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
412 {
413 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
414 },
415 ],
416 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
417 },
418 ],
419 &quot;controlPlaneIp&quot;: &quot;A String&quot;, # Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
420 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was created.
421 &quot;degraded&quot;: True or False, # Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. The conditions field contains detailed information about the status of the cluster.
422 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was soft-deleted.
423 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation cluster.
424 &quot;domainConfig&quot;: { # Configuration options for a custom domain. # Optional. Configuration options for a custom domain.
425 &quot;domain&quot;: &quot;A String&quot;, # Immutable. Domain used by Workstations for HTTP ingress.
426 },
427 &quot;etag&quot;: &quot;A String&quot;, # Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.
428 &quot;gatewayConfig&quot;: { # Configuration options for Cluster HTTP Gateway. # Optional. Configuration options for Cluster HTTP Gateway.
429 &quot;http2Enabled&quot;: True or False, # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.
430 },
431 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute Engine resources.
432 &quot;a_key&quot;: &quot;A String&quot;,
433 },
434 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation cluster.
435 &quot;network&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created.
436 &quot;privateClusterConfig&quot;: { # Configuration options for private workstation clusters. # Optional. Configuration for private workstation cluster.
437 &quot;allowedProjects&quot;: [ # Optional. Additional projects that are allowed to attach to the workstation cluster&#x27;s service attachment. By default, the workstation cluster&#x27;s project and the VPC host project (if different) are allowed.
438 &quot;A String&quot;,
439 ],
440 &quot;clusterHostname&quot;: &quot;A String&quot;, # Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
441 &quot;enablePrivateEndpoint&quot;: True or False, # Immutable. Whether Workstations endpoint is private.
442 &quot;serviceAttachmentUri&quot;: &quot;A String&quot;, # Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
443 },
444 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
445 &quot;subnetwork&quot;: &quot;A String&quot;, # Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.
446 &quot;tags&quot;: { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: &quot;123/environment&quot;: &quot;production&quot;, &quot;123/costCenter&quot;: &quot;marketing&quot;
447 &quot;a_key&quot;: &quot;A String&quot;,
448 },
449 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
450 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
451 &quot;workstationAuthorizationUrl&quot;: &quot;A String&quot;, # Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in this cluster. Redirects to this endpoint will send a base64 encoded `state` query param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the original hostname with the token.
452 &quot;workstationLaunchUrl&quot;: &quot;A String&quot;, # Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL. Requests redirected to the launch endpoint will be sent with a `workstation` and `project` query parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the workstation&#x27;s host URL.
453 }
454
455 allowMissing: boolean, Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored.
456 updateMask: string, Required. Mask that specifies which fields in the workstation cluster should be updated.
457 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not actually apply it.
458 x__xgafv: string, V1 error format.
459 Allowed values
460 1 - v1 error format
461 2 - v2 error format
462
463 Returns:
464 An object of the form:
465
466 { # This resource represents a long-running operation that is the result of a network API call.
467 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
468 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
469 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
470 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
471 {
472 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
473 },
474 ],
475 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
476 },
477 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
478 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
479 },
480 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
481 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
482 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
483 },
484 }</pre>
485 </div>
486
487 </body></html>