0.22.5 (latest) 0.22.4 0.21.0 0.20.0 0.19.0 0.18.0 0.17.37 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.2 0.2.0 0.1.2

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

Volume describes a volume and parameters for it to be mounted
to a VM.

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 ||
|---|---|
| **Name** | **Description** |
| `nfs` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.NFS` A Network File System (NFS) volume. For example, a Filestore file share. This field is a member of `oneof`_ `source`. |
| `pd` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.PD` Deprecated: please use device_name instead. This field is a member of `oneof`_ `source`. |
| `gcs` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.GCS` A Google Cloud Storage (GCS) volume. This field is a member of `oneof`_ `source`. |
| `device_name` | `str` Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances\[0\].policy.disks\[i\].device_name or defined by the given instance template in job.allocation_policy.instances\[0\].instance_template. This field is a member of `oneof`_ `source`. |
| `mount_path` | `str` The mount path for the volume, e.g. /mnt/disks/share. |
| `mount_options` | `MutableSequence[str]` Mount options vary based on the type of storage volume: - For a Cloud Storage bucket, all the mount options provided by the ``` gcsfuse`` tool ``` mount\`\` command |