Volume class

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

Constructors

Volume({String? deviceName, GCS? gcs, List<String>? mountOptions, String? mountPath, NFS? nfs})
Volume.fromJson(Map json_)

Properties

deviceName String?
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.
getter/setter pair
gcs GCS?
A Google Cloud Storage (GCS) volume.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mountOptions List<String>?
For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
getter/setter pair
mountPath String?
The mount path for the volume, e.g. /mnt/disks/share.
getter/setter pair
nfs NFS?
A Network File System (NFS) volume.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited