@maxim_mazurok/gapi.client.batch-v1 0.0.20240517 → 0.0.20240607
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 +6 -4
- package/package.json +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: 20240607
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -237,7 +237,7 @@ declare namespace gapi.client {
|
|
|
237
237
|
sizeGb?: string;
|
|
238
238
|
/** Name of a snapshot used as the data source. Snapshot is not supported as boot disk now. */
|
|
239
239
|
snapshot?: string;
|
|
240
|
-
/** 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 "pd-standard". */
|
|
240
|
+
/** 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 "pd-standard". If not specified, "pd-standard" will be used as the default type for non-boot disks, "pd-balanced" will be used as the default type for boot disks. */
|
|
241
241
|
type?: string;
|
|
242
242
|
}
|
|
243
243
|
interface Empty {}
|
|
@@ -272,6 +272,8 @@ declare namespace gapi.client {
|
|
|
272
272
|
interface InstancePolicyOrTemplate {
|
|
273
273
|
/** Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. */
|
|
274
274
|
installGpuDrivers?: boolean;
|
|
275
|
+
/** Optional. Set this field true if you want Batch to install Ops Agent on your behalf. Default is false. */
|
|
276
|
+
installOpsAgent?: boolean;
|
|
275
277
|
/** Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict. */
|
|
276
278
|
instanceTemplate?: string;
|
|
277
279
|
/** InstancePolicy. */
|
|
@@ -314,7 +316,7 @@ declare namespace gapi.client {
|
|
|
314
316
|
interface JobNotification {
|
|
315
317
|
/** The attribute requirements of messages to be sent to this Pub/Sub topic. Without this field, no message will be sent. */
|
|
316
318
|
message?: Message;
|
|
317
|
-
/** The Pub/Sub topic where notifications
|
|
319
|
+
/** The Pub/Sub topic where notifications for the job, like state changes, will be published. If undefined, no Pub/Sub notifications are sent for this job. Specify the topic using the following format: `projects/{project}/topics/{topic}`. Notably, if you want to specify a Pub/Sub topic that is in a different project than the job, your administrator must grant your project's Batch service agent permission to publish to that topic. For more information about configuring Pub/Sub notifications for a job, see https://cloud.google.com/batch/docs/enable-notifications. */
|
|
318
320
|
pubsubTopic?: string;
|
|
319
321
|
}
|
|
320
322
|
interface JobStatus {
|
|
@@ -590,7 +592,7 @@ declare namespace gapi.client {
|
|
|
590
592
|
deviceName?: string;
|
|
591
593
|
/** A Google Cloud Storage (GCS) volume. */
|
|
592
594
|
gcs?: GCS;
|
|
593
|
-
/** For
|
|
595
|
+
/** Mount options vary based on the type of storage volume: * For a Cloud Storage bucket, all the mount options provided by the [`gcsfuse` tool](https://cloud.google.com/storage/docs/gcsfuse-cli) are supported. * For an existing persistent disk, all mount options provided by the [`mount` command](https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of [multi-writer mode](https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). * For any other disk or a Network File System (NFS), all the mount options provided by the `mount` command are supported. */
|
|
594
596
|
mountOptions?: string[];
|
|
595
597
|
/** The mount path for the volume, e.g. /mnt/disks/share. */
|
|
596
598
|
mountPath?: string;
|