@maxim_mazurok/gapi.client.batch-v1 0.0.20231018 → 0.0.20231103
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 +19 -2
- package/package.json +1 -1
- package/tests.ts +3 -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://batch.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231103
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -224,6 +224,17 @@ declare namespace gapi.client {
|
|
|
224
224
|
/** AgentTaskRunnable is runanbles that will be executed on the agent. */
|
|
225
225
|
runnables?:
|
|
226
226
|
AgentTaskRunnable[];
|
|
227
|
+
/** User account on the VM to run the runnables in the agentTaskSpec. If not set, the runnable will be run under root user. */
|
|
228
|
+
userAccount?:
|
|
229
|
+
AgentTaskUserAccount;
|
|
230
|
+
}
|
|
231
|
+
interface AgentTaskUserAccount {
|
|
232
|
+
/** gid id an unique identifier of the POSIX account group corresponding to the user account. */
|
|
233
|
+
gid?:
|
|
234
|
+
string;
|
|
235
|
+
/** uid is an unique identifier of the POSIX account corresponding to the user account. */
|
|
236
|
+
uid?:
|
|
237
|
+
string;
|
|
227
238
|
}
|
|
228
239
|
interface AgentTimingInfo {
|
|
229
240
|
/** Agent startup time */
|
|
@@ -249,7 +260,7 @@ declare namespace gapi.client {
|
|
|
249
260
|
/** Location where compute resources should be allocated for the Job. */
|
|
250
261
|
location?:
|
|
251
262
|
LocationPolicy;
|
|
252
|
-
/** The network policy. */
|
|
263
|
+
/** The network policy. If you define an instance template in the InstancePolicyOrTemplate field, Batch will use the network settings in the instance template instead of this field. */
|
|
253
264
|
network?:
|
|
254
265
|
NetworkPolicy;
|
|
255
266
|
/** The placement policy. */
|
|
@@ -280,6 +291,9 @@ declare namespace gapi.client {
|
|
|
280
291
|
// tslint:disable-next-line:no-empty-interface
|
|
281
292
|
interface CancelOperationRequest {
|
|
282
293
|
}
|
|
294
|
+
// tslint:disable-next-line:no-empty-interface
|
|
295
|
+
interface CloudLoggingOption {
|
|
296
|
+
}
|
|
283
297
|
interface ComputeResource {
|
|
284
298
|
/** Extra boot disk size in MiB for each task. */
|
|
285
299
|
bootDiskMib?:
|
|
@@ -602,6 +616,9 @@ declare namespace gapi.client {
|
|
|
602
616
|
string[];
|
|
603
617
|
}
|
|
604
618
|
interface LogsPolicy {
|
|
619
|
+
/** Optional. Additional settings for Cloud Logging. It will only take effect when the destination of LogsPolicy is set to CLOUD_LOGGING. */
|
|
620
|
+
cloudLoggingOption?:
|
|
621
|
+
any;
|
|
605
622
|
/** Where logs should be saved. */
|
|
606
623
|
destination?:
|
|
607
624
|
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: 20231103
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -120,6 +120,8 @@ gapi.load('client', async () => {
|
|
|
120
120
|
A: "Test string"
|
|
121
121
|
},
|
|
122
122
|
logsPolicy: {
|
|
123
|
+
cloudLoggingOption: {
|
|
124
|
+
},
|
|
123
125
|
destination: "Test string",
|
|
124
126
|
logsPath: "Test string",
|
|
125
127
|
},
|