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.
public RepeatedField<string> MountOptions { get; }
Mount options vary based on the type of storage volume:
For a Cloud Storage bucket, all the mount options provided
by
the gcsfuse tool
are supported.
For an existing persistent disk, all mount options provided by the
mount command
except writing are supported. This is due to restrictions of
multi-writer
mode.
For any other disk or a Network File System (NFS), all the
mount options provided by the mount command are supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eVolume\u003c/code\u003e class in the Batch v1 API is 2.13.0, with previous versions available back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVolume\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace, describes a volume and its mounting parameters to a virtual machine (VM).\u003c/p\u003e\n"],["\u003cp\u003eThis class supports different volume types, including Google Cloud Storage (GCS) and Network File System (NFS), each with their own specific mounting options.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eVolume\u003c/code\u003e class include \u003ccode\u003eDeviceName\u003c/code\u003e, \u003ccode\u003eMountPath\u003c/code\u003e, \u003ccode\u003eGcs\u003c/code\u003e, \u003ccode\u003eNfs\u003c/code\u003e, \u003ccode\u003eMountOptions\u003c/code\u003e, and \u003ccode\u003eSourceCase\u003c/code\u003e, enabling detailed volume configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVolume\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"]]],[],null,[]]