Compute V1 Client - Class DisksResizeRequest (1.5.0)

Reference documentation and code samples for the Compute V1 Client class DisksResizeRequest.

Generated from protobuf message google.cloud.compute.v1.DisksResizeRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ size_gb int|string

The new size of the persistent disk, which is specified in GB.

getSizeGb

The new size of the persistent disk, which is specified in GB.

Generated from protobuf field optional int64 size_gb = 494929369;

Returns
TypeDescription
int|string

hasSizeGb

clearSizeGb

setSizeGb

The new size of the persistent disk, which is specified in GB.

Generated from protobuf field optional int64 size_gb = 494929369;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this