DimensionRange
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
工作表中沿单个维度的数据范围。所有索引均从零开始。索引是半开区间:起始索引包含在范围内,结束索引不包含在范围内。缺少索引表示该边的范围无界。
JSON 表示法 |
{
"sheetId": integer,
"dimension": enum (Dimension ),
"startIndex": integer,
"endIndex": integer
} |
字段 |
sheetId |
integer
此 span 所在的工作表。
|
dimension |
enum (Dimension )
跨度的尺寸。
|
startIndex |
integer
时段的开始时间(包括该时间),如果无界时段,则不设置。
|
endIndex |
integer
时段的结束时间(不含),如果无界,则不设置。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-21。
[null,null,["最后更新时间 (UTC):2025-03-21。"],[],[],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. |"]]