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 \ VolumeConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int |
setQuantity
Number of LUNs to create.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSizeGb
The requested size of each LUN, in GB.
Returns | |
---|---|
Type | Description |
int |
setSizeGb
The requested size of each LUN, in GB.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |