@maxim_mazurok/gapi.client.aiplatform-v1 0.3.20250926 → 0.3.20251027

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +16057 -8755
  2. package/package.json +1 -1
  3. package/readme.md +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.3.20250926",
3
+ "version": "0.3.20251027",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -156,6 +156,31 @@ Upload a file into a RagCorpus.
156
156
  */
157
157
  await gapi.client.aiplatform.media.upload({parent: 'parent'});
158
158
 
159
+ /*
160
+ Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
161
+ */
162
+ await gapi.client.aiplatform.operations.cancel({name: 'name'});
163
+
164
+ /*
165
+ Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
166
+ */
167
+ await gapi.client.aiplatform.operations.delete({name: 'name'});
168
+
169
+ /*
170
+ Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
171
+ */
172
+ await gapi.client.aiplatform.operations.get({name: 'name'});
173
+
174
+ /*
175
+ Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
176
+ */
177
+ await gapi.client.aiplatform.operations.list({});
178
+
179
+ /*
180
+ Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
181
+ */
182
+ await gapi.client.aiplatform.operations.wait({name: 'name'});
183
+
159
184
  /*
160
185
  Gets a GenAI cache config.
161
186
  */