Is there any possibility to list all files on my Google Cloud Storage bucket with the GAE SDK? I know that the Python SDK supports such a function, but I can’t find a similar function in the Java SDK.
If not available, will this be added in the future releases of the Java SDK?
You can use the Cloud Storage JSON API via its client library. Once you set up your credentials you can make the call like this:
You may want to use an
AppIdentityCredentialin this case as well, which will allow the bucket to be owned by your application, and not by a user.