@maxim_mazurok/gapi.client.batch-v1 0.0.20230807 → 0.0.20230914
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 +15 -4
- 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: 20230914
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -332,19 +332,27 @@ 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
|
}
|
|
339
344
|
interface Disk {
|
|
340
|
-
/**
|
|
345
|
+
/**
|
|
346
|
+
* Local SSDs are available through both "SCSI" and "NVMe" interfaces. If not indicated, "NVMe" will be the default one for local ssds. This field is ignored for persistent disks as
|
|
347
|
+
* the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
|
|
348
|
+
*/
|
|
341
349
|
diskInterface?:
|
|
342
350
|
string;
|
|
343
351
|
/**
|
|
344
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:
|
|
345
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
|
|
346
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
|
|
347
|
-
* 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.
|
|
348
356
|
*/
|
|
349
357
|
image?:
|
|
350
358
|
string;
|
|
@@ -408,6 +416,9 @@ declare namespace gapi.client {
|
|
|
408
416
|
/** The provisioning model. */
|
|
409
417
|
provisioningModel?:
|
|
410
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;
|
|
411
422
|
}
|
|
412
423
|
interface InstancePolicyOrTemplate {
|
|
413
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: 20230914
|
|
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
|
],
|