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

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

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

static::build

Parameters
Name Description
volume string

Required. Volume to resize. Please see BareMetalSolutionClient::volumeName() for help formatting this field.

sizeGib int

New Volume size, in GiB.

Returns
Type Description
ResizeVolumeRequest