Debian Codegraph @

docs/dyn/workstations_v1beta.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_v1beta.html">Cloud Workstations API</a> . <a href="workstations_v1beta.projects.html">projects</a> . <a href="workstations_v1beta.projects.locations.html">locations</a> . <a href="workstations_v1beta.projects.locations.workstationClusters.html">workstationClusters</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="workstations_v1beta.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;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
160 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
161 &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.
162 &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;
163 &quot;a_key&quot;: &quot;A String&quot;,
164 },
165 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
166 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
167 &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.
168 &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.
169 }
170
171 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not actually apply it.
172 workstationClusterId: string, Required. ID to use for the workstation cluster.
173 x__xgafv: string, V1 error format.
174 Allowed values
175 1 - v1 error format
176 2 - v2 error format
177
178 Returns:
179 An object of the form:
180
181 { # This resource represents a long-running operation that is the result of a network API call.
182 &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.
183 &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.
184 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
185 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
186 {
187 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
188 },
189 ],
190 &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.
191 },
192 &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.
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 &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}`.
196 &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`.
197 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
198 },
199 }</pre>
200 </div>
201
202 <div class="method">
203 <code class="details" id="delete">delete(name, etag=None, force=None, validateOnly=None, x__xgafv=None)</code>
204 <pre>Deletes the specified workstation cluster.
205
206 Args:
207 name: string, Required. Name of the workstation cluster to delete. (required)
208 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.
209 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.
210 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not apply it.
211 x__xgafv: string, V1 error format.
212 Allowed values
213 1 - v1 error format
214 2 - v2 error format
215
216 Returns:
217 An object of the form:
218
219 { # This resource represents a long-running operation that is the result of a network API call.
220 &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.
221 &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.
222 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
223 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
224 {
225 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
226 },
227 ],
228 &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.
229 },
230 &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.
231 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
232 },
233 &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}`.
234 &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`.
235 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
236 },
237 }</pre>
238 </div>
239
240 <div class="method">
241 <code class="details" id="get">get(name, x__xgafv=None)</code>
242 <pre>Returns the requested workstation cluster.
243
244 Args:
245 name: string, Required. Name of the requested resource. (required)
246 x__xgafv: string, V1 error format.
247 Allowed values
248 1 - v1 error format
249 2 - v2 error format
250
251 Returns:
252 An object of the form:
253
254 { # 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.
255 &quot;annotations&quot;: { # Optional. Client-specified annotations.
256 &quot;a_key&quot;: &quot;A String&quot;,
257 },
258 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation cluster&#x27;s current state.
259 { # 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).
260 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
261 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
262 {
263 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
264 },
265 ],
266 &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.
267 },
268 ],
269 &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.
270 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was created.
271 &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.
272 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was soft-deleted.
273 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation cluster.
274 &quot;domainConfig&quot;: { # Configuration options for a custom domain. # Optional. Configuration options for a custom domain.
275 &quot;domain&quot;: &quot;A String&quot;, # Immutable. Domain used by Workstations for HTTP ingress.
276 },
277 &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.
278 &quot;gatewayConfig&quot;: { # Configuration options for Cluster HTTP Gateway. # Optional. Configuration options for Cluster HTTP Gateway.
279 &quot;http2Enabled&quot;: True or False, # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.
280 },
281 &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.
282 &quot;a_key&quot;: &quot;A String&quot;,
283 },
284 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation cluster.
285 &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.
286 &quot;privateClusterConfig&quot;: { # Configuration options for private workstation clusters. # Optional. Configuration for private workstation cluster.
287 &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.
288 &quot;A String&quot;,
289 ],
290 &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.
291 &quot;enablePrivateEndpoint&quot;: True or False, # Immutable. Whether Workstations endpoint is private.
292 &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).
293 },
294 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
295 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
296 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
297 &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.
298 &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;
299 &quot;a_key&quot;: &quot;A String&quot;,
300 },
301 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
302 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
303 &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.
304 &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.
305 }</pre>
306 </div>
307
308 <div class="method">
309 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
310 <pre>Returns all workstation clusters in the specified location.
311
312 Args:
313 parent: string, Required. Parent resource name. (required)
314 filter: string, Optional. Filter the WorkstationClusters to be listed. Possible filters are described in https://google.aip.dev/160.
315 pageSize: integer, Optional. Maximum number of items to return.
316 pageToken: string, Optional. next_page_token value returned from a previous List request, if any.
317 x__xgafv: string, V1 error format.
318 Allowed values
319 1 - v1 error format
320 2 - v2 error format
321
322 Returns:
323 An object of the form:
324
325 { # Response message for ListWorkstationClusters.
326 &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.
327 &quot;unreachable&quot;: [ # Unreachable resources.
328 &quot;A String&quot;,
329 ],
330 &quot;workstationClusters&quot;: [ # The requested workstation clusters.
331 { # 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.
332 &quot;annotations&quot;: { # Optional. Client-specified annotations.
333 &quot;a_key&quot;: &quot;A String&quot;,
334 },
335 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation cluster&#x27;s current state.
336 { # 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).
337 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
338 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
339 {
340 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
341 },
342 ],
343 &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.
344 },
345 ],
346 &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.
347 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was created.
348 &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.
349 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was soft-deleted.
350 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation cluster.
351 &quot;domainConfig&quot;: { # Configuration options for a custom domain. # Optional. Configuration options for a custom domain.
352 &quot;domain&quot;: &quot;A String&quot;, # Immutable. Domain used by Workstations for HTTP ingress.
353 },
354 &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.
355 &quot;gatewayConfig&quot;: { # Configuration options for Cluster HTTP Gateway. # Optional. Configuration options for Cluster HTTP Gateway.
356 &quot;http2Enabled&quot;: True or False, # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.
357 },
358 &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.
359 &quot;a_key&quot;: &quot;A String&quot;,
360 },
361 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation cluster.
362 &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.
363 &quot;privateClusterConfig&quot;: { # Configuration options for private workstation clusters. # Optional. Configuration for private workstation cluster.
364 &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.
365 &quot;A String&quot;,
366 ],
367 &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.
368 &quot;enablePrivateEndpoint&quot;: True or False, # Immutable. Whether Workstations endpoint is private.
369 &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).
370 },
371 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
372 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
373 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
374 &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.
375 &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;
376 &quot;a_key&quot;: &quot;A String&quot;,
377 },
378 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
379 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
380 &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.
381 &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.
382 },
383 ],
384 }</pre>
385 </div>
386
387 <div class="method">
388 <code class="details" id="list_next">list_next()</code>
389 <pre>Retrieves the next page of results.
390
391 Args:
392 previous_request: The request for the previous page. (required)
393 previous_response: The response from the request for the previous page. (required)
394
395 Returns:
396 A request object that you can call &#x27;execute()&#x27; on to request the next
397 page. Returns None if there are no more items in the collection.
398 </pre>
399 </div>
400
401 <div class="method">
402 <code class="details" id="patch">patch(name, allowMissing=None, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
403 <pre>Updates an existing workstation cluster.
404
405 Args:
406 name: string, Identifier. Full name of this workstation cluster. (required)
407 body: object, The request body.
408 The object takes the form of:
409
410 { # 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.
411 &quot;annotations&quot;: { # Optional. Client-specified annotations.
412 &quot;a_key&quot;: &quot;A String&quot;,
413 },
414 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation cluster&#x27;s current state.
415 { # 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).
416 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
417 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
418 {
419 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
420 },
421 ],
422 &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.
423 },
424 ],
425 &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.
426 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was created.
427 &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.
428 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was soft-deleted.
429 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation cluster.
430 &quot;domainConfig&quot;: { # Configuration options for a custom domain. # Optional. Configuration options for a custom domain.
431 &quot;domain&quot;: &quot;A String&quot;, # Immutable. Domain used by Workstations for HTTP ingress.
432 },
433 &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.
434 &quot;gatewayConfig&quot;: { # Configuration options for Cluster HTTP Gateway. # Optional. Configuration options for Cluster HTTP Gateway.
435 &quot;http2Enabled&quot;: True or False, # Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false.
436 },
437 &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.
438 &quot;a_key&quot;: &quot;A String&quot;,
439 },
440 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation cluster.
441 &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.
442 &quot;privateClusterConfig&quot;: { # Configuration options for private workstation clusters. # Optional. Configuration for private workstation cluster.
443 &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.
444 &quot;A String&quot;,
445 ],
446 &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.
447 &quot;enablePrivateEndpoint&quot;: True or False, # Immutable. Whether Workstations endpoint is private.
448 &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).
449 },
450 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation cluster is currently being updated to match its intended state.
451 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
452 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
453 &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.
454 &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;
455 &quot;a_key&quot;: &quot;A String&quot;,
456 },
457 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation cluster.
458 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation cluster was most recently updated.
459 &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.
460 &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.
461 }
462
463 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.
464 updateMask: string, Required. Mask that specifies which fields in the workstation cluster should be updated.
465 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not actually apply it.
466 x__xgafv: string, V1 error format.
467 Allowed values
468 1 - v1 error format
469 2 - v2 error format
470
471 Returns:
472 An object of the form:
473
474 { # This resource represents a long-running operation that is the result of a network API call.
475 &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.
476 &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.
477 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
478 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
479 {
480 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
481 },
482 ],
483 &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.
484 },
485 &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.
486 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
487 },
488 &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}`.
489 &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`.
490 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
491 },
492 }</pre>
493 </div>
494
495 </body></html>