@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20230908 → 0.0.20230929

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 +1328 -69
  2. package/package.json +1 -1
  3. package/tests.ts +187 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20230908",
3
+ "version": "0.0.20230929",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230908
6
+ // Revision: 20230929
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -629,6 +629,11 @@ gapi.load('client', async () => {
629
629
  }, {
630
630
  exportConfig: {
631
631
  annotationsFilter: "Test string",
632
+ filterSplit: {
633
+ testFilter: "Test string",
634
+ trainingFilter: "Test string",
635
+ validationFilter: "Test string",
636
+ },
632
637
  fractionSplit: {
633
638
  testFraction: 42,
634
639
  trainingFraction: 42,
@@ -861,6 +866,38 @@ gapi.load('client', async () => {
861
866
  name: "Test string",
862
867
  timeout: "Test string",
863
868
  });
869
+ /** Create a version from a Dataset. */
870
+ await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.create({
871
+ parent: "Test string",
872
+ }, {
873
+ bigQueryDatasetName: "Test string",
874
+ createTime: "Test string",
875
+ etag: "Test string",
876
+ name: "Test string",
877
+ updateTime: "Test string",
878
+ });
879
+ /** Deletes a Dataset version. */
880
+ await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.delete({
881
+ name: "Test string",
882
+ });
883
+ /** Gets a Dataset version. */
884
+ await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.get({
885
+ name: "Test string",
886
+ readMask: "Test string",
887
+ });
888
+ /** Lists DatasetVersions in a Dataset. */
889
+ await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.list({
890
+ filter: "Test string",
891
+ orderBy: "Test string",
892
+ pageSize: 42,
893
+ pageToken: "Test string",
894
+ parent: "Test string",
895
+ readMask: "Test string",
896
+ });
897
+ /** Restores a dataset version. */
898
+ await gapi.client.aiplatform.projects.locations.datasets.datasetVersions.restore({
899
+ name: "Test string",
900
+ });
864
901
  /**
865
902
  * 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
866
903
  * 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
@@ -3926,6 +3963,9 @@ gapi.load('client', async () => {
3926
3963
  ],
3927
3964
  },
3928
3965
  enableLogging: true,
3966
+ notificationChannels: [
3967
+ "Test string"
3968
+ ],
3929
3969
  },
3930
3970
  name: "Test string",
3931
3971
  nextScheduleTime: "Test string",
@@ -4082,6 +4122,9 @@ gapi.load('client', async () => {
4082
4122
  ],
4083
4123
  },
4084
4124
  enableLogging: true,
4125
+ notificationChannels: [
4126
+ "Test string"
4127
+ ],
4085
4128
  },
4086
4129
  name: "Test string",
4087
4130
  nextScheduleTime: "Test string",
@@ -5212,6 +5255,149 @@ gapi.load('client', async () => {
5212
5255
  pageToken: "Test string",
5213
5256
  parent: "Test string",
5214
5257
  });
5258
+ /** Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one. */
5259
+ await gapi.client.aiplatform.projects.locations.notebookRuntimes.assign({
5260
+ parent: "Test string",
5261
+ }, {
5262
+ notebookRuntime: {
5263
+ createTime: "Test string",
5264
+ description: "Test string",
5265
+ displayName: "Test string",
5266
+ expirationTime: "Test string",
5267
+ healthState: "Test string",
5268
+ labels: {
5269
+ A: "Test string"
5270
+ },
5271
+ name: "Test string",
5272
+ notebookRuntimeTemplateRef: {
5273
+ notebookRuntimeTemplate: "Test string",
5274
+ },
5275
+ notebookRuntimeType: "Test string",
5276
+ proxyUri: "Test string",
5277
+ runtimeState: "Test string",
5278
+ runtimeUser: "Test string",
5279
+ serviceAccount: "Test string",
5280
+ updateTime: "Test string",
5281
+ version: "Test string",
5282
+ },
5283
+ notebookRuntimeId: "Test string",
5284
+ notebookRuntimeTemplate: "Test string",
5285
+ });
5286
+ /** Deletes a NotebookRuntime. */
5287
+ await gapi.client.aiplatform.projects.locations.notebookRuntimes.delete({
5288
+ name: "Test string",
5289
+ });
5290
+ /** Gets a NotebookRuntime. */
5291
+ await gapi.client.aiplatform.projects.locations.notebookRuntimes.get({
5292
+ name: "Test string",
5293
+ });
5294
+ /** Lists NotebookRuntimes in a Location. */
5295
+ await gapi.client.aiplatform.projects.locations.notebookRuntimes.list({
5296
+ filter: "Test string",
5297
+ orderBy: "Test string",
5298
+ pageSize: 42,
5299
+ pageToken: "Test string",
5300
+ parent: "Test string",
5301
+ readMask: "Test string",
5302
+ });
5303
+ /** Starts a NotebookRuntime. */
5304
+ await gapi.client.aiplatform.projects.locations.notebookRuntimes.start({
5305
+ name: "Test string",
5306
+ }, {
5307
+ });
5308
+ /** Creates a NotebookRuntimeTemplate. */
5309
+ await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.create({
5310
+ notebookRuntimeTemplateId: "Test string",
5311
+ parent: "Test string",
5312
+ }, {
5313
+ createTime: "Test string",
5314
+ dataPersistentDiskSpec: {
5315
+ diskSizeGb: "Test string",
5316
+ diskType: "Test string",
5317
+ },
5318
+ description: "Test string",
5319
+ displayName: "Test string",
5320
+ etag: "Test string",
5321
+ eucConfig: {
5322
+ bypassActasCheck: true,
5323
+ eucDisabled: true,
5324
+ },
5325
+ idleShutdownConfig: {
5326
+ idleShutdownDisabled: true,
5327
+ idleTimeout: "Test string",
5328
+ },
5329
+ isDefault: true,
5330
+ labels: {
5331
+ A: "Test string"
5332
+ },
5333
+ machineSpec: {
5334
+ acceleratorCount: 42,
5335
+ acceleratorType: "Test string",
5336
+ machineType: "Test string",
5337
+ },
5338
+ name: "Test string",
5339
+ networkSpec: {
5340
+ enableInternetAccess: true,
5341
+ network: "Test string",
5342
+ subnetwork: "Test string",
5343
+ },
5344
+ notebookRuntimeType: "Test string",
5345
+ serviceAccount: "Test string",
5346
+ updateTime: "Test string",
5347
+ });
5348
+ /** Deletes a NotebookRuntimeTemplate. */
5349
+ await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.delete({
5350
+ name: "Test string",
5351
+ });
5352
+ /** Gets a NotebookRuntimeTemplate. */
5353
+ await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.get({
5354
+ name: "Test string",
5355
+ });
5356
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
5357
+ await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.getIamPolicy({
5358
+ "options.requestedPolicyVersion": 42,
5359
+ resource: "Test string",
5360
+ });
5361
+ /** Lists NotebookRuntimeTemplates in a Location. */
5362
+ await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.list({
5363
+ filter: "Test string",
5364
+ orderBy: "Test string",
5365
+ pageSize: 42,
5366
+ pageToken: "Test string",
5367
+ parent: "Test string",
5368
+ readMask: "Test string",
5369
+ });
5370
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
5371
+ await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.setIamPolicy({
5372
+ resource: "Test string",
5373
+ }, {
5374
+ policy: {
5375
+ bindings: [
5376
+ {
5377
+ condition: {
5378
+ description: "Test string",
5379
+ expression: "Test string",
5380
+ location: "Test string",
5381
+ title: "Test string",
5382
+ },
5383
+ members: [
5384
+ "Test string"
5385
+ ],
5386
+ role: "Test string",
5387
+ }
5388
+ ],
5389
+ etag: "Test string",
5390
+ version: 42,
5391
+ },
5392
+ });
5393
+ /**
5394
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
5395
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
5396
+ */
5397
+ await gapi.client.aiplatform.projects.locations.notebookRuntimeTemplates.testIamPermissions({
5398
+ permissions: "Test string",
5399
+ resource: "Test string",
5400
+ });
5215
5401
  /**
5216
5402
  * 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
5217
5403
  * 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