@maxim_mazurok/gapi.client.batch-v1 0.0.20230226 → 0.0.20230301
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 +3 -3
- 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: 20230301
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -177,7 +177,7 @@ declare namespace gapi.client {
|
|
|
177
177
|
* If both this field and the boot_disk_mib field in task spec's compute_resource are defined, Batch will only honor this field.
|
|
178
178
|
*/
|
|
179
179
|
sizeGb?: string;
|
|
180
|
-
/** Name of a snapshot used as the data source. */
|
|
180
|
+
/** Name of a snapshot used as the data source. Snapshot is not supported as boot disk now. */
|
|
181
181
|
snapshot?: string;
|
|
182
182
|
/**
|
|
183
183
|
* Disk type as shown in `gcloud compute disk-types list`. For example, local SSD uses type "local-ssd". Persistent disks and boot disks use "pd-balanced", "pd-extreme", "pd-ssd" or
|
|
@@ -203,7 +203,7 @@ declare namespace gapi.client {
|
|
|
203
203
|
interface InstancePolicy {
|
|
204
204
|
/** The accelerators attached to each VM instance. */
|
|
205
205
|
accelerators?: Accelerator[];
|
|
206
|
-
/** Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. */
|
|
206
|
+
/** Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image. */
|
|
207
207
|
bootDisk?: Disk;
|
|
208
208
|
/** Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. */
|
|
209
209
|
disks?: AttachedDisk[];
|
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: 20230301
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|