@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240328 → 0.0.20240417

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 +1263 -701
  2. package/package.json +1 -1
  3. package/readme.md +7 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20240328",
3
+ "version": "0.0.20240417",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -73,7 +73,12 @@ After that you can use Vertex AI API resources: <!-- TODO: make this work for mu
73
73
 
74
74
  ```typescript
75
75
  /*
76
- Upload a file into a RagCorpus.
76
+ Gets a GenAI cache config.
77
77
  */
78
- await gapi.client.aiplatform.media.upload({parent: 'parent'});
78
+ await gapi.client.aiplatform.projects.getCacheConfig({name: 'name'});
79
+
80
+ /*
81
+ Updates a cache config.
82
+ */
83
+ await gapi.client.aiplatform.projects.updateCacheConfig({name: 'name'});
79
84
  ```