Why does storage::Client::ListObjects not support pageToken? #14060
mchelnokov
started this conversation in
General
Replies: 1 comment
-
Yes, that is correct. We are missing a way to paginate (as opposed to iterate) over objects (and buckets). However, #5742 was an attempt to fix this for buckets, but we did not get very far. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
The GCS has a method to retrieve list of objects in a bucket. This method has pageToken parameter, to paginate through the results using a token. The token is supported by storage::internal::ListObjectsResponse, but then it isn't used by storage::client::ListObjects. The startOffset parameter isn't the same as the pageToken, it is to filter results lexicographically, not for pagination.
Beta Was this translation helpful? Give feedback.
All reactions