# DimensionRange

- [JSON representation](https://developers.google.com/workspace/sheets/api/reference/rest/v4/DimensionRange#SCHEMA_REPRESENTATION)

A range along a single dimension on a sheet. All indexes are zero-based. Indexes are half open: the start index is inclusive and the end index is exclusive. Missing indexes indicate the range is unbounded on that side.

| JSON representation |
|---|
| ``` { "sheetId": integer, "dimension": enum (`https://developers.google.com/workspace/sheets/api/reference/rest/v4/Dimension`), "startIndex": integer, "endIndex": integer } ``` |

| Fields ||
|---|---|
| `sheetId` | `integer` The sheet this span is on. |
| `dimension` | ``enum (`https://developers.google.com/workspace/sheets/api/reference/rest/v4/Dimension`)`` The dimension of the span. |
| `startIndex` | `integer` The start (inclusive) of the span, or not set if unbounded. |
| `endIndex` | `integer` The end (exclusive) of the span, or not set if unbounded. |