Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ResizeVolumeRequest.
Request for emergency resize Volume.
Generated from protobuf message google.cloud.baremetalsolution.v2.ResizeVolumeRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ volume |
string
Required. Volume to resize. |
↳ size_gib |
int|string
New Volume size, in GiB. |
getVolume
Required. Volume to resize.
Returns | |
---|---|
Type | Description |
string |
setVolume
Required. Volume to resize.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSizeGib
New Volume size, in GiB.
Returns | |
---|---|
Type | Description |
int|string |
setSizeGib
New Volume size, in GiB.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |