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 also do this using the Google Java Client Library (which is replacing the Google Cloud Storage API)
If you only want to iterate through a certain "directory", use the ListOptions builder
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
AppIdentityCredential
in this case as well, which will allow the bucket to be owned by your application, and not by a user.