PageInfo
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
当前页面的相关信息。
支持分页的操作列表仅返回一个“页面”结果。此协议缓冲区消息描述了返回的页面。
JSON 表示法 |
{
"totalResults": integer,
"resultPerPage": integer,
"startIndex": integer
} |
字段 |
totalResults |
integer
后端上可用的结果总数!结果集中的结果总数。
|
resultPerPage |
integer
一页中返回的结果数上限。!API 响应中包含的结果数量。
|
startIndex |
integer
当前页面中返回的第一个结果的索引。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis documentation details the structure of a JSON response for paginated API results.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the total number of results, the number of results per page, and the starting index of the current page.\u003c/p\u003e\n"],["\u003cp\u003eThis information is used to navigate through large datasets by displaying results in manageable chunks.\u003c/p\u003e\n"]]],["The document defines the structure of a page of results returned from an API. It uses a JSON representation with three fields: `totalResults` indicates the total number of results available; `resultPerPage` specifies the maximum results returned per page; and `startIndex` denotes the index of the first result on the current page. These fields allow clients to navigate through large result sets by requesting specific pages.\n"],null,["# PageInfo\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nInformation about the current page.\n\nList operations that supports paging return only one \"page\" of results. This protocol buffer message describes the page that has been returned.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------|\n| ``` { \"totalResults\": integer, \"resultPerPage\": integer, \"startIndex\": integer } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------|\n| `totalResults` | `integer` Total number of results available on the backend ! The total number of results in the result set. |\n| `resultPerPage` | `integer` Maximum number of results returned in one page. ! The number of results included in the API response. |\n| `startIndex` | `integer` Index of the first result returned in the current page. |"]]