SizeConstraints
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ograniczenia dotyczące rozmiarów list haszowania.
Zapis JSON |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
Pola |
maxUpdateEntries |
integer
Maksymalny rozmiar pod względem liczby wpisów. Aktualizacja nie będzie zawierać więcej pozycji niż ta wartość, ale może zawierać mniej pozycji niż ta wartość. Musi wynosić co najmniej 1024. Jeśli pole jest puste lub ma wartość 0, nie jest ustawiony limit rozmiaru aktualizacji.
|
maxDatabaseEntries |
integer
Określa maksymalną liczbę wpisów, które klient chce mieć w bazie danych lokalnej na liście. (serwer MOŻE spowodować, że klient przechowa mniej niż tę liczbę wpisów). Jeśli pole jest puste lub ma wartość 0, nie jest ustawiony limit rozmiaru bazy danych.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]