# Google Cloud Migration Center V1 Client - Class Bucket (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class Bucket.

A histogram bucket with a lower and upper bound, and a count of items
with a field value between those bounds.

The lower bound is inclusive and the upper bound is exclusive.
Lower bound may be -infinity and upper bound may be infinity.

Generated from protobuf message `google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData.Bucket`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ ReportSummary \\ HistogramChartData

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ lower_bound` | `int|string` Lower bound - inclusive. |
| `↳ upper_bound` | `int|string` Upper bound - exclusive. |
| `↳ count` | `int|string` Count of items in the bucket. |

### getLowerBound

Lower bound - inclusive.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setLowerBound

Lower bound - inclusive.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getUpperBound

Upper bound - exclusive.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setUpperBound

Upper bound - exclusive.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getCount

Count of items in the bucket.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setCount

Count of items in the bucket.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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