Google Cloud Life Sciences V2beta Client - Class Volume (0.4.0)

Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class Volume.

Carries information about storage that can be attached to a VM.

Specify either Volume or Disk, but not both.

Generated from protobuf message google.cloud.lifesciences.v2beta.Volume

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ volume 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.

↳ persistent_disk Google\Cloud\LifeSciences\V2beta\PersistentDisk

Configuration for a persistent disk.

↳ existing_disk Google\Cloud\LifeSciences\V2beta\ExistingDisk

Configuration for a existing disk.

↳ nfs_mount Google\Cloud\LifeSciences\V2beta\NFSMount

Configuration for an NFS mount.

getVolume

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
TypeDescription
string

setVolume

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPersistentDisk

Configuration for a persistent disk.

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\PersistentDisk|null

hasPersistentDisk

setPersistentDisk

Configuration for a persistent disk.

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\PersistentDisk
Returns
TypeDescription
$this

getExistingDisk

Configuration for a existing disk.

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\ExistingDisk|null

hasExistingDisk

setExistingDisk

Configuration for a existing disk.

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\ExistingDisk
Returns
TypeDescription
$this

getNfsMount

Configuration for an NFS mount.

Returns
TypeDescription
Google\Cloud\LifeSciences\V2beta\NFSMount|null

hasNfsMount

setNfsMount

Configuration for an NFS mount.

Parameter
NameDescription
var Google\Cloud\LifeSciences\V2beta\NFSMount
Returns
TypeDescription
$this

getStorage

Returns
TypeDescription
string