- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2/Interval.md.txt#SCHEMA_REPRESENTATION)

A floating point interval.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "minimum": number, "exclusiveMinimum": number // End of mutually exclusive fields. // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "maximum": number, "exclusiveMaximum": number // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The lower bound of the interval. If neither of the min fields are set, then the lower bound is negative infinity. This field must not be larger than max. Otherwise, an INVALID_ARGUMENT error is returned. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `minimum` | `number` Inclusive lower bound. |
| `exclusiveMinimum` | `number` Exclusive lower bound. |
| End of mutually exclusive fields. ||
| The upper bound of the interval. If neither of the max fields are set, then the upper bound is positive infinity. This field must be not smaller than min. Otherwise, an INVALID_ARGUMENT error is returned. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `maximum` | `number` Inclusive upper bound. |
| `exclusiveMaximum` | `number` Exclusive upper bound. |
| End of mutually exclusive fields. ||