Google Cloud Appengine Admin V1 Client - Class Volume (2.0.0)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class Volume.

Volumes mounted within the app container.

Only applicable in the App Engine flexible environment.

Generated from protobuf message google.appengine.v1.Volume

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Unique name for the volume.

↳ volume_type string

Underlying volume type, e.g. 'tmpfs'.

↳ size_gb float

Volume size in gigabytes.

getName

Unique name for the volume.

Returns
Type Description
string

setName

Unique name for the volume.

Parameter
Name Description
var string
Returns
Type Description
$this

getVolumeType

Underlying volume type, e.g. 'tmpfs'.

Returns
Type Description
string

setVolumeType

Underlying volume type, e.g. 'tmpfs'.

Parameter
Name Description
var string
Returns
Type Description
$this

getSizeGb

Volume size in gigabytes.

Returns
Type Description
float

setSizeGb

Volume size in gigabytes.

Parameter
Name Description
var float
Returns
Type Description
$this