# Google Cloud Retail V2 Client - Class Interval (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class Interval.

A floating point interval.

Generated from protobuf message `google.cloud.retail.v2.Interval`

## Namespace

Google \\ Cloud \\ Retail \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ minimum` | `float` Inclusive lower bound. |
| `↳ exclusive_minimum` | `float` Exclusive lower bound. |
| `↳ maximum` | `float` Inclusive upper bound. |
| `↳ exclusive_maximum` | `float` Exclusive upper bound. |

### getMinimum

Inclusive lower bound.

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

### hasMinimum

### setMinimum

Inclusive lower bound.

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

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

### getExclusiveMinimum

Exclusive lower bound.

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

### hasExclusiveMinimum

### setExclusiveMinimum

Exclusive lower bound.

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

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

### getMaximum

Inclusive upper bound.

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

### hasMaximum

### setMaximum

Inclusive upper bound.

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

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

### getExclusiveMaximum

Exclusive upper bound.

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

### hasExclusiveMaximum

### setExclusiveMaximum

Exclusive upper bound.

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

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

### getMin

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

### getMax

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