Reference documentation and code samples for the Compute V1 Client class DisksResizeRequest.
Generated from protobuf message google.cloud.compute.v1.DisksResizeRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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.
Returns | |
---|---|
Type | Description |
int|string |
hasSizeGb
clearSizeGb
setSizeGb
The new size of the persistent disk, which is specified in GB.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |