@maxim_mazurok/gapi.client.batch-v1 0.0.20230503 → 0.0.20230518
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 +5 -3
- package/package.json +1 -1
- package/tests.ts +2 -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: 20230518
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -277,7 +277,7 @@ declare namespace gapi.client {
|
|
|
277
277
|
/** The Compute Engine machine type. */
|
|
278
278
|
machineType?:
|
|
279
279
|
string;
|
|
280
|
-
/** The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
|
|
280
|
+
/** The minimum CPU platform. See https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. */
|
|
281
281
|
minCpuPlatform?:
|
|
282
282
|
string;
|
|
283
283
|
/** The provisioning model. */
|
|
@@ -728,6 +728,9 @@ declare namespace gapi.client {
|
|
|
728
728
|
/** When true, Batch will populate a file with a list of all VMs assigned to the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path of that file. Defaults to false. */
|
|
729
729
|
requireHostsFile?:
|
|
730
730
|
boolean;
|
|
731
|
+
/** Scheduling policy for Tasks in the TaskGroup. The default value is AS_SOON_AS_POSSIBLE. */
|
|
732
|
+
schedulingPolicy?:
|
|
733
|
+
string;
|
|
731
734
|
/** Number of Tasks in the TaskGroup. Default is 1. */
|
|
732
735
|
taskCount?:
|
|
733
736
|
string;
|
|
@@ -738,7 +741,6 @@ declare namespace gapi.client {
|
|
|
738
741
|
* An array of environment variable mappings, which are passed to Tasks with matching indices. If task_environments is used then task_count should not be specified in the request (and
|
|
739
742
|
* will be ignored). Task count will be the length of task_environments. Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in addition to any environment
|
|
740
743
|
* variables set in task_environments, specifying the number of Tasks in the Task's parent TaskGroup, and the specific Task's index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
|
|
741
|
-
* task_environments supports up to 200 entries.
|
|
742
744
|
*/
|
|
743
745
|
taskEnvironments?:
|
|
744
746
|
Environment[];
|
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: 20230518
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -175,6 +175,7 @@ gapi.load('client', async () => {
|
|
|
175
175
|
parallelism: "Test string",
|
|
176
176
|
permissiveSsh: true,
|
|
177
177
|
requireHostsFile: true,
|
|
178
|
+
schedulingPolicy: "Test string",
|
|
178
179
|
taskCount: "Test string",
|
|
179
180
|
taskCountPerNode: "Test string",
|
|
180
181
|
taskEnvironments: [
|