TokenPagination
トークンのページ分割が有効な場合に List オペレーションによって返されるページネーション情報。
ページングをサポートするリスト オペレーションで返される「ページ」は 1 つのみです表示されます。このプロトコル バッファ メッセージでは、返されたページについて説明しています。
トークンのページ分割を使用する場合、クライアントは次/前のトークンを使用して結果の別のページを取得する必要があります。次/前のトークンの有無は、次/前のページが使用可能かどうかを示し、このページへのアクセス手段を示します。別のページにアクセスするには、ListRequest.page_token を nextPageToken または beforePageToken に設定する必要があります。
JSON 表現 |
{
"nextPageToken": string,
"previousPageToken": string
} |
フィールド |
nextPageToken |
string
標準のリスト フィールド「pageToken」に渡すトークン。利用可能な場合は、startIndex の操作よりもトークンが優先されます。
|
previousPageToken |
string
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-05-21 UTC。
[null,null,["最終更新日 2025-05-21 UTC。"],[[["This document explains the structure of pagination information returned for list operations that support paging when token pagination is enabled."],["Clients should utilize the `nextPageToken` or `previousPageToken` to navigate between pages of results."],["The presence or absence of these tokens indicates the availability of additional pages."],["The JSON representation of this pagination information includes `nextPageToken` and `previousPageToken` fields as strings."]]],["List operations with pagination return one page of results. `nextPageToken` and `previousPageToken` are provided as strings to access subsequent or prior pages. Clients should set `ListRequest.page_token` to one of these tokens for navigation. The presence of these tokens indicates if a respective page is available. Tokens are favored over manipulating `startIndex` for accessing pages. JSON representation uses these string values.\n"]]