Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class Mount.
Carries information about a particular disk mount inside a container.
Generated from protobuf message google.cloud.lifesciences.v2beta.Mount
Namespace
Google \ Cloud \ LifeSciences \ V2betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disk |
string
The name of the disk to mount, as specified in the resources section. |
↳ path |
string
The path to mount the disk inside the container. |
↳ read_only |
bool
If true, the disk is mounted read-only inside the container. |
getDisk
The name of the disk to mount, as specified in the resources section.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisk
The name of the disk to mount, as specified in the resources section.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPath
The path to mount the disk inside the container.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPath
The path to mount the disk inside the container.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReadOnly
If true, the disk is mounted read-only inside the container.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setReadOnly
If true, the disk is mounted read-only inside the container.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|