@maxim_mazurok/gapi.client.batch-v1 0.0.20230804 → 0.0.20230826
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 +10 -5
- package/package.json +1 -1
- package/tests.ts +1 -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: 20230826
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -337,7 +337,10 @@ declare namespace gapi.client {
|
|
|
337
337
|
string[];
|
|
338
338
|
}
|
|
339
339
|
interface Disk {
|
|
340
|
-
/**
|
|
340
|
+
/**
|
|
341
|
+
* 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
|
|
342
|
+
* the interface is chosen automatically. See https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
|
|
343
|
+
*/
|
|
341
344
|
diskInterface?:
|
|
342
345
|
string;
|
|
343
346
|
/**
|
|
@@ -349,9 +352,11 @@ declare namespace gapi.client {
|
|
|
349
352
|
image?:
|
|
350
353
|
string;
|
|
351
354
|
/**
|
|
352
|
-
* Disk size in GB.
|
|
353
|
-
*
|
|
354
|
-
* If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch
|
|
355
|
+
* Disk size in GB. **Non-Boot Disk**: If the `type` specifies a persistent disk, this field is ignored if `data_source` is set as `image` or `snapshot`. If the `type` specifies a
|
|
356
|
+
* local SSD, this field should be a multiple of 375 GB, otherwise, the final size will be the next greater multiple of 375 GB. **Boot Disk**: Batch will calculate the boot disk size
|
|
357
|
+
* based on source image and task requirements if you do not speicify the size. If both this field and the `boot_disk_mib` field in task spec's `compute_resource` are defined, Batch
|
|
358
|
+
* will only honor this field. Also, this field should be no smaller than the source disk's size when the `data_source` is set as `snapshot` or `image`. For example, if you set an
|
|
359
|
+
* image as the `data_source` field and the image's default disk size 30 GB, you can only use this field to make the disk larger or equal to 30 GB.
|
|
355
360
|
*/
|
|
356
361
|
sizeGb?:
|
|
357
362
|
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: 20230826
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|