@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20230809 → 0.0.20230812

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 +4 -7
  2. package/package.json +1 -1
  3. package/tests.ts +5 -10
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230809
12
+ // Revision: 20230812
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2376,12 +2376,6 @@ declare namespace gapi.client {
2376
2376
  /** Required. Immutable. Type of Feature value. */
2377
2377
  valueType?:
2378
2378
  string;
2379
- /**
2380
- * The labels with user-defined metadata to organize your versions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters,
2381
- * numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
2382
- */
2383
- versionLabels?:
2384
- { [P in string]: string };
2385
2379
  }
2386
2380
  interface GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly {
2387
2381
  /** Output only. The stats and anomalies generated at specific timestamp. */
@@ -5553,6 +5547,9 @@ declare namespace gapi.client {
5553
5547
  string;
5554
5548
  }
5555
5549
  interface GoogleCloudAiplatformV1Scheduling {
5550
+ /** Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false. */
5551
+ disableRetries?:
5552
+ boolean;
5556
5553
  /** Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. */
5557
5554
  restartJobOnWorkerRestart?:
5558
5555
  boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20230809",
3
+ "version": "0.0.20230812",
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: 20230809
6
+ // Revision: 20230812
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -346,6 +346,7 @@ gapi.load('client', async () => {
346
346
  "Test string"
347
347
  ],
348
348
  scheduling: {
349
+ disableRetries: true,
349
350
  restartJobOnWorkerRestart: true,
350
351
  timeout: "Test string",
351
352
  },
@@ -2418,9 +2419,6 @@ gapi.load('client', async () => {
2418
2419
  name: "Test string",
2419
2420
  updateTime: "Test string",
2420
2421
  valueType: "Test string",
2421
- versionLabels: {
2422
- A: "Test string"
2423
- },
2424
2422
  },
2425
2423
  featureId: "Test string",
2426
2424
  parent: "Test string",
@@ -2456,9 +2454,6 @@ gapi.load('client', async () => {
2456
2454
  name: "Test string",
2457
2455
  updateTime: "Test string",
2458
2456
  valueType: "Test string",
2459
- versionLabels: {
2460
- A: "Test string"
2461
- },
2462
2457
  });
2463
2458
  /** Deletes a single Feature. */
2464
2459
  await gapi.client.aiplatform.projects.locations.featurestores.entityTypes.features.delete({
@@ -2507,9 +2502,6 @@ gapi.load('client', async () => {
2507
2502
  name: "Test string",
2508
2503
  updateTime: "Test string",
2509
2504
  valueType: "Test string",
2510
- versionLabels: {
2511
- A: "Test string"
2512
- },
2513
2505
  });
2514
2506
  /**
2515
2507
  * 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
@@ -2750,6 +2742,7 @@ gapi.load('client', async () => {
2750
2742
  "Test string"
2751
2743
  ],
2752
2744
  scheduling: {
2745
+ disableRetries: true,
2753
2746
  restartJobOnWorkerRestart: true,
2754
2747
  timeout: "Test string",
2755
2748
  },
@@ -5037,6 +5030,7 @@ gapi.load('client', async () => {
5037
5030
  "Test string"
5038
5031
  ],
5039
5032
  scheduling: {
5033
+ disableRetries: true,
5040
5034
  restartJobOnWorkerRestart: true,
5041
5035
  timeout: "Test string",
5042
5036
  },
@@ -5112,6 +5106,7 @@ gapi.load('client', async () => {
5112
5106
  "Test string"
5113
5107
  ],
5114
5108
  scheduling: {
5109
+ disableRetries: true,
5115
5110
  restartJobOnWorkerRestart: true,
5116
5111
  timeout: "Test string",
5117
5112
  },