Reference documentation and code samples for the Cloud Life Sciences V2beta API class Google::Cloud::LifeSciences::V2beta::Volume.
Carries information about storage that can be attached to a VM.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#existing_disk
def existing_disk() -> ::Google::Cloud::LifeSciences::V2beta::ExistingDisk
Returns
- (::Google::Cloud::LifeSciences::V2beta::ExistingDisk) — Configuration for a existing disk.
#existing_disk=
def existing_disk=(value) -> ::Google::Cloud::LifeSciences::V2beta::ExistingDisk
Parameter
- value (::Google::Cloud::LifeSciences::V2beta::ExistingDisk) — Configuration for a existing disk.
Returns
- (::Google::Cloud::LifeSciences::V2beta::ExistingDisk) — Configuration for a existing disk.
#nfs_mount
def nfs_mount() -> ::Google::Cloud::LifeSciences::V2beta::NFSMount
Returns
- (::Google::Cloud::LifeSciences::V2beta::NFSMount) — Configuration for an NFS mount.
#nfs_mount=
def nfs_mount=(value) -> ::Google::Cloud::LifeSciences::V2beta::NFSMount
Parameter
- value (::Google::Cloud::LifeSciences::V2beta::NFSMount) — Configuration for an NFS mount.
Returns
- (::Google::Cloud::LifeSciences::V2beta::NFSMount) — Configuration for an NFS mount.
#persistent_disk
def persistent_disk() -> ::Google::Cloud::LifeSciences::V2beta::PersistentDisk
Returns
- (::Google::Cloud::LifeSciences::V2beta::PersistentDisk) — Configuration for a persistent disk.
#persistent_disk=
def persistent_disk=(value) -> ::Google::Cloud::LifeSciences::V2beta::PersistentDisk
Parameter
- value (::Google::Cloud::LifeSciences::V2beta::PersistentDisk) — Configuration for a persistent disk.
Returns
- (::Google::Cloud::LifeSciences::V2beta::PersistentDisk) — Configuration for a persistent disk.
#volume
def volume() -> ::String
Returns
-
(::String) — A user-supplied name for the volume. Used when mounting the volume into
Actions
. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.
#volume=
def volume=(value) -> ::String
Parameter
-
value (::String) — A user-supplied name for the volume. Used when mounting the volume into
Actions
. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.
Returns
-
(::String) — A user-supplied name for the volume. Used when mounting the volume into
Actions
. The name must contain only upper and lowercase alphanumeric characters and hyphens and cannot start with a hyphen.