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

1.1.3 (latest) 1.1.2 1.0.5 0.6.5 0.5.2 0.4.0 0.3.2 0.2.8 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** ||
|---|---|
| **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` |   |