SizeConstraints
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
האילוצים על הגדלים של רשימות הגיבוב.
ייצוג ב-JSON |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
שדות |
maxUpdateEntries |
integer
המספר המקסימלי של רשומות. העדכון לא יכיל יותר רשומות מהערך הזה, אבל יכול להיות שהעדכון יכיל פחות רשומות מהערך הזה. הערך חייב להיות לפחות 1,024. אם השדה הזה לא יצוין או שהוא יוגדר כ-0, לא תוגדר מגבלת גודל לעדכון.
|
maxDatabaseEntries |
integer
הגדרת המספר המקסימלי של רשומות שהלקוח רוצה שיופיעו במסד הנתונים המקומי של הרשימה. (השרת עשוי לגרום ללקוח לאחסן פחות ממספר הרשומות הזה). אם השדה הזה לא מופיע או שהוא מוגדר לאפס, לא מוגדרת מגבלת גודל למסד הנתונים.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]