Reputation: 5097
Is it possible to enable Directory listing in Google Cloud Storage?
I was thinking on having a "domain bucket" and use it to list all the contents, similar to Nginx's autoindex on
or Apache's Options +Indexes
.
If I make the bucket public all contents will be listed as a XML, but not like a directory listing.
Upvotes: 3
Views: 2430
Reputation: 488
You might want to take a look at s3-bucket-listing. It's for Amazon S3 but works with GCS as well.
Upvotes: 0
Reputation: 38389
No, it is not currently possible.
You could perhaps implement such a thing by creating "index" pages in each directory that used JavaScript to query the bucket and render a list of objects, but there's no built-in support for this.
Upvotes: 1