Debian Codegraph @

docs/dyn/aiplatform_v1.reasoningEngines.sandboxEnvironments.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="aiplatform_v1.html">Agent Platform API</a> . <a href="aiplatform_v1.reasoningEngines.html">reasoningEngines</a> . <a href="aiplatform_v1.reasoningEngines.sandboxEnvironments.html">sandboxEnvironments</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1.reasoningEngines.sandboxEnvironments.operations.html">operations()</a></code>
79 </p>
80 <p class="firstline">Returns the operations Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a SandboxEnvironment in a given reasoning engine.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes the specific SandboxEnvironment.</p>
91 <p class="toc_element">
92 <code><a href="#execute">execute(name, body=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Executes using a sandbox environment.</p>
94 <p class="toc_element">
95 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
96 <p class="firstline">Gets details of the specific SandboxEnvironment.</p>
97 <p class="toc_element">
98 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Lists SandboxEnvironments in a given reasoning engine.</p>
100 <p class="toc_element">
101 <code><a href="#list_next">list_next()</a></code></p>
102 <p class="firstline">Retrieves the next page of results.</p>
103 <p class="toc_element">
104 <code><a href="#pause">pause(name, body=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Pauses the specific SandboxEnvironment.</p>
106 <p class="toc_element">
107 <code><a href="#resume">resume(name, body=None, x__xgafv=None)</a></code></p>
108 <p class="firstline">Resumes the specific SandboxEnvironment.</p>
109 <p class="toc_element">
110 <code><a href="#snapshot">snapshot(name, body=None, x__xgafv=None)</a></code></p>
111 <p class="firstline">Snapshots the specific SandboxEnvironment resource and creates a SandboxEnvironmentSnapshot resource.</p>
112 <h3>Method Details</h3>
113 <div class="method">
114 <code class="details" id="close">close()</code>
115 <pre>Close httplib2 connections.</pre>
116 </div>
117
118 <div class="method">
119 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
120 <pre>Creates a SandboxEnvironment in a given reasoning engine.
121
122 Args:
123 parent: string, Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`. (required)
124 body: object, The request body.
125 The object takes the form of:
126
127 { # SandboxEnvironment is a containerized environment that provides a customizable secure execution runtime for AI agents.
128 &quot;connectionInfo&quot;: { # The connection information of the SandboxEnvironment. # Output only. The connection information of the SandboxEnvironment.
129 &quot;loadBalancerHostname&quot;: &quot;A String&quot;, # Output only. The hostname of the load balancer.
130 &quot;loadBalancerIp&quot;: &quot;A String&quot;, # Output only. The IP address of the load balancer.
131 &quot;routingToken&quot;: &quot;A String&quot;, # Output only. The routing token for the SandboxEnvironment.
132 &quot;sandboxInternalIp&quot;: &quot;A String&quot;, # Output only. The internal IP address of the SandboxEnvironment.
133 },
134 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was created.
135 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironment.
136 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC of when this SandboxEnvironment is considered expired. This is *always* provided on output, regardless of what `expiration` was sent on input.
137 &quot;latestSandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Output only. The resource name of the latest snapshot taken for this SandboxEnvironment.
138 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the SandboxEnvironment.
139 &quot;owner&quot;: &quot;A String&quot;, # Optional. Owner information for this sandbox environment. A Sandbox can only be restored from a snapshot that belongs to the same owner. If not set, sandbox will be created as the default owner.
140 &quot;sandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Optional. The resource name of the SandboxEnvironmentSnapshot to use for creating this SandboxEnvironment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}`
141 &quot;sandboxEnvironmentTemplate&quot;: &quot;A String&quot;, # Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from.
142 &quot;spec&quot;: { # The specification of a SandboxEnvironment. # Optional. The configuration of the SandboxEnvironment.
143 &quot;codeExecutionEnvironment&quot;: { # The code execution environment with customized settings. # Optional. The code execution environment.
144 &quot;codeLanguage&quot;: &quot;A String&quot;, # The coding language supported in this environment.
145 &quot;machineConfig&quot;: &quot;A String&quot;, # The machine config of the code execution environment.
146 },
147 },
148 &quot;state&quot;: &quot;A String&quot;, # Output only. The runtime state of the SandboxEnvironment.
149 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL.
150 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
151 }
152
153 x__xgafv: string, V1 error format.
154 Allowed values
155 1 - v1 error format
156 2 - v2 error format
157
158 Returns:
159 An object of the form:
160
161 { # This resource represents a long-running operation that is the result of a network API call.
162 &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.
163 &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.
164 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
165 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
166 {
167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
168 },
169 ],
170 &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.
171 },
172 &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.
173 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
174 },
175 &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}`.
176 &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`.
177 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
178 },
179 }</pre>
180 </div>
181
182 <div class="method">
183 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
184 <pre>Deletes the specific SandboxEnvironment.
185
186 Args:
187 name: string, Required. The resource name of the SandboxEnvironment to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
188 x__xgafv: string, V1 error format.
189 Allowed values
190 1 - v1 error format
191 2 - v2 error format
192
193 Returns:
194 An object of the form:
195
196 { # This resource represents a long-running operation that is the result of a network API call.
197 &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.
198 &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.
199 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
200 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
201 {
202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
203 },
204 ],
205 &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.
206 },
207 &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.
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 &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}`.
211 &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`.
212 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
213 },
214 }</pre>
215 </div>
216
217 <div class="method">
218 <code class="details" id="execute">execute(name, body=None, x__xgafv=None)</code>
219 <pre>Executes using a sandbox environment.
220
221 Args:
222 name: string, Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
223 body: object, The request body.
224 The object takes the form of:
225
226 { # Request message for SandboxEnvironmentExecutionService.Execute.
227 &quot;inputs&quot;: [ # Required. The inputs to the sandbox environment.
228 { # Container for bytes-encoded data such as video frame, audio sample, or a complete binary/text data.
229 &quot;data&quot;: &quot;A String&quot;, # Required. The data in the chunk.
230 &quot;metadata&quot;: { # Metadata for a chunk. # Optional. Metadata that is associated with the data in the payload.
231 &quot;attributes&quot;: { # Optional. Attributes attached to the data. The keys have semantic conventions and the consumers of the attributes should know how to deserialize the value bytes based on the keys.
232 &quot;a_key&quot;: &quot;A String&quot;,
233 },
234 },
235 &quot;mimeType&quot;: &quot;A String&quot;, # Required. Mime type of the chunk data. See https://www.iana.org/assignments/media-types/media-types.xhtml for the full list.
236 },
237 ],
238 }
239
240 x__xgafv: string, V1 error format.
241 Allowed values
242 1 - v1 error format
243 2 - v2 error format
244
245 Returns:
246 An object of the form:
247
248 { # Response message for SandboxEnvironmentExecutionService.Execute.
249 &quot;outputs&quot;: [ # The outputs from the sandbox environment.
250 { # Container for bytes-encoded data such as video frame, audio sample, or a complete binary/text data.
251 &quot;data&quot;: &quot;A String&quot;, # Required. The data in the chunk.
252 &quot;metadata&quot;: { # Metadata for a chunk. # Optional. Metadata that is associated with the data in the payload.
253 &quot;attributes&quot;: { # Optional. Attributes attached to the data. The keys have semantic conventions and the consumers of the attributes should know how to deserialize the value bytes based on the keys.
254 &quot;a_key&quot;: &quot;A String&quot;,
255 },
256 },
257 &quot;mimeType&quot;: &quot;A String&quot;, # Required. Mime type of the chunk data. See https://www.iana.org/assignments/media-types/media-types.xhtml for the full list.
258 },
259 ],
260 }</pre>
261 </div>
262
263 <div class="method">
264 <code class="details" id="get">get(name, x__xgafv=None)</code>
265 <pre>Gets details of the specific SandboxEnvironment.
266
267 Args:
268 name: string, Required. The resource name of the sandbox environment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
269 x__xgafv: string, V1 error format.
270 Allowed values
271 1 - v1 error format
272 2 - v2 error format
273
274 Returns:
275 An object of the form:
276
277 { # SandboxEnvironment is a containerized environment that provides a customizable secure execution runtime for AI agents.
278 &quot;connectionInfo&quot;: { # The connection information of the SandboxEnvironment. # Output only. The connection information of the SandboxEnvironment.
279 &quot;loadBalancerHostname&quot;: &quot;A String&quot;, # Output only. The hostname of the load balancer.
280 &quot;loadBalancerIp&quot;: &quot;A String&quot;, # Output only. The IP address of the load balancer.
281 &quot;routingToken&quot;: &quot;A String&quot;, # Output only. The routing token for the SandboxEnvironment.
282 &quot;sandboxInternalIp&quot;: &quot;A String&quot;, # Output only. The internal IP address of the SandboxEnvironment.
283 },
284 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was created.
285 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironment.
286 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC of when this SandboxEnvironment is considered expired. This is *always* provided on output, regardless of what `expiration` was sent on input.
287 &quot;latestSandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Output only. The resource name of the latest snapshot taken for this SandboxEnvironment.
288 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the SandboxEnvironment.
289 &quot;owner&quot;: &quot;A String&quot;, # Optional. Owner information for this sandbox environment. A Sandbox can only be restored from a snapshot that belongs to the same owner. If not set, sandbox will be created as the default owner.
290 &quot;sandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Optional. The resource name of the SandboxEnvironmentSnapshot to use for creating this SandboxEnvironment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}`
291 &quot;sandboxEnvironmentTemplate&quot;: &quot;A String&quot;, # Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from.
292 &quot;spec&quot;: { # The specification of a SandboxEnvironment. # Optional. The configuration of the SandboxEnvironment.
293 &quot;codeExecutionEnvironment&quot;: { # The code execution environment with customized settings. # Optional. The code execution environment.
294 &quot;codeLanguage&quot;: &quot;A String&quot;, # The coding language supported in this environment.
295 &quot;machineConfig&quot;: &quot;A String&quot;, # The machine config of the code execution environment.
296 },
297 },
298 &quot;state&quot;: &quot;A String&quot;, # Output only. The runtime state of the SandboxEnvironment.
299 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL.
300 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
301 }</pre>
302 </div>
303
304 <div class="method">
305 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
306 <pre>Lists SandboxEnvironments in a given reasoning engine.
307
308 Args:
309 parent: string, Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
310 filter: string, Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).
311 pageSize: integer, Optional. The maximum number of SandboxEnvironments to return. The service may return fewer than this value. If unspecified, at most 100 SandboxEnvironments will be returned.
312 pageToken: string, Optional. The standard list page token, received from a previous `ListSandboxEnvironments` call. Provide this to retrieve the subsequent page.
313 x__xgafv: string, V1 error format.
314 Allowed values
315 1 - v1 error format
316 2 - v2 error format
317
318 Returns:
319 An object of the form:
320
321 { # Response message for SandboxEnvironmentService.ListSandboxEnvironments.
322 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as ListSandboxEnvironmentsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
323 &quot;sandboxEnvironments&quot;: [ # The SandboxEnvironments matching the request.
324 { # SandboxEnvironment is a containerized environment that provides a customizable secure execution runtime for AI agents.
325 &quot;connectionInfo&quot;: { # The connection information of the SandboxEnvironment. # Output only. The connection information of the SandboxEnvironment.
326 &quot;loadBalancerHostname&quot;: &quot;A String&quot;, # Output only. The hostname of the load balancer.
327 &quot;loadBalancerIp&quot;: &quot;A String&quot;, # Output only. The IP address of the load balancer.
328 &quot;routingToken&quot;: &quot;A String&quot;, # Output only. The routing token for the SandboxEnvironment.
329 &quot;sandboxInternalIp&quot;: &quot;A String&quot;, # Output only. The internal IP address of the SandboxEnvironment.
330 },
331 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was created.
332 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironment.
333 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC of when this SandboxEnvironment is considered expired. This is *always* provided on output, regardless of what `expiration` was sent on input.
334 &quot;latestSandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Output only. The resource name of the latest snapshot taken for this SandboxEnvironment.
335 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the SandboxEnvironment.
336 &quot;owner&quot;: &quot;A String&quot;, # Optional. Owner information for this sandbox environment. A Sandbox can only be restored from a snapshot that belongs to the same owner. If not set, sandbox will be created as the default owner.
337 &quot;sandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Optional. The resource name of the SandboxEnvironmentSnapshot to use for creating this SandboxEnvironment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}`
338 &quot;sandboxEnvironmentTemplate&quot;: &quot;A String&quot;, # Optional. The name of the SandboxEnvironmentTemplate specified in the parent Agent Engine resource that this SandboxEnvironment is created from.
339 &quot;spec&quot;: { # The specification of a SandboxEnvironment. # Optional. The configuration of the SandboxEnvironment.
340 &quot;codeExecutionEnvironment&quot;: { # The code execution environment with customized settings. # Optional. The code execution environment.
341 &quot;codeLanguage&quot;: &quot;A String&quot;, # The coding language supported in this environment.
342 &quot;machineConfig&quot;: &quot;A String&quot;, # The machine config of the code execution environment.
343 },
344 },
345 &quot;state&quot;: &quot;A String&quot;, # Output only. The runtime state of the SandboxEnvironment.
346 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL.
347 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
348 },
349 ],
350 }</pre>
351 </div>
352
353 <div class="method">
354 <code class="details" id="list_next">list_next()</code>
355 <pre>Retrieves the next page of results.
356
357 Args:
358 previous_request: The request for the previous page. (required)
359 previous_response: The response from the request for the previous page. (required)
360
361 Returns:
362 A request object that you can call &#x27;execute()&#x27; on to request the next
363 page. Returns None if there are no more items in the collection.
364 </pre>
365 </div>
366
367 <div class="method">
368 <code class="details" id="pause">pause(name, body=None, x__xgafv=None)</code>
369 <pre>Pauses the specific SandboxEnvironment.
370
371 Args:
372 name: string, Required. The resource name of the sandbox environment to pause. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
373 body: object, The request body.
374 The object takes the form of:
375
376 { # Request message for SandboxEnvironmentService.PauseSandboxEnvironment.
377 }
378
379 x__xgafv: string, V1 error format.
380 Allowed values
381 1 - v1 error format
382 2 - v2 error format
383
384 Returns:
385 An object of the form:
386
387 { # This resource represents a long-running operation that is the result of a network API call.
388 &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.
389 &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.
390 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
391 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
392 {
393 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
394 },
395 ],
396 &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.
397 },
398 &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.
399 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
400 },
401 &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}`.
402 &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`.
403 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
404 },
405 }</pre>
406 </div>
407
408 <div class="method">
409 <code class="details" id="resume">resume(name, body=None, x__xgafv=None)</code>
410 <pre>Resumes the specific SandboxEnvironment.
411
412 Args:
413 name: string, Required. The resource name of the sandbox environment to resume. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
414 body: object, The request body.
415 The object takes the form of:
416
417 { # Request message for SandboxEnvironmentService.ResumeSandboxEnvironment.
418 }
419
420 x__xgafv: string, V1 error format.
421 Allowed values
422 1 - v1 error format
423 2 - v2 error format
424
425 Returns:
426 An object of the form:
427
428 { # This resource represents a long-running operation that is the result of a network API call.
429 &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.
430 &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.
431 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
432 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
433 {
434 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
435 },
436 ],
437 &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.
438 },
439 &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.
440 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
441 },
442 &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}`.
443 &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`.
444 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
445 },
446 }</pre>
447 </div>
448
449 <div class="method">
450 <code class="details" id="snapshot">snapshot(name, body=None, x__xgafv=None)</code>
451 <pre>Snapshots the specific SandboxEnvironment resource and creates a SandboxEnvironmentSnapshot resource.
452
453 Args:
454 name: string, Required. The resource name of the sandbox environment to snapshot. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`. (required)
455 body: object, The request body.
456 The object takes the form of:
457
458 { # SandboxEnvironmentSnapshot is a snapshot of the SandboxEnvironment.
459 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironmentSnapshot was created.
460 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironmentSnapshot.
461 &quot;expireTime&quot;: &quot;A String&quot;, # Optional. Timestamp in UTC of when this SandboxEnvironmentSnapshot is considered expired. This is *always* provided on output, regardless of what `expiration` was sent on input.
462 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the SandboxEnvironmentSnapshot. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}`
463 &quot;owner&quot;: &quot;A String&quot;, # Optional. Owner information for this sandbox snapshot. Different owners will have isolations on snapshot storage and identity. If not set, snapshot will be created as the default owner.
464 &quot;parentSnapshot&quot;: &quot;A String&quot;, # Output only. The resource name of the parent SandboxEnvironmentSnapshot. Empty if this is a root Snapshot (the first snapshot from a newly created sandbox). Can be used to reconstruct the whole ancestry tree of snapshots.
465 &quot;postSnapshotAction&quot;: &quot;A String&quot;, # Optional. Input only. Action to take on the source SandboxEnvironment after the snapshot is taken. This field is only used in CreateSandboxEnvironmentSnapshotRequest and it is not stored in the resource.
466 &quot;sizeBytes&quot;: &quot;A String&quot;, # Optional. Output only. Size of the snapshot data in bytes.
467 &quot;sourceSandboxEnvironment&quot;: &quot;A String&quot;, # Required. The resource name of the source SandboxEnvironment this snapshot was taken from.
468 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment snapshot. The expiration time is computed: now + TTL.
469 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
470 }
471
472 x__xgafv: string, V1 error format.
473 Allowed values
474 1 - v1 error format
475 2 - v2 error format
476
477 Returns:
478 An object of the form:
479
480 { # This resource represents a long-running operation that is the result of a network API call.
481 &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.
482 &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.
483 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
484 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
485 {
486 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
487 },
488 ],
489 &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.
490 },
491 &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.
492 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
493 },
494 &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}`.
495 &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`.
496 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
497 },
498 }</pre>
499 </div>
500
501 </body></html>