@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20230808 → 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 +13 -10
  2. package/package.json +1 -1
  3. package/tests.ts +8 -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: 20230808
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. */
@@ -4747,6 +4741,9 @@ declare namespace gapi.client {
4747
4741
  /** Runtime config of the pipeline. */
4748
4742
  runtimeConfig?:
4749
4743
  GoogleCloudAiplatformV1PipelineJobRuntimeConfig;
4744
+ /** Output only. The schedule resource name. Only returned if the Pipeline is created by Schedule API. */
4745
+ scheduleName?:
4746
+ string;
4750
4747
  /**
4751
4748
  * The service account that the pipeline workload runs as. If not specified, the Compute Engine default service account in the project will be used. See
4752
4749
  * https://cloud.google.com/compute/docs/access/service-accounts#default_service_account Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this
@@ -5082,6 +5079,9 @@ declare namespace gapi.client {
5082
5079
  /** Optional. Deploy the PublisherModel to Vertex Endpoint. */
5083
5080
  deploy?:
5084
5081
  GoogleCloudAiplatformV1PublisherModelCallToActionDeploy;
5082
+ /** Optional. Open evaluation pipeline of the PublisherModel. */
5083
+ openEvaluationPipeline?:
5084
+ GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
5085
5085
  /** Optional. Open fine-tuning pipeline of the PublisherModel. */
5086
5086
  openFineTuningPipeline?:
5087
5087
  GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
@@ -5547,6 +5547,9 @@ declare namespace gapi.client {
5547
5547
  string;
5548
5548
  }
5549
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;
5550
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. */
5551
5554
  restartJobOnWorkerRestart?:
5552
5555
  boolean;
@@ -8918,9 +8921,9 @@ declare namespace gapi.client {
8918
8921
  name?:
8919
8922
  string;
8920
8923
  /**
8921
- * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
8922
- * 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
8923
- * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
8924
+ * 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
8925
+ * 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
8926
+ * method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
8924
8927
  */
8925
8928
  response?:
8926
8929
  { [P in string]: any };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20230808",
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: 20230808
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
  },
@@ -5460,6 +5455,7 @@ gapi.load('client', async () => {
5460
5455
  A: 42
5461
5456
  },
5462
5457
  },
5458
+ scheduleName: "Test string",
5463
5459
  serviceAccount: "Test string",
5464
5460
  startTime: "Test string",
5465
5461
  state: "Test string",
@@ -5840,6 +5836,7 @@ gapi.load('client', async () => {
5840
5836
  A: 42
5841
5837
  },
5842
5838
  },
5839
+ scheduleName: "Test string",
5843
5840
  serviceAccount: "Test string",
5844
5841
  startTime: "Test string",
5845
5842
  state: "Test string",
@@ -6102,6 +6099,7 @@ gapi.load('client', async () => {
6102
6099
  A: 42
6103
6100
  },
6104
6101
  },
6102
+ scheduleName: "Test string",
6105
6103
  serviceAccount: "Test string",
6106
6104
  startTime: "Test string",
6107
6105
  state: "Test string",