Class: Google::Cloud::Batch::V1::Volume
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::Volume
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/volume.rb
Overview
Volume describes a volume and parameters for it to be mounted to a VM.
Instance Attribute Summary collapse
-
#device_name ⇒ ::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.
-
#gcs ⇒ ::Google::Cloud::Batch::V1::GCS
A Google Cloud Storage (GCS) volume.
-
#mount_options ⇒ ::Array<::String>
For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse).
-
#mount_path ⇒ ::String
The mount path for the volume, e.g.
-
#nfs ⇒ ::Google::Cloud::Batch::V1::NFS
A Network File System (NFS) volume.
Instance Attribute Details
#device_name ⇒ ::String
Returns 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.
53 54 55 56 |
# File 'proto_docs/google/cloud/batch/v1/volume.rb', line 53 class Volume include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gcs ⇒ ::Google::Cloud::Batch::V1::GCS
Returns A Google Cloud Storage (GCS) volume.
53 54 55 56 |
# File 'proto_docs/google/cloud/batch/v1/volume.rb', line 53 class Volume include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mount_options ⇒ ::Array<::String>
Returns For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
53 54 55 56 |
# File 'proto_docs/google/cloud/batch/v1/volume.rb', line 53 class Volume include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mount_path ⇒ ::String
Returns The mount path for the volume, e.g. /mnt/disks/share.
53 54 55 56 |
# File 'proto_docs/google/cloud/batch/v1/volume.rb', line 53 class Volume include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#nfs ⇒ ::Google::Cloud::Batch::V1::NFS
Returns A Network File System (NFS) volume. For example, a Filestore file share.
53 54 55 56 |
# File 'proto_docs/google/cloud/batch/v1/volume.rb', line 53 class Volume include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |