dimo414
dimo414

Reputation: 48864

Get archived versions from Google Cloud Storage

How do I get a list of archived versions of a file via gcloud-java? I don't see an option in Bucket.list(), is there somewhere else I should be looking?

Upvotes: 1

Views: 284

Answers (1)

ozarov
ozarov

Reputation: 1061

If version is enabled for the bucket then listing should return all the available versions (BlobId includes the version). Do you experience a different behavior?

Upvotes: 1

Related Questions