SizeConstraints
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
JSON 표현 |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
필드 |
maxUpdateEntries |
integer
항목 수 기준 최대 크기입니다. 업데이트에는 이 값보다 많은 항목이 포함되지 않지만 이 값보다 적은 항목이 포함될 수 있습니다. 1,024 이상이어야 합니다. 생략하거나 0으로 설정하면 업데이트 크기 제한이 설정되지 않습니다.
|
maxDatabaseEntries |
integer
클라이언트가 목록의 로컬 데이터베이스에 보유할 최대 항목 수를 설정합니다. 서버로 인해 클라이언트가 이 수보다 적은 항목을 저장할 수도 있습니다. 생략하거나 0으로 설정하면 데이터베이스 크기 제한이 설정되지 않습니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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. |"]]