@maxim_mazurok/gapi.client.tpu-v2 0.0.20250121 → 0.0.20250127

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 +10 -10
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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=v2
12
- // Revision: 20250121
12
+ // Revision: 20250127
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud TPU API v2 */
18
18
  function load(
19
- urlOrObject: 'https://tpu.googleapis.com/$discovery/rest?version=v2'
19
+ urlOrObject: 'https://tpu.googleapis.com/$discovery/rest?version=v2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'tpu', version: 'v2'): Promise<void>;
@@ -506,7 +506,7 @@ declare namespace gapi.client {
506
506
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
507
507
  uploadType?: string;
508
508
  },
509
- body: Node
509
+ body: Node,
510
510
  ): Request<Operation>;
511
511
  /** Deletes a node. */
512
512
  delete(request?: {
@@ -618,7 +618,7 @@ declare namespace gapi.client {
618
618
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
619
619
  uploadType?: string;
620
620
  },
621
- body: GetGuestAttributesRequest
621
+ body: GetGuestAttributesRequest,
622
622
  ): Request<GetGuestAttributesResponse>;
623
623
  /** Lists nodes. */
624
624
  list(request?: {
@@ -711,7 +711,7 @@ declare namespace gapi.client {
711
711
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
712
712
  uploadType?: string;
713
713
  },
714
- body: Node
714
+ body: Node,
715
715
  ): Request<Operation>;
716
716
  /** Starts a node. */
717
717
  start(request: {
@@ -769,7 +769,7 @@ declare namespace gapi.client {
769
769
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
770
770
  uploadType?: string;
771
771
  },
772
- body: StartNodeRequest
772
+ body: StartNodeRequest,
773
773
  ): Request<Operation>;
774
774
  /** Stops a node. This operation is only available with single TPU nodes. */
775
775
  stop(request: {
@@ -827,7 +827,7 @@ declare namespace gapi.client {
827
827
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
828
828
  uploadType?: string;
829
829
  },
830
- body: StopNodeRequest
830
+ body: StopNodeRequest,
831
831
  ): Request<Operation>;
832
832
  }
833
833
  interface OperationsResource {
@@ -1011,7 +1011,7 @@ declare namespace gapi.client {
1011
1011
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1012
1012
  uploadType?: string;
1013
1013
  },
1014
- body: QueuedResource
1014
+ body: QueuedResource,
1015
1015
  ): Request<Operation>;
1016
1016
  /** Deletes a QueuedResource TPU instance. */
1017
1017
  delete(request?: {
@@ -1158,7 +1158,7 @@ declare namespace gapi.client {
1158
1158
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1159
1159
  uploadType?: string;
1160
1160
  },
1161
- body: ResetQueuedResourceRequest
1161
+ body: ResetQueuedResourceRequest,
1162
1162
  ): Request<Operation>;
1163
1163
  }
1164
1164
  interface RuntimeVersionsResource {
@@ -1282,7 +1282,7 @@ declare namespace gapi.client {
1282
1282
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1283
1283
  uploadType?: string;
1284
1284
  },
1285
- body: GenerateServiceIdentityRequest
1285
+ body: GenerateServiceIdentityRequest,
1286
1286
  ): Request<GenerateServiceIdentityResponse>;
1287
1287
  /** Gets information about a location. */
1288
1288
  get(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.tpu-v2",
3
- "version": "0.0.20250121",
3
+ "version": "0.0.20250127",
4
4
  "description": "TypeScript typings for Cloud TPU API v2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.tpu
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68