DimensionRange
Stay organized with collections
Save and categorize content based on your preferences.
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 (Dimension ),
"startIndex": integer,
"endIndex": integer
} |
Fields |
sheetId |
integer
The sheet this span is on.
|
dimension |
enum (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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
[null,null,["Last updated 2025-03-21 UTC."],[],[],null,["# DimensionRange\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA 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.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"sheetId\": integer, \"dimension\": enum (/workspace/sheets/api/reference/rest/v4/Dimension), \"startIndex\": integer, \"endIndex\": integer } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------|\n| `sheetId` | `integer` The sheet this span is on. |\n| `dimension` | `enum (`[Dimension](/workspace/sheets/api/reference/rest/v4/Dimension)`)` The dimension of the span. |\n| `startIndex` | `integer` The start (inclusive) of the span, or not set if unbounded. |\n| `endIndex` | `integer` The end (exclusive) of the span, or not set if unbounded. |"]]