Cloud Life Sciences V2beta API - Class Google::Cloud::LifeSciences::V2beta::Volume (v0.10.0)

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.

Specify either Volume or Disk, but not both.

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.

    Note: The following fields are mutually exclusive: existing_disk, persistent_disk, nfs_mount. If a field in that set is populated, all other fields in the set will automatically be cleared.

#existing_disk=

def existing_disk=(value) -> ::Google::Cloud::LifeSciences::V2beta::ExistingDisk
Parameter
  • value (::Google::Cloud::LifeSciences::V2beta::ExistingDisk) — Configuration for a existing disk.

    Note: The following fields are mutually exclusive: existing_disk, persistent_disk, nfs_mount. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::LifeSciences::V2beta::ExistingDisk) — Configuration for a existing disk.

    Note: The following fields are mutually exclusive: existing_disk, persistent_disk, nfs_mount. If a field in that set is populated, all other fields in the set will automatically be cleared.

#nfs_mount

def nfs_mount() -> ::Google::Cloud::LifeSciences::V2beta::NFSMount
Returns
  • (::Google::Cloud::LifeSciences::V2beta::NFSMount) — Configuration for an NFS mount.

    Note: The following fields are mutually exclusive: nfs_mount, persistent_disk, existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.

#nfs_mount=

def nfs_mount=(value) -> ::Google::Cloud::LifeSciences::V2beta::NFSMount
Parameter
  • value (::Google::Cloud::LifeSciences::V2beta::NFSMount) — Configuration for an NFS mount.

    Note: The following fields are mutually exclusive: nfs_mount, persistent_disk, existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::LifeSciences::V2beta::NFSMount) — Configuration for an NFS mount.

    Note: The following fields are mutually exclusive: nfs_mount, persistent_disk, existing_disk. If a field in that set is populated, all other fields in the set will automatically be cleared.

#persistent_disk

def persistent_disk() -> ::Google::Cloud::LifeSciences::V2beta::PersistentDisk
Returns
  • (::Google::Cloud::LifeSciences::V2beta::PersistentDisk) — Configuration for a persistent disk.

    Note: The following fields are mutually exclusive: persistent_disk, existing_disk, nfs_mount. If a field in that set is populated, all other fields in the set will automatically be cleared.

#persistent_disk=

def persistent_disk=(value) -> ::Google::Cloud::LifeSciences::V2beta::PersistentDisk
Parameter
  • value (::Google::Cloud::LifeSciences::V2beta::PersistentDisk) — Configuration for a persistent disk.

    Note: The following fields are mutually exclusive: persistent_disk, existing_disk, nfs_mount. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::LifeSciences::V2beta::PersistentDisk) — Configuration for a persistent disk.

    Note: The following fields are mutually exclusive: persistent_disk, existing_disk, nfs_mount. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.