public sealed class Volume : IMessage<Volume>, IEquatable<Volume>, IDeepCloneable<Volume>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class Volume.
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.
public RepeatedField<string> MountOptions { get; }
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `Volume` class in the Google.Cloud.Batch.V1 namespace represents volume and mount parameters associated with a TaskSpec in the Batch v1 API."],["This class supports various volume sources, including Google Cloud Storage (GCS) and Network File System (NFS), which can be specified through the `Gcs` and `Nfs` properties, respectively."],["The `Volume` class has properties such as `DeviceName`, `MountPath`, and `MountOptions` to configure how volumes are mounted, and supports both public construction as well as a copy constructor."],["The documentation provides version history, with the latest version being 2.13.0, and detailed API reference information for the `Volume` class within the .NET environment."],["The `SourceCase` property indicates the type of volume source, providing a way to programmatically determine whether the volume is sourced from GCS or NFS, while also inheriting from multiple interfaces."]]],[]]