1
votes

We are using Google Cloud Storage XML REST API for client implementation. As per the information available here there is no maximum limit on the number of buckets and user can create any number of buckets. We have use case to retrieve all the available buckets for the user and if don't have any limit user can have thousands of buckets which needs some filtering mechanism to retrieve particular set of buckets.

Is there any way to retrieve limited number of buckets from thousands of bucket? or Is there any way to restrict user to have less number of buckets in particular user account?

1

1 Answers

1
votes

Firstly, the bucket aren't attached to a user but to a project. And yes, there isn't limit per project but you can't create/delete more than 1 bucket every 2 seconds

Secondly, when you get the buckets by JSON API you can choose a prefix to filter the bucket that you want to see. You can't do this with the XML API.