Debian Codegraph @

docs/dyn/workstations_v1beta.projects.locations.workstationClusters.workstationConfigs.workstations.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> . <a href="workstations_v1beta.projects.locations.workstationClusters.workstationConfigs.html">workstationConfigs</a> . <a href="workstations_v1beta.projects.locations.workstationClusters.workstationConfigs.workstations.html">workstations</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, validateOnly=None, workstationId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new workstation.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, etag=None, validateOnly=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the specified workstation.</p>
86 <p class="toc_element">
87 <code><a href="#generateAccessToken">generateAccessToken(workstation, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Returns the requested workstation.</p>
92 <p class="toc_element">
93 <code><a href="#getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</a></code></p>
94 <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>
95 <p class="toc_element">
96 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Returns all Workstations using the specified workstation configuration.</p>
98 <p class="toc_element">
99 <code><a href="#listUsable">listUsable(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission.</p>
101 <p class="toc_element">
102 <code><a href="#listUsable_next">listUsable_next()</a></code></p>
103 <p class="firstline">Retrieves the next page of results.</p>
104 <p class="toc_element">
105 <code><a href="#list_next">list_next()</a></code></p>
106 <p class="firstline">Retrieves the next page of results.</p>
107 <p class="toc_element">
108 <code><a href="#patch">patch(name, allowMissing=None, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Updates an existing workstation.</p>
110 <p class="toc_element">
111 <code><a href="#pushCredentials">pushCredentials(workstation, body=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Pushes credentials to a running workstation on behalf of a user. Once complete, supported credential types (application_default_credentials) are made available to processes running in the user container.</p>
113 <p class="toc_element">
114 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.</p>
116 <p class="toc_element">
117 <code><a href="#start">start(name, body=None, x__xgafv=None)</a></code></p>
118 <p class="firstline">Starts running a workstation so that users can connect to it.</p>
119 <p class="toc_element">
120 <code><a href="#stop">stop(name, body=None, x__xgafv=None)</a></code></p>
121 <p class="firstline">Stops running a workstation, reducing costs.</p>
122 <p class="toc_element">
123 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
124 <p class="firstline">Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.</p>
125 <h3>Method Details</h3>
126 <div class="method">
127 <code class="details" id="close">close()</code>
128 <pre>Close httplib2 connections.</pre>
129 </div>
130
131 <div class="method">
132 <code class="details" id="create">create(parent, body=None, validateOnly=None, workstationId=None, x__xgafv=None)</code>
133 <pre>Creates a new workstation.
134
135 Args:
136 parent: string, Required. Parent resource name. (required)
137 body: object, The request body.
138 The object takes the form of:
139
140 { # A single instance of a developer workstation with its own persistent storage.
141 &quot;annotations&quot;: { # Optional. Client-specified annotations.
142 &quot;a_key&quot;: &quot;A String&quot;,
143 },
144 &quot;boostConfigs&quot;: [ # Output only. List of available boost configuration IDs that this workstation can be boosted up to.
145 { # Boost configuration for this workstation. This object is populated from the parent workstation configuration.
146 &quot;id&quot;: &quot;A String&quot;, # Output only. Boost configuration ID.
147 &quot;running&quot;: True or False, # Output only. Whether or not the current workstation is actively boosted with this id.
148 },
149 ],
150 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation&#x27;s current state.
151 { # 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).
152 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
153 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
154 {
155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156 },
157 ],
158 &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.
159 },
160 ],
161 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was created.
162 &quot;degraded&quot;: True or False, # Output only. Whether this workstation 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 workstation.
163 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was soft-deleted.
164 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation.
165 &quot;env&quot;: { # Optional. Environment variables passed to the workstation container&#x27;s entrypoint.
166 &quot;a_key&quot;: &quot;A String&quot;,
167 },
168 &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.
169 &quot;host&quot;: &quot;A String&quot;, # Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.
170 &quot;kmsKey&quot;: &quot;A String&quot;, # Output only. The name of the Google Cloud KMS encryption key used to encrypt this workstation. The KMS key can only be configured in the WorkstationConfig. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
171 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
172 &quot;a_key&quot;: &quot;A String&quot;,
173 },
174 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation.
175 &quot;persistentDirectories&quot;: [ # Optional. Directories to persist across workstation sessions.
176 { # A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
177 &quot;mountPath&quot;: &quot;A String&quot;, # Optional. The mount path of the persistent directory.
178 &quot;sizeGb&quot;: 42, # Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
179 },
180 ],
181 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation is currently being updated to match its intended state.
182 &quot;runtimeHost&quot;: { # Runtime host for the workstation. # Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
183 &quot;gceInstanceHost&quot;: { # The Compute Engine instance host. # Specifies a Compute Engine instance as the host.
184 &quot;id&quot;: &quot;A String&quot;, # Optional. Output only. The ID of the Compute Engine instance.
185 &quot;name&quot;: &quot;A String&quot;, # Optional. Output only. The name of the Compute Engine instance.
186 &quot;zone&quot;: &quot;A String&quot;, # Optional. Output only. The zone of the Compute Engine instance.
187 },
188 },
189 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
190 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
191 &quot;sourceWorkstation&quot;: &quot;A String&quot;, # Optional. The source workstation from which this workstation&#x27;s persistent directories were cloned on creation.
192 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently successfully started, regardless of the workstation&#x27;s initial state.
193 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the workstation.
194 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation.
195 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently updated.
196 }
197
198 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not actually apply it.
199 workstationId: string, Required. ID to use for the workstation.
200 x__xgafv: string, V1 error format.
201 Allowed values
202 1 - v1 error format
203 2 - v2 error format
204
205 Returns:
206 An object of the form:
207
208 { # This resource represents a long-running operation that is the result of a network API call.
209 &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.
210 &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.
211 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
212 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
213 {
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
215 },
216 ],
217 &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.
218 },
219 &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.
220 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
221 },
222 &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}`.
223 &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`.
224 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
225 },
226 }</pre>
227 </div>
228
229 <div class="method">
230 <code class="details" id="delete">delete(name, etag=None, validateOnly=None, x__xgafv=None)</code>
231 <pre>Deletes the specified workstation.
232
233 Args:
234 name: string, Required. Name of the workstation to delete. (required)
235 etag: string, Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
236 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not actually apply it.
237 x__xgafv: string, V1 error format.
238 Allowed values
239 1 - v1 error format
240 2 - v2 error format
241
242 Returns:
243 An object of the form:
244
245 { # This resource represents a long-running operation that is the result of a network API call.
246 &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.
247 &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.
248 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
249 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
250 {
251 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
252 },
253 ],
254 &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.
255 },
256 &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.
257 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
258 },
259 &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}`.
260 &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`.
261 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
262 },
263 }</pre>
264 </div>
265
266 <div class="method">
267 <code class="details" id="generateAccessToken">generateAccessToken(workstation, body=None, x__xgafv=None)</code>
268 <pre>Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token.
269
270 Args:
271 workstation: string, Required. Name of the workstation for which the access token should be generated. (required)
272 body: object, The request body.
273 The object takes the form of:
274
275 { # Request message for GenerateAccessToken.
276 &quot;expireTime&quot;: &quot;A String&quot;, # Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token&#x27;s expiration time will be set to a default value of 1 hour in the future.
277 &quot;port&quot;: 42, # Optional. Port for which the access token should be generated. If specified, the generated access token grants access only to the specified port of the workstation. If specified, values must be within the range [1 - 65535]. If not specified, the generated access token grants access to all ports of the workstation.
278 &quot;ttl&quot;: &quot;A String&quot;, # Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token&#x27;s lifetime will be set to a default value of 1 hour.
279 }
280
281 x__xgafv: string, V1 error format.
282 Allowed values
283 1 - v1 error format
284 2 - v2 error format
285
286 Returns:
287 An object of the form:
288
289 { # Response message for GenerateAccessToken.
290 &quot;accessToken&quot;: &quot;A String&quot;, # The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation&#x27;s hostname—for example, `Authorization: Bearer `.
291 &quot;expireTime&quot;: &quot;A String&quot;, # Time at which the generated token will expire.
292 }</pre>
293 </div>
294
295 <div class="method">
296 <code class="details" id="get">get(name, x__xgafv=None)</code>
297 <pre>Returns the requested workstation.
298
299 Args:
300 name: string, Required. Name of the requested resource. (required)
301 x__xgafv: string, V1 error format.
302 Allowed values
303 1 - v1 error format
304 2 - v2 error format
305
306 Returns:
307 An object of the form:
308
309 { # A single instance of a developer workstation with its own persistent storage.
310 &quot;annotations&quot;: { # Optional. Client-specified annotations.
311 &quot;a_key&quot;: &quot;A String&quot;,
312 },
313 &quot;boostConfigs&quot;: [ # Output only. List of available boost configuration IDs that this workstation can be boosted up to.
314 { # Boost configuration for this workstation. This object is populated from the parent workstation configuration.
315 &quot;id&quot;: &quot;A String&quot;, # Output only. Boost configuration ID.
316 &quot;running&quot;: True or False, # Output only. Whether or not the current workstation is actively boosted with this id.
317 },
318 ],
319 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation&#x27;s current state.
320 { # 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).
321 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
322 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
323 {
324 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
325 },
326 ],
327 &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.
328 },
329 ],
330 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was created.
331 &quot;degraded&quot;: True or False, # Output only. Whether this workstation 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 workstation.
332 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was soft-deleted.
333 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation.
334 &quot;env&quot;: { # Optional. Environment variables passed to the workstation container&#x27;s entrypoint.
335 &quot;a_key&quot;: &quot;A String&quot;,
336 },
337 &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.
338 &quot;host&quot;: &quot;A String&quot;, # Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.
339 &quot;kmsKey&quot;: &quot;A String&quot;, # Output only. The name of the Google Cloud KMS encryption key used to encrypt this workstation. The KMS key can only be configured in the WorkstationConfig. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
340 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
341 &quot;a_key&quot;: &quot;A String&quot;,
342 },
343 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation.
344 &quot;persistentDirectories&quot;: [ # Optional. Directories to persist across workstation sessions.
345 { # A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
346 &quot;mountPath&quot;: &quot;A String&quot;, # Optional. The mount path of the persistent directory.
347 &quot;sizeGb&quot;: 42, # Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
348 },
349 ],
350 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation is currently being updated to match its intended state.
351 &quot;runtimeHost&quot;: { # Runtime host for the workstation. # Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
352 &quot;gceInstanceHost&quot;: { # The Compute Engine instance host. # Specifies a Compute Engine instance as the host.
353 &quot;id&quot;: &quot;A String&quot;, # Optional. Output only. The ID of the Compute Engine instance.
354 &quot;name&quot;: &quot;A String&quot;, # Optional. Output only. The name of the Compute Engine instance.
355 &quot;zone&quot;: &quot;A String&quot;, # Optional. Output only. The zone of the Compute Engine instance.
356 },
357 },
358 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
359 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
360 &quot;sourceWorkstation&quot;: &quot;A String&quot;, # Optional. The source workstation from which this workstation&#x27;s persistent directories were cloned on creation.
361 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently successfully started, regardless of the workstation&#x27;s initial state.
362 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the workstation.
363 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation.
364 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently updated.
365 }</pre>
366 </div>
367
368 <div class="method">
369 <code class="details" id="getIamPolicy">getIamPolicy(resource, options_requestedPolicyVersion=None, x__xgafv=None)</code>
370 <pre>Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
371
372 Args:
373 resource: string, REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
374 options_requestedPolicyVersion: integer, Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
375 x__xgafv: string, V1 error format.
376 Allowed values
377 1 - v1 error format
378 2 - v2 error format
379
380 Returns:
381 An object of the form:
382
383 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
384 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
385 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
386 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
387 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
388 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
389 &quot;A String&quot;,
390 ],
391 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
392 },
393 ],
394 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
395 },
396 ],
397 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
398 { # Associates `members`, or principals, with a `role`.
399 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
400 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
401 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
402 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
403 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
404 },
405 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
406 &quot;A String&quot;,
407 ],
408 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
409 },
410 ],
411 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
412 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
413 }</pre>
414 </div>
415
416 <div class="method">
417 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
418 <pre>Returns all Workstations using the specified workstation configuration.
419
420 Args:
421 parent: string, Required. Parent resource name. (required)
422 filter: string, Optional. Filter the Workstations to be listed. Possible filters are described in https://google.aip.dev/160.
423 pageSize: integer, Optional. Maximum number of items to return.
424 pageToken: string, Optional. next_page_token value returned from a previous List request, if any.
425 x__xgafv: string, V1 error format.
426 Allowed values
427 1 - v1 error format
428 2 - v2 error format
429
430 Returns:
431 An object of the form:
432
433 { # Response message for ListWorkstations.
434 &quot;nextPageToken&quot;: &quot;A String&quot;, # Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
435 &quot;unreachable&quot;: [ # Optional. Unreachable resources.
436 &quot;A String&quot;,
437 ],
438 &quot;workstations&quot;: [ # The requested workstations.
439 { # A single instance of a developer workstation with its own persistent storage.
440 &quot;annotations&quot;: { # Optional. Client-specified annotations.
441 &quot;a_key&quot;: &quot;A String&quot;,
442 },
443 &quot;boostConfigs&quot;: [ # Output only. List of available boost configuration IDs that this workstation can be boosted up to.
444 { # Boost configuration for this workstation. This object is populated from the parent workstation configuration.
445 &quot;id&quot;: &quot;A String&quot;, # Output only. Boost configuration ID.
446 &quot;running&quot;: True or False, # Output only. Whether or not the current workstation is actively boosted with this id.
447 },
448 ],
449 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation&#x27;s current state.
450 { # 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).
451 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
452 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
453 {
454 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
455 },
456 ],
457 &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.
458 },
459 ],
460 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was created.
461 &quot;degraded&quot;: True or False, # Output only. Whether this workstation 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 workstation.
462 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was soft-deleted.
463 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation.
464 &quot;env&quot;: { # Optional. Environment variables passed to the workstation container&#x27;s entrypoint.
465 &quot;a_key&quot;: &quot;A String&quot;,
466 },
467 &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.
468 &quot;host&quot;: &quot;A String&quot;, # Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.
469 &quot;kmsKey&quot;: &quot;A String&quot;, # Output only. The name of the Google Cloud KMS encryption key used to encrypt this workstation. The KMS key can only be configured in the WorkstationConfig. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
470 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
471 &quot;a_key&quot;: &quot;A String&quot;,
472 },
473 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation.
474 &quot;persistentDirectories&quot;: [ # Optional. Directories to persist across workstation sessions.
475 { # A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
476 &quot;mountPath&quot;: &quot;A String&quot;, # Optional. The mount path of the persistent directory.
477 &quot;sizeGb&quot;: 42, # Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
478 },
479 ],
480 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation is currently being updated to match its intended state.
481 &quot;runtimeHost&quot;: { # Runtime host for the workstation. # Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
482 &quot;gceInstanceHost&quot;: { # The Compute Engine instance host. # Specifies a Compute Engine instance as the host.
483 &quot;id&quot;: &quot;A String&quot;, # Optional. Output only. The ID of the Compute Engine instance.
484 &quot;name&quot;: &quot;A String&quot;, # Optional. Output only. The name of the Compute Engine instance.
485 &quot;zone&quot;: &quot;A String&quot;, # Optional. Output only. The zone of the Compute Engine instance.
486 },
487 },
488 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
489 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
490 &quot;sourceWorkstation&quot;: &quot;A String&quot;, # Optional. The source workstation from which this workstation&#x27;s persistent directories were cloned on creation.
491 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently successfully started, regardless of the workstation&#x27;s initial state.
492 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the workstation.
493 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation.
494 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently updated.
495 },
496 ],
497 }</pre>
498 </div>
499
500 <div class="method">
501 <code class="details" id="listUsable">listUsable(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
502 <pre>Returns all workstations using the specified workstation configuration on which the caller has the &quot;workstations.workstations.use&quot; permission.
503
504 Args:
505 parent: string, Required. Parent resource name. (required)
506 pageSize: integer, Optional. Maximum number of items to return.
507 pageToken: string, Optional. next_page_token value returned from a previous List request, if any.
508 x__xgafv: string, V1 error format.
509 Allowed values
510 1 - v1 error format
511 2 - v2 error format
512
513 Returns:
514 An object of the form:
515
516 { # Response message for ListUsableWorkstations.
517 &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.
518 &quot;unreachable&quot;: [ # Unreachable resources.
519 &quot;A String&quot;,
520 ],
521 &quot;workstations&quot;: [ # The requested workstations.
522 { # A single instance of a developer workstation with its own persistent storage.
523 &quot;annotations&quot;: { # Optional. Client-specified annotations.
524 &quot;a_key&quot;: &quot;A String&quot;,
525 },
526 &quot;boostConfigs&quot;: [ # Output only. List of available boost configuration IDs that this workstation can be boosted up to.
527 { # Boost configuration for this workstation. This object is populated from the parent workstation configuration.
528 &quot;id&quot;: &quot;A String&quot;, # Output only. Boost configuration ID.
529 &quot;running&quot;: True or False, # Output only. Whether or not the current workstation is actively boosted with this id.
530 },
531 ],
532 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation&#x27;s current state.
533 { # 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).
534 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
535 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
536 {
537 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
538 },
539 ],
540 &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.
541 },
542 ],
543 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was created.
544 &quot;degraded&quot;: True or False, # Output only. Whether this workstation 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 workstation.
545 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was soft-deleted.
546 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation.
547 &quot;env&quot;: { # Optional. Environment variables passed to the workstation container&#x27;s entrypoint.
548 &quot;a_key&quot;: &quot;A String&quot;,
549 },
550 &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.
551 &quot;host&quot;: &quot;A String&quot;, # Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.
552 &quot;kmsKey&quot;: &quot;A String&quot;, # Output only. The name of the Google Cloud KMS encryption key used to encrypt this workstation. The KMS key can only be configured in the WorkstationConfig. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
553 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
554 &quot;a_key&quot;: &quot;A String&quot;,
555 },
556 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation.
557 &quot;persistentDirectories&quot;: [ # Optional. Directories to persist across workstation sessions.
558 { # A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
559 &quot;mountPath&quot;: &quot;A String&quot;, # Optional. The mount path of the persistent directory.
560 &quot;sizeGb&quot;: 42, # Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
561 },
562 ],
563 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation is currently being updated to match its intended state.
564 &quot;runtimeHost&quot;: { # Runtime host for the workstation. # Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
565 &quot;gceInstanceHost&quot;: { # The Compute Engine instance host. # Specifies a Compute Engine instance as the host.
566 &quot;id&quot;: &quot;A String&quot;, # Optional. Output only. The ID of the Compute Engine instance.
567 &quot;name&quot;: &quot;A String&quot;, # Optional. Output only. The name of the Compute Engine instance.
568 &quot;zone&quot;: &quot;A String&quot;, # Optional. Output only. The zone of the Compute Engine instance.
569 },
570 },
571 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
572 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
573 &quot;sourceWorkstation&quot;: &quot;A String&quot;, # Optional. The source workstation from which this workstation&#x27;s persistent directories were cloned on creation.
574 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently successfully started, regardless of the workstation&#x27;s initial state.
575 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the workstation.
576 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation.
577 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently updated.
578 },
579 ],
580 }</pre>
581 </div>
582
583 <div class="method">
584 <code class="details" id="listUsable_next">listUsable_next()</code>
585 <pre>Retrieves the next page of results.
586
587 Args:
588 previous_request: The request for the previous page. (required)
589 previous_response: The response from the request for the previous page. (required)
590
591 Returns:
592 A request object that you can call &#x27;execute()&#x27; on to request the next
593 page. Returns None if there are no more items in the collection.
594 </pre>
595 </div>
596
597 <div class="method">
598 <code class="details" id="list_next">list_next()</code>
599 <pre>Retrieves the next page of results.
600
601 Args:
602 previous_request: The request for the previous page. (required)
603 previous_response: The response from the request for the previous page. (required)
604
605 Returns:
606 A request object that you can call &#x27;execute()&#x27; on to request the next
607 page. Returns None if there are no more items in the collection.
608 </pre>
609 </div>
610
611 <div class="method">
612 <code class="details" id="patch">patch(name, allowMissing=None, body=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
613 <pre>Updates an existing workstation.
614
615 Args:
616 name: string, Identifier. Full name of this workstation. (required)
617 body: object, The request body.
618 The object takes the form of:
619
620 { # A single instance of a developer workstation with its own persistent storage.
621 &quot;annotations&quot;: { # Optional. Client-specified annotations.
622 &quot;a_key&quot;: &quot;A String&quot;,
623 },
624 &quot;boostConfigs&quot;: [ # Output only. List of available boost configuration IDs that this workstation can be boosted up to.
625 { # Boost configuration for this workstation. This object is populated from the parent workstation configuration.
626 &quot;id&quot;: &quot;A String&quot;, # Output only. Boost configuration ID.
627 &quot;running&quot;: True or False, # Output only. Whether or not the current workstation is actively boosted with this id.
628 },
629 ],
630 &quot;conditions&quot;: [ # Output only. Status conditions describing the workstation&#x27;s current state.
631 { # 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).
632 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
633 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
634 {
635 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
636 },
637 ],
638 &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.
639 },
640 ],
641 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was created.
642 &quot;degraded&quot;: True or False, # Output only. Whether this workstation 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 workstation.
643 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was soft-deleted.
644 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Human-readable name for this workstation.
645 &quot;env&quot;: { # Optional. Environment variables passed to the workstation container&#x27;s entrypoint.
646 &quot;a_key&quot;: &quot;A String&quot;,
647 },
648 &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.
649 &quot;host&quot;: &quot;A String&quot;, # Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.
650 &quot;kmsKey&quot;: &quot;A String&quot;, # Output only. The name of the Google Cloud KMS encryption key used to encrypt this workstation. The KMS key can only be configured in the WorkstationConfig. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
651 &quot;labels&quot;: { # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
652 &quot;a_key&quot;: &quot;A String&quot;,
653 },
654 &quot;name&quot;: &quot;A String&quot;, # Identifier. Full name of this workstation.
655 &quot;persistentDirectories&quot;: [ # Optional. Directories to persist across workstation sessions.
656 { # A directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
657 &quot;mountPath&quot;: &quot;A String&quot;, # Optional. The mount path of the persistent directory.
658 &quot;sizeGb&quot;: 42, # Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
659 },
660 ],
661 &quot;reconciling&quot;: True or False, # Output only. Indicates whether this workstation is currently being updated to match its intended state.
662 &quot;runtimeHost&quot;: { # Runtime host for the workstation. # Optional. Output only. Runtime host for the workstation when in STATE_RUNNING.
663 &quot;gceInstanceHost&quot;: { # The Compute Engine instance host. # Specifies a Compute Engine instance as the host.
664 &quot;id&quot;: &quot;A String&quot;, # Optional. Output only. The ID of the Compute Engine instance.
665 &quot;name&quot;: &quot;A String&quot;, # Optional. Output only. The name of the Compute Engine instance.
666 &quot;zone&quot;: &quot;A String&quot;, # Optional. Output only. The zone of the Compute Engine instance.
667 },
668 },
669 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
670 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
671 &quot;sourceWorkstation&quot;: &quot;A String&quot;, # Optional. The source workstation from which this workstation&#x27;s persistent directories were cloned on creation.
672 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently successfully started, regardless of the workstation&#x27;s initial state.
673 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the workstation.
674 &quot;uid&quot;: &quot;A String&quot;, # Output only. A system-assigned unique identifier for this workstation.
675 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when this workstation was most recently updated.
676 }
677
678 allowMissing: boolean, Optional. If set and the workstation is not found, a new workstation is created. In this situation, update_mask is ignored.
679 updateMask: string, Required. Mask specifying which fields in the workstation should be updated.
680 validateOnly: boolean, Optional. If set, validate the request and preview the result, but do not actually apply it.
681 x__xgafv: string, V1 error format.
682 Allowed values
683 1 - v1 error format
684 2 - v2 error format
685
686 Returns:
687 An object of the form:
688
689 { # This resource represents a long-running operation that is the result of a network API call.
690 &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.
691 &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.
692 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
693 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
694 {
695 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
696 },
697 ],
698 &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.
699 },
700 &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.
701 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
702 },
703 &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}`.
704 &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`.
705 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
706 },
707 }</pre>
708 </div>
709
710 <div class="method">
711 <code class="details" id="pushCredentials">pushCredentials(workstation, body=None, x__xgafv=None)</code>
712 <pre>Pushes credentials to a running workstation on behalf of a user. Once complete, supported credential types (application_default_credentials) are made available to processes running in the user container.
713
714 Args:
715 workstation: string, Required. Name of the workstation for which the credentials should be pushed. (required)
716 body: object, The request body.
717 The object takes the form of:
718
719 { # Request message for PushCredentials.
720 &quot;applicationDefaultCredentials&quot;: { # OAuth token. # Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other tooling within the user conainer: https://cloud.google.com/docs/authentication/application-default-credentials
721 &quot;accessToken&quot;: &quot;A String&quot;, # Required. The OAuth token.
722 &quot;email&quot;: &quot;A String&quot;, # Optional. The email address encapsulated in the OAuth token.
723 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. The time the OAuth access token will expire. This should be the time the access token was generated plus the expires_in offset returned from the Access Token Response.
724 &quot;scopes&quot;: &quot;A String&quot;, # Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information.
725 },
726 }
727
728 x__xgafv: string, V1 error format.
729 Allowed values
730 1 - v1 error format
731 2 - v2 error format
732
733 Returns:
734 An object of the form:
735
736 { # This resource represents a long-running operation that is the result of a network API call.
737 &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.
738 &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.
739 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
740 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
741 {
742 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
743 },
744 ],
745 &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.
746 },
747 &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.
748 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
749 },
750 &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}`.
751 &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`.
752 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
753 },
754 }</pre>
755 </div>
756
757 <div class="method">
758 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
759 <pre>Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
760
761 Args:
762 resource: string, REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
763 body: object, The request body.
764 The object takes the form of:
765
766 { # Request message for `SetIamPolicy` method.
767 &quot;policy&quot;: { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
768 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
769 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
770 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
771 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
772 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
773 &quot;A String&quot;,
774 ],
775 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
776 },
777 ],
778 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
779 },
780 ],
781 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
782 { # Associates `members`, or principals, with a `role`.
783 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
784 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
785 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
786 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
787 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
788 },
789 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
790 &quot;A String&quot;,
791 ],
792 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
793 },
794 ],
795 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
796 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
797 },
798 &quot;updateMask&quot;: &quot;A String&quot;, # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: &quot;bindings, etag&quot;`
799 }
800
801 x__xgafv: string, V1 error format.
802 Allowed values
803 1 - v1 error format
804 2 - v2 error format
805
806 Returns:
807 An object of the form:
808
809 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
810 &quot;auditConfigs&quot;: [ # Specifies cloud audit logging configuration for this policy.
811 { # Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { &quot;audit_configs&quot;: [ { &quot;service&quot;: &quot;allServices&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; }, { &quot;log_type&quot;: &quot;ADMIN_READ&quot; } ] }, { &quot;service&quot;: &quot;sampleservice.googleapis.com&quot;, &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot; }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]` from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
812 &quot;auditLogConfigs&quot;: [ # The configuration for logging of each type of permission.
813 { # Provides the configuration for logging a type of permissions. Example: { &quot;audit_log_configs&quot;: [ { &quot;log_type&quot;: &quot;DATA_READ&quot;, &quot;exempted_members&quot;: [ &quot;user:[email protected]&quot; ] }, { &quot;log_type&quot;: &quot;DATA_WRITE&quot; } ] } This enables &#x27;DATA_READ&#x27; and &#x27;DATA_WRITE&#x27; logging, while exempting [email protected] from DATA_READ logging.
814 &quot;exemptedMembers&quot;: [ # Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
815 &quot;A String&quot;,
816 ],
817 &quot;logType&quot;: &quot;A String&quot;, # The log type that this config enables.
818 },
819 ],
820 &quot;service&quot;: &quot;A String&quot;, # Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
821 },
822 ],
823 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
824 { # Associates `members`, or principals, with a `role`.
825 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
826 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
827 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
828 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
829 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
830 },
831 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
832 &quot;A String&quot;,
833 ],
834 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
835 },
836 ],
837 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
838 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
839 }</pre>
840 </div>
841
842 <div class="method">
843 <code class="details" id="start">start(name, body=None, x__xgafv=None)</code>
844 <pre>Starts running a workstation so that users can connect to it.
845
846 Args:
847 name: string, Required. Name of the workstation to start. (required)
848 body: object, The request body.
849 The object takes the form of:
850
851 { # Request message for StartWorkstation.
852 &quot;boostConfig&quot;: &quot;A String&quot;, # Optional. If set, the workstation starts using the boost configuration with the specified ID.
853 &quot;etag&quot;: &quot;A String&quot;, # Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
854 &quot;validateOnly&quot;: True or False, # Optional. If set, validate the request and preview the result, but do not actually apply it.
855 }
856
857 x__xgafv: string, V1 error format.
858 Allowed values
859 1 - v1 error format
860 2 - v2 error format
861
862 Returns:
863 An object of the form:
864
865 { # This resource represents a long-running operation that is the result of a network API call.
866 &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.
867 &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.
868 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
869 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
870 {
871 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
872 },
873 ],
874 &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.
875 },
876 &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.
877 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
878 },
879 &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}`.
880 &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`.
881 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
882 },
883 }</pre>
884 </div>
885
886 <div class="method">
887 <code class="details" id="stop">stop(name, body=None, x__xgafv=None)</code>
888 <pre>Stops running a workstation, reducing costs.
889
890 Args:
891 name: string, Required. Name of the workstation to stop. (required)
892 body: object, The request body.
893 The object takes the form of:
894
895 { # Request message for StopWorkstation.
896 &quot;etag&quot;: &quot;A String&quot;, # Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
897 &quot;validateOnly&quot;: True or False, # Optional. If set, validate the request and preview the result, but do not actually apply it.
898 }
899
900 x__xgafv: string, V1 error format.
901 Allowed values
902 1 - v1 error format
903 2 - v2 error format
904
905 Returns:
906 An object of the form:
907
908 { # This resource represents a long-running operation that is the result of a network API call.
909 &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.
910 &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.
911 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
912 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
913 {
914 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
915 },
916 ],
917 &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.
918 },
919 &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.
920 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
921 },
922 &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}`.
923 &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`.
924 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
925 },
926 }</pre>
927 </div>
928
929 <div class="method">
930 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
931 <pre>Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may &quot;fail open&quot; without warning.
932
933 Args:
934 resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
935 body: object, The request body.
936 The object takes the form of:
937
938 { # Request message for `TestIamPermissions` method.
939 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
940 &quot;A String&quot;,
941 ],
942 }
943
944 x__xgafv: string, V1 error format.
945 Allowed values
946 1 - v1 error format
947 2 - v2 error format
948
949 Returns:
950 An object of the form:
951
952 { # Response message for `TestIamPermissions` method.
953 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
954 &quot;A String&quot;,
955 ],
956 }</pre>
957 </div>
958
959 </body></html>