# Google Cloud Bare Metal Solution V2 Client - Class QosPolicy (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 QosPolicy.

QOS policy parameters.

Generated from protobuf message `google.cloud.baremetalsolution.v2.VRF.QosPolicy`

## Namespace

Google \\ Cloud \\ BareMetalSolution \\ V2 \\ VRF

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ bandwidth_gbps` | `float` The bandwidth permitted by the QOS policy, in gbps. |

### getBandwidthGbps

The bandwidth permitted by the QOS policy, in gbps.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setBandwidthGbps

The bandwidth permitted by the QOS policy, in gbps.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |