@maxim_mazurok/gapi.client.tpu-v2alpha1 0.0.20230621 → 0.0.20230717

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 +11 -2
  2. package/package.json +1 -1
  3. package/tests.ts +4 -1
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://tpu.googleapis.com/$discovery/rest?version=v2alpha1
12
- // Revision: 20230621
12
+ // Revision: 20230717
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -389,7 +389,7 @@ declare namespace gapi.client {
389
389
  /** The BestEffort tier. */
390
390
  bestEffort?:
391
391
  any;
392
- /** The Guaranteed tier */
392
+ /** The Guaranteed tier. */
393
393
  guaranteed?:
394
394
  Guaranteed;
395
395
  /** Output only. Immutable. The name of the QueuedResource. */
@@ -401,6 +401,9 @@ declare namespace gapi.client {
401
401
  /** Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation} */
402
402
  reservationName?:
403
403
  string;
404
+ /** Optional. The Spot tier. */
405
+ spot?:
406
+ any;
404
407
  /** Output only. State of the QueuedResource request. */
405
408
  state?:
406
409
  QueuedResourceState;
@@ -430,6 +433,9 @@ declare namespace gapi.client {
430
433
  /** State of the QueuedResource request. */
431
434
  state?:
432
435
  string;
436
+ /** Output only. The initiator of the QueuedResources's current state. */
437
+ stateInitiator?:
438
+ string;
433
439
  /** Further data for the suspended state. */
434
440
  suspendedData?:
435
441
  any;
@@ -497,6 +503,9 @@ declare namespace gapi.client {
497
503
  string[];
498
504
  }
499
505
  // tslint:disable-next-line:no-empty-interface
506
+ interface Spot {
507
+ }
508
+ // tslint:disable-next-line:no-empty-interface
500
509
  interface StartNodeRequest {
501
510
  }
502
511
  interface Status {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.tpu-v2alpha1",
3
- "version": "0.0.20230621",
3
+ "version": "0.0.20230717",
4
4
  "description": "TypeScript typings for Cloud TPU API v2alpha1",
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: 20230621
6
+ // Revision: 20230717
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -299,6 +299,8 @@ gapi.load('client', async () => {
299
299
  validUntilTime: "Test string",
300
300
  },
301
301
  reservationName: "Test string",
302
+ spot: {
303
+ },
302
304
  state: {
303
305
  acceptedData: {
304
306
  },
@@ -322,6 +324,7 @@ gapi.load('client', async () => {
322
324
  provisioningData: {
323
325
  },
324
326
  state: "Test string",
327
+ stateInitiator: "Test string",
325
328
  suspendedData: {
326
329
  },
327
330
  suspendingData: {