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

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

setName

Unique name for the volume.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVolumeType

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

Returns
TypeDescription
string

setVolumeType

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSizeGb

Volume size in gigabytes.

Returns
TypeDescription
float

setSizeGb

Volume size in gigabytes.

Parameter
NameDescription
var float
Returns
TypeDescription
$this