iBrAaAa
iBrAaAa

Reputation: 394

Maximum number of items returned in GCS Objects#list request

If I didn't specify the maxResults query parameter and I have a bucket with huge number of objects. Will all objects be returned in a single request? if not, how many will be returned?

Upvotes: 1

Views: 1132

Answers (1)

Mike Schwartz
Mike Schwartz

Reputation: 12145

A limited number of results will come back in a single response - typically 1000. To list the entire bucket, you need to use markers.

Upvotes: 2

Related Questions