Limit the number of results per page when listing Buckets and Objects.
Applications may reduce the memory requirements of the Bucket and Object iterators by using smaller page sizes. The downside is that more requests may be needed to iterate over the full range of Buckets and/or Objects.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe latest version of the storage documentation is 2.37.0-rc, with access to documentation for previous versions ranging from 2.36.0 down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers the \u003ccode\u003eMaxResults\u003c/code\u003e struct within the \u003ccode\u003egoogle::cloud::storage\u003c/code\u003e namespace for all versions listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaxResults\u003c/code\u003e functionality is used to limit the number of results per page when listing Buckets and Objects, which can help applications reduce memory requirements.\u003c/p\u003e\n"],["\u003cp\u003eUsing smaller page sizes with \u003ccode\u003eMaxResults\u003c/code\u003e can lead to more requests being needed to iterate over the complete set of Buckets or Objects.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes information on the \u003ccode\u003ewell_known_parameter_name()\u003c/code\u003e function, which returns a \u003ccode\u003echar const *\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,[]]