Class Volume (0.4.1)

Volume(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Volume and mount parameters to be associated with a TaskSpec. A TaskSpec might describe zero, one, or multiple volumes to be mounted as part of the task.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
nfs google.cloud.batch_v1.types.NFS
An NFS source for the volume (could be a Filestore, for example). This field is a member of oneof_ source.
gcs google.cloud.batch_v1.types.GCS
A Google Cloud Storage source for the volume. This field is a member of oneof_ source.
device_name str
Device name of an attached disk This field is a member of oneof_ source.
mount_path str
Mount path for the volume, e.g. /mnt/share
mount_options Sequence[str]
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab