Google Cloud Life Sciences V2beta Client - Class Mount (0.5.4)

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 \ V2beta

Methods

__construct

Constructor.

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

setDisk

The name of the disk to mount, as specified in the resources section.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPath

The path to mount the disk inside the container.

Returns
TypeDescription
string

setPath

The path to mount the disk inside the container.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReadOnly

If true, the disk is mounted read-only inside the container.

Returns
TypeDescription
bool

setReadOnly

If true, the disk is mounted read-only inside the container.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this