Google Cloud Bare Metal Solution V2 Client - Class ResizeVolumeRequest (0.2.8)

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

setVolume

Required. Volume to resize.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSizeGib

New Volume size, in GiB.

Returns
TypeDescription
int|string

setSizeGib

New Volume size, in GiB.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this