@maxim_mazurok/gapi.client.tpu-v2 0.0.20230621 → 0.0.20230707
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.
- package/index.d.ts +9 -3
- package/package.json +1 -1
- package/tests.ts +5 -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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230707
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -37,7 +37,7 @@ declare namespace gapi.client {
|
|
|
37
37
|
/** The resource name. */
|
|
38
38
|
name?:
|
|
39
39
|
string;
|
|
40
|
-
/**
|
|
40
|
+
/** The accelerator type. */
|
|
41
41
|
type?:
|
|
42
42
|
string;
|
|
43
43
|
}
|
|
@@ -197,7 +197,7 @@ declare namespace gapi.client {
|
|
|
197
197
|
/** The AccleratorConfig for the TPU Node. */
|
|
198
198
|
acceleratorConfig?:
|
|
199
199
|
AcceleratorConfig;
|
|
200
|
-
/**
|
|
200
|
+
/** Optional. The type of hardware accelerators associated with this node. */
|
|
201
201
|
acceleratorType?:
|
|
202
202
|
string;
|
|
203
203
|
/** Output only. The API version that created this Node. */
|
|
@@ -234,6 +234,9 @@ declare namespace gapi.client {
|
|
|
234
234
|
/** Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script */
|
|
235
235
|
metadata?:
|
|
236
236
|
{ [P in string]: string };
|
|
237
|
+
/** Output only. Whether the Node belongs to a Multislice group. */
|
|
238
|
+
multisliceNode?:
|
|
239
|
+
boolean;
|
|
237
240
|
/** Output only. Immutable. The name of the TPU. */
|
|
238
241
|
name?:
|
|
239
242
|
string;
|
|
@@ -243,6 +246,9 @@ declare namespace gapi.client {
|
|
|
243
246
|
/** Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first. */
|
|
244
247
|
networkEndpoints?:
|
|
245
248
|
NetworkEndpoint[];
|
|
249
|
+
/** Output only. The qualified name of the QueuedResource that requested this Node. */
|
|
250
|
+
queuedResource?:
|
|
251
|
+
string;
|
|
246
252
|
/** Required. The runtime version running in the Node. */
|
|
247
253
|
runtimeVersion?:
|
|
248
254
|
string;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230707
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -86,6 +86,7 @@ gapi.load('client', async () => {
|
|
|
86
86
|
metadata: {
|
|
87
87
|
A: "Test string"
|
|
88
88
|
},
|
|
89
|
+
multisliceNode: true,
|
|
89
90
|
name: "Test string",
|
|
90
91
|
networkConfig: {
|
|
91
92
|
canIpForward: true,
|
|
@@ -102,6 +103,7 @@ gapi.load('client', async () => {
|
|
|
102
103
|
port: 42,
|
|
103
104
|
}
|
|
104
105
|
],
|
|
106
|
+
queuedResource: "Test string",
|
|
105
107
|
runtimeVersion: "Test string",
|
|
106
108
|
schedulingConfig: {
|
|
107
109
|
preemptible: true,
|
|
@@ -181,6 +183,7 @@ gapi.load('client', async () => {
|
|
|
181
183
|
metadata: {
|
|
182
184
|
A: "Test string"
|
|
183
185
|
},
|
|
186
|
+
multisliceNode: true,
|
|
184
187
|
name: "Test string",
|
|
185
188
|
networkConfig: {
|
|
186
189
|
canIpForward: true,
|
|
@@ -197,6 +200,7 @@ gapi.load('client', async () => {
|
|
|
197
200
|
port: 42,
|
|
198
201
|
}
|
|
199
202
|
],
|
|
203
|
+
queuedResource: "Test string",
|
|
200
204
|
runtimeVersion: "Test string",
|
|
201
205
|
schedulingConfig: {
|
|
202
206
|
preemptible: true,
|