Google Cloud Bare Metal Solution V2 Client - Class LunRange (0.5.2)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class LunRange.

A LUN(Logical Unit Number) range.

Generated from protobuf message google.cloud.baremetalsolution.v2.VolumeConfig.LunRange

Namespace

Google \ Cloud \ BareMetalSolution \ V2 \ VolumeConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ quantity int

Number of LUNs to create.

↳ size_gb int

The requested size of each LUN, in GB.

getQuantity

Number of LUNs to create.

Returns
TypeDescription
int

setQuantity

Number of LUNs to create.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSizeGb

The requested size of each LUN, in GB.

Returns
TypeDescription
int

setSizeGb

The requested size of each LUN, in GB.

Parameter
NameDescription
var int
Returns
TypeDescription
$this