Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage: Add support for Archive storage class #9532

Closed
tritone opened this issue Oct 24, 2019 · 4 comments · Fixed by #9533
Closed

Storage: Add support for Archive storage class #9532

tritone opened this issue Oct 24, 2019 · 4 comments · Fixed by #9533
Assignees
Labels
api: storage Issues related to the Cloud Storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@tritone
Copy link
Contributor

tritone commented Oct 24, 2019

GCS is adding a storage class called "archive" to the existing options for object storage (coldline, standard, etc). Support for this should be added to this client library.

This should be straightforward as ARCHIVE should just mirror existing valid storage classes. I see the following places where changes are required in order to accomplish this:

This has already been implemented in the C++ client library; reference commit here

@tseaver tseaver added api: storage Issues related to the Cloud Storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Oct 24, 2019
@tseaver tseaver self-assigned this Oct 24, 2019
@tseaver
Copy link
Contributor

tseaver commented Oct 24, 2019

@tritone What should the descriptive text be for the ARCHIVE_STORAGE_CLASS constant?

@tseaver
Copy link
Contributor

tseaver commented Oct 24, 2019

@tritone I made a guess at the descriptive text here:

"""Storage class for objects accessed less frequently than once per year."""

@tritone
Copy link
Contributor Author

tritone commented Oct 24, 2019

Hi @tseaver, yep that is correct! For additional context, I shared you on a doc with some relevant info; also, the preliminary public description is in the blog post here: https://cloud.google.com/blog/products/storage-data-transfer/whats-cooler-than-being-cool-ice-cold-archive-storage .

We may also want to add a link to the public documentation at https://cloud.google.com/storage/docs/storage-classes since there are specific policies around availability and minimum storage duration for each class (archive will be added here once launched).

@tseaver
Copy link
Contributor

tseaver commented Oct 24, 2019

@tritone I added the link to all storage class constants in 8272f9f .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants