SizeConstraints
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
フィールド |
maxUpdateEntries |
integer
エントリ数の最大サイズ。更新にはこの値を超えるエントリは含まれませんが、この値より少ないエントリが含まれることもあります。この値は 1,024 以上にする必要があります。省略または 0 に設定した場合、更新サイズの上限は設定されません。
|
maxDatabaseEntries |
integer
クライアントがリストのローカル データベースに保持するエントリの最大数を設定します。(サーバーは、クライアントがこの数より少ないエントリを保存するようにすることがあります)。省略または 0 に設定した場合、データベースのサイズの上限は設定されません。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# SizeConstraints\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe constraints on the sizes of the hash lists.\n\n| JSON representation |\n|------------------------------------------------------------------------|\n| ``` { \"maxUpdateEntries\": integer, \"maxDatabaseEntries\": integer } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `maxUpdateEntries` | `integer` The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will contain fewer entries than this value. This MUST be at least 1024. If omitted or zero, no update size limit is set. |\n| `maxDatabaseEntries` | `integer` Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client to store less than this number of entries.) If omitted or zero, no database size limit is set. |"]]