@maxim_mazurok/gapi.client.batch-v1 0.0.20230826 → 0.0.20230917
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 +11 -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: 20230917
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -332,7 +332,12 @@ declare namespace gapi.client {
|
|
|
332
332
|
/** Optional username for logging in to a docker registry. If username matches `projects/*/secrets/*/versions/*` then Batch will read the username from the Secret Manager. */
|
|
333
333
|
username?:
|
|
334
334
|
string;
|
|
335
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the
|
|
337
|
+
* `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case,
|
|
338
|
+
* the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options
|
|
339
|
+
* specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.
|
|
340
|
+
*/
|
|
336
341
|
volumes?:
|
|
337
342
|
string[];
|
|
338
343
|
}
|
|
@@ -347,7 +352,7 @@ declare namespace gapi.client {
|
|
|
347
352
|
* URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name:
|
|
348
353
|
* projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short
|
|
349
354
|
* names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch
|
|
350
|
-
* Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images.
|
|
355
|
+
* Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
|
|
351
356
|
*/
|
|
352
357
|
image?:
|
|
353
358
|
string;
|
|
@@ -411,6 +416,9 @@ declare namespace gapi.client {
|
|
|
411
416
|
/** The provisioning model. */
|
|
412
417
|
provisioningModel?:
|
|
413
418
|
string;
|
|
419
|
+
/** Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation. */
|
|
420
|
+
reservation?:
|
|
421
|
+
string;
|
|
414
422
|
}
|
|
415
423
|
interface InstancePolicyOrTemplate {
|
|
416
424
|
/**
|
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: 20230917
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -83,6 +83,7 @@ gapi.load('client', async () => {
|
|
|
83
83
|
machineType: "Test string",
|
|
84
84
|
minCpuPlatform: "Test string",
|
|
85
85
|
provisioningModel: "Test string",
|
|
86
|
+
reservation: "Test string",
|
|
86
87
|
},
|
|
87
88
|
}
|
|
88
89
|
],
|