Compute V1 Client - Class RegionDisksResizeRequest (1.12.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ size_gb int|string

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

getSizeGb

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

Returns
TypeDescription
int|string

hasSizeGb

clearSizeGb

setSizeGb

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this