Debian Codegraph @

docs/dyn/aiplatform_v1.projects.locations.reasoningEngines.sandboxEnvironmentSnapshots.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.projects.html">projects</a> . <a href="aiplatform_v1.projects.locations.html">locations</a> . <a href="aiplatform_v1.projects.locations.reasoningEngines.html">reasoningEngines</a> . <a href="aiplatform_v1.projects.locations.reasoningEngines.sandboxEnvironmentSnapshots.html">sandboxEnvironmentSnapshots</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1.projects.locations.reasoningEngines.sandboxEnvironmentSnapshots.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="#delete">delete(name, x__xgafv=None)</a></code></p>
87 <p class="firstline">Deletes the specific SandboxEnvironmentSnapshot.</p>
88 <p class="toc_element">
89 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Gets details of the specific SandboxEnvironmentSnapshot.</p>
91 <p class="toc_element">
92 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Lists SandboxEnvironmentSnapshots in a given reasoning engine.</p>
94 <p class="toc_element">
95 <code><a href="#list_next">list_next()</a></code></p>
96 <p class="firstline">Retrieves the next page of results.</p>
97 <h3>Method Details</h3>
98 <div class="method">
99 <code class="details" id="close">close()</code>
100 <pre>Close httplib2 connections.</pre>
101 </div>
102
103 <div class="method">
104 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
105 <pre>Deletes the specific SandboxEnvironmentSnapshot.
106
107 Args:
108 name: string, Required. The resource name of the SandboxEnvironmentSnapshot to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}` (required)
109 x__xgafv: string, V1 error format.
110 Allowed values
111 1 - v1 error format
112 2 - v2 error format
113
114 Returns:
115 An object of the form:
116
117 { # This resource represents a long-running operation that is the result of a network API call.
118 &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.
119 &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.
120 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
121 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
122 {
123 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
124 },
125 ],
126 &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.
127 },
128 &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.
129 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
130 },
131 &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}`.
132 &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`.
133 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
134 },
135 }</pre>
136 </div>
137
138 <div class="method">
139 <code class="details" id="get">get(name, x__xgafv=None)</code>
140 <pre>Gets details of the specific SandboxEnvironmentSnapshot.
141
142 Args:
143 name: string, Required. The resource name of the sandbox environment snapshot. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sandbox_environment_snapshot}` (required)
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149 Returns:
150 An object of the form:
151
152 { # SandboxEnvironmentSnapshot is a snapshot of the SandboxEnvironment.
153 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironmentSnapshot was created.
154 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironmentSnapshot.
155 &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.
156 &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}`
157 &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.
158 &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.
159 &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.
160 &quot;sizeBytes&quot;: &quot;A String&quot;, # Optional. Output only. Size of the snapshot data in bytes.
161 &quot;sourceSandboxEnvironment&quot;: &quot;A String&quot;, # Required. The resource name of the source SandboxEnvironment this snapshot was taken from.
162 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment snapshot. The expiration time is computed: now + TTL.
163 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
169 <pre>Lists SandboxEnvironmentSnapshots in a given reasoning engine.
170
171 Args:
172 parent: string, Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` (required)
173 filter: string, Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160).
174 pageSize: integer, Optional. The maximum number of SandboxEnvironmentSnapshots to return. The service may return fewer than this value. If unspecified, at most 100 SandboxEnvironmentSnapshots will be returned. Values above 100 will be coerced to 100.
175 pageToken: string, Optional. The standard list page token, received from a previous `ListSandboxEnvironmentSnapshots` call. Provide this to retrieve the subsequent page.
176 x__xgafv: string, V1 error format.
177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
180
181 Returns:
182 An object of the form:
183
184 { # Response message for SandboxEnvironmentService.ListSandboxEnvironmentSnapshots.
185 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as ListSandboxEnvironmentSnapshotsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.
186 &quot;sandboxEnvironmentSnapshots&quot;: [ # The SandboxEnvironmentSnapshots matching the request.
187 { # SandboxEnvironmentSnapshot is a snapshot of the SandboxEnvironment.
188 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironmentSnapshot was created.
189 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the SandboxEnvironmentSnapshot.
190 &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.
191 &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}`
192 &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.
193 &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.
194 &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.
195 &quot;sizeBytes&quot;: &quot;A String&quot;, # Optional. Output only. Size of the snapshot data in bytes.
196 &quot;sourceSandboxEnvironment&quot;: &quot;A String&quot;, # Required. The resource name of the source SandboxEnvironment this snapshot was taken from.
197 &quot;ttl&quot;: &quot;A String&quot;, # Optional. Input only. The TTL for the sandbox environment snapshot. The expiration time is computed: now + TTL.
198 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when this SandboxEnvironment was most recently updated.
199 },
200 ],
201 }</pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="list_next">list_next()</code>
206 <pre>Retrieves the next page of results.
207
208 Args:
209 previous_request: The request for the previous page. (required)
210 previous_response: The response from the request for the previous page. (required)
211
212 Returns:
213 A request object that you can call &#x27;execute()&#x27; on to request the next
214 page. Returns None if there are no more items in the collection.
215 </pre>
216 </div>
217
218 </body></html>