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
Namespace
Google \ Cloud \ LifeSciences \ V2betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ volume |
string
A user-supplied name for the volume. Used when mounting the volume into |
↳ persistent_disk |
PersistentDisk
Configuration for a persistent disk. |
↳ existing_disk |
ExistingDisk
Configuration for a existing disk. |
↳ nfs_mount |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPersistentDisk
Configuration for a persistent disk.
Returns | |
---|---|
Type | Description |
PersistentDisk|null |
hasPersistentDisk
setPersistentDisk
Configuration for a persistent disk.
Parameter | |
---|---|
Name | Description |
var |
PersistentDisk
|
Returns | |
---|---|
Type | Description |
$this |
getExistingDisk
Configuration for a existing disk.
Returns | |
---|---|
Type | Description |
ExistingDisk|null |
hasExistingDisk
setExistingDisk
Configuration for a existing disk.
Parameter | |
---|---|
Name | Description |
var |
ExistingDisk
|
Returns | |
---|---|
Type | Description |
$this |
getNfsMount
Configuration for an NFS mount.
Returns | |
---|---|
Type | Description |
NFSMount|null |
hasNfsMount
setNfsMount
Configuration for an NFS mount.
Parameter | |
---|---|
Name | Description |
var |
NFSMount
|
Returns | |
---|---|
Type | Description |
$this |
getStorage
Returns | |
---|---|
Type | Description |
string |