Debian Codegraph @

docs/dyn/aiplatform_v1beta1.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_v1beta1.html">Agent Platform API</a> . <a href="aiplatform_v1beta1.reasoningEngines.html">reasoningEngines</a> . <a href="aiplatform_v1beta1.reasoningEngines.sandboxEnvironments.html">sandboxEnvironments</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1beta1.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 &quot;computerUseEnvironment&quot;: { # The computer use environment with customized settings. # Optional. The computer use environment.
148 },
149 },
150 &quot;state&quot;: &quot;A String&quot;, # Output only. The runtime state of the SandboxEnvironment.
151 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL.
152 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
153 }
154
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
159
160 Returns:
161 An object of the form:
162
163 { # This resource represents a long-running operation that is the result of a network API call.
164 &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.
165 &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.
166 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
167 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
168 {
169 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
170 },
171 ],
172 &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.
173 },
174 &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.
175 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
176 },
177 &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}`.
178 &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`.
179 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
180 },
181 }</pre>
182 </div>
183
184 <div class="method">
185 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
186 <pre>Deletes the specific SandboxEnvironment.
187
188 Args:
189 name: string, Required. The resource name of the SandboxEnvironment to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
190 x__xgafv: string, V1 error format.
191 Allowed values
192 1 - v1 error format
193 2 - v2 error format
194
195 Returns:
196 An object of the form:
197
198 { # This resource represents a long-running operation that is the result of a network API call.
199 &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.
200 &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.
201 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
202 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
203 {
204 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
205 },
206 ],
207 &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.
208 },
209 &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.
210 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
211 },
212 &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}`.
213 &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`.
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
215 },
216 }</pre>
217 </div>
218
219 <div class="method">
220 <code class="details" id="execute">execute(name, body=None, x__xgafv=None)</code>
221 <pre>Executes using a sandbox environment.
222
223 Args:
224 name: string, Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
225 body: object, The request body.
226 The object takes the form of:
227
228 { # Request message for SandboxEnvironmentExecutionService.Execute.
229 &quot;inputs&quot;: [ # Required. The inputs to the sandbox environment.
230 { # Container for bytes-encoded data such as video frame, audio sample, or a complete binary/text data.
231 &quot;data&quot;: &quot;A String&quot;, # Required. The data in the chunk.
232 &quot;metadata&quot;: { # Metadata for a chunk. # Optional. Metadata that is associated with the data in the payload.
233 &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.
234 &quot;a_key&quot;: &quot;A String&quot;,
235 },
236 },
237 &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.
238 },
239 ],
240 }
241
242 x__xgafv: string, V1 error format.
243 Allowed values
244 1 - v1 error format
245 2 - v2 error format
246
247 Returns:
248 An object of the form:
249
250 { # Response message for SandboxEnvironmentExecutionService.Execute.
251 &quot;outputs&quot;: [ # The outputs from the sandbox environment.
252 { # Container for bytes-encoded data such as video frame, audio sample, or a complete binary/text data.
253 &quot;data&quot;: &quot;A String&quot;, # Required. The data in the chunk.
254 &quot;metadata&quot;: { # Metadata for a chunk. # Optional. Metadata that is associated with the data in the payload.
255 &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.
256 &quot;a_key&quot;: &quot;A String&quot;,
257 },
258 },
259 &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.
260 },
261 ],
262 }</pre>
263 </div>
264
265 <div class="method">
266 <code class="details" id="get">get(name, x__xgafv=None)</code>
267 <pre>Gets details of the specific SandboxEnvironment.
268
269 Args:
270 name: string, Required. The resource name of the sandbox environment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
271 x__xgafv: string, V1 error format.
272 Allowed values
273 1 - v1 error format
274 2 - v2 error format
275
276 Returns:
277 An object of the form:
278
279 { # SandboxEnvironment is a containerized environment that provides a customizable secure execution runtime for AI agents.
280 &quot;connectionInfo&quot;: { # The connection information of the SandboxEnvironment. # Output only. The connection information of the SandboxEnvironment.
281 &quot;loadBalancerHostname&quot;: &quot;A String&quot;, # Output only. The hostname of the load balancer.
282 &quot;loadBalancerIp&quot;: &quot;A String&quot;, # Output only. The IP address of the load balancer.
283 &quot;routingToken&quot;: &quot;A String&quot;, # Output only. The routing token for the SandboxEnvironment.
284 &quot;sandboxInternalIp&quot;: &quot;A String&quot;, # Output only. The internal IP address of the SandboxEnvironment.
285 },
286 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was created.
287 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironment.
288 &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.
289 &quot;latestSandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Output only. The resource name of the latest snapshot taken for this SandboxEnvironment.
290 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the SandboxEnvironment.
291 &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.
292 &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}`
293 &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.
294 &quot;spec&quot;: { # The specification of a SandboxEnvironment. # Optional. The configuration of the SandboxEnvironment.
295 &quot;codeExecutionEnvironment&quot;: { # The code execution environment with customized settings. # Optional. The code execution environment.
296 &quot;codeLanguage&quot;: &quot;A String&quot;, # The coding language supported in this environment.
297 &quot;machineConfig&quot;: &quot;A String&quot;, # The machine config of the code execution environment.
298 },
299 &quot;computerUseEnvironment&quot;: { # The computer use environment with customized settings. # Optional. The computer use environment.
300 },
301 },
302 &quot;state&quot;: &quot;A String&quot;, # Output only. The runtime state of the SandboxEnvironment.
303 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL.
304 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
305 }</pre>
306 </div>
307
308 <div class="method">
309 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
310 <pre>Lists SandboxEnvironments in a given reasoning engine.
311
312 Args:
313 parent: string, Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
314 filter: string, Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).
315 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.
316 pageToken: string, Optional. The standard list page token, received from a previous `ListSandboxEnvironments` call. Provide this to retrieve the subsequent page.
317 x__xgafv: string, V1 error format.
318 Allowed values
319 1 - v1 error format
320 2 - v2 error format
321
322 Returns:
323 An object of the form:
324
325 { # Response message for SandboxEnvironmentService.ListSandboxEnvironments.
326 &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.
327 &quot;sandboxEnvironments&quot;: [ # The SandboxEnvironments matching the request.
328 { # SandboxEnvironment is a containerized environment that provides a customizable secure execution runtime for AI agents.
329 &quot;connectionInfo&quot;: { # The connection information of the SandboxEnvironment. # Output only. The connection information of the SandboxEnvironment.
330 &quot;loadBalancerHostname&quot;: &quot;A String&quot;, # Output only. The hostname of the load balancer.
331 &quot;loadBalancerIp&quot;: &quot;A String&quot;, # Output only. The IP address of the load balancer.
332 &quot;routingToken&quot;: &quot;A String&quot;, # Output only. The routing token for the SandboxEnvironment.
333 &quot;sandboxInternalIp&quot;: &quot;A String&quot;, # Output only. The internal IP address of the SandboxEnvironment.
334 },
335 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was created.
336 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironment.
337 &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.
338 &quot;latestSandboxEnvironmentSnapshot&quot;: &quot;A String&quot;, # Output only. The resource name of the latest snapshot taken for this SandboxEnvironment.
339 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the SandboxEnvironment.
340 &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.
341 &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}`
342 &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.
343 &quot;spec&quot;: { # The specification of a SandboxEnvironment. # Optional. The configuration of the SandboxEnvironment.
344 &quot;codeExecutionEnvironment&quot;: { # The code execution environment with customized settings. # Optional. The code execution environment.
345 &quot;codeLanguage&quot;: &quot;A String&quot;, # The coding language supported in this environment.
346 &quot;machineConfig&quot;: &quot;A String&quot;, # The machine config of the code execution environment.
347 },
348 &quot;computerUseEnvironment&quot;: { # The computer use environment with customized settings. # Optional. The computer use environment.
349 },
350 },
351 &quot;state&quot;: &quot;A String&quot;, # Output only. The runtime state of the SandboxEnvironment.
352 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL.
353 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
354 },
355 ],
356 }</pre>
357 </div>
358
359 <div class="method">
360 <code class="details" id="list_next">list_next()</code>
361 <pre>Retrieves the next page of results.
362
363 Args:
364 previous_request: The request for the previous page. (required)
365 previous_response: The response from the request for the previous page. (required)
366
367 Returns:
368 A request object that you can call &#x27;execute()&#x27; on to request the next
369 page. Returns None if there are no more items in the collection.
370 </pre>
371 </div>
372
373 <div class="method">
374 <code class="details" id="pause">pause(name, body=None, x__xgafv=None)</code>
375 <pre>Pauses the specific SandboxEnvironment.
376
377 Args:
378 name: string, Required. The resource name of the sandbox environment to pause. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
379 body: object, The request body.
380 The object takes the form of:
381
382 { # Request message for SandboxEnvironmentService.PauseSandboxEnvironment.
383 }
384
385 x__xgafv: string, V1 error format.
386 Allowed values
387 1 - v1 error format
388 2 - v2 error format
389
390 Returns:
391 An object of the form:
392
393 { # This resource represents a long-running operation that is the result of a network API call.
394 &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.
395 &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.
396 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
397 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
398 {
399 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
400 },
401 ],
402 &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.
403 },
404 &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.
405 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
406 },
407 &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}`.
408 &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`.
409 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
410 },
411 }</pre>
412 </div>
413
414 <div class="method">
415 <code class="details" id="resume">resume(name, body=None, x__xgafv=None)</code>
416 <pre>Resumes the specific SandboxEnvironment.
417
418 Args:
419 name: string, Required. The resource name of the sandbox environment to resume. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` (required)
420 body: object, The request body.
421 The object takes the form of:
422
423 { # Request message for SandboxEnvironmentService.ResumeSandboxEnvironment.
424 }
425
426 x__xgafv: string, V1 error format.
427 Allowed values
428 1 - v1 error format
429 2 - v2 error format
430
431 Returns:
432 An object of the form:
433
434 { # This resource represents a long-running operation that is the result of a network API call.
435 &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.
436 &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.
437 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
438 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
439 {
440 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
441 },
442 ],
443 &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.
444 },
445 &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.
446 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
447 },
448 &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}`.
449 &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`.
450 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
451 },
452 }</pre>
453 </div>
454
455 <div class="method">
456 <code class="details" id="snapshot">snapshot(name, body=None, x__xgafv=None)</code>
457 <pre>Snapshots the specific SandboxEnvironment resource and creates a SandboxEnvironmentSnapshot resource.
458
459 Args:
460 name: string, Required. The resource name of the sandbox environment to snapshot. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}`. (required)
461 body: object, The request body.
462 The object takes the form of:
463
464 { # SandboxEnvironmentSnapshot is a snapshot of the SandboxEnvironment.
465 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironmentSnapshot was created.
466 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironmentSnapshot.
467 &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.
468 &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}`
469 &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.
470 &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.
471 &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.
472 &quot;sizeBytes&quot;: &quot;A String&quot;, # Optional. Output only. Size of the snapshot data in bytes.
473 &quot;sourceSandboxEnvironment&quot;: &quot;A String&quot;, # Required. The resource name of the source SandboxEnvironment this snapshot was taken from.
474 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment snapshot. The expiration time is computed: now + TTL.
475 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
476 }
477
478 x__xgafv: string, V1 error format.
479 Allowed values
480 1 - v1 error format
481 2 - v2 error format
482
483 Returns:
484 An object of the form:
485
486 { # This resource represents a long-running operation that is the result of a network API call.
487 &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.
488 &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.
489 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
490 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
491 {
492 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
493 },
494 ],
495 &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.
496 },
497 &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.
498 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
499 },
500 &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}`.
501 &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`.
502 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
503 },
504 }</pre>
505 </div>
506
507 </body></html>