GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Storage : Add support for Archive storage class by athakor · Pull Request #6685 · googleapis/google-cloud-java Conversation
Contributor
Fixes #6578
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
tritone
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Overall looks good, just one documentation thing to change. Also, the feature is not publicly available yet, so please hold off on merging until I have approval on that.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Regional and Multi-regional are also considered deprecated now. Let's add that to the comment for each of those and also add a link to https://cloud.google.com/storage/docs/storage-classes which has the most up-to-date information.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it typical to set all of these options while creating a bucket in Java? Just curious.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
Codecov Report
@@ Coverage Diff @@ ## master #6685 +/- ## ============================================ + Coverage 46.35% 46.36% +<.01% - Complexity 28005 28018 +13 ============================================ Files 2613 2614 +1 Lines 288090 288195 +105 Branches 33783 33795 +12 ============================================ + Hits 133534 133610 +76 - Misses 144312 144334 +22 - Partials 10244 10251 +7
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@tritone PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| * Regional storage class (deprecated). | ||
| * See:https://cloud.google.com/storage/docs/per-object-storage-class for details | ||
| */ | ||
| public static final StorageClass REGIONAL = type.createAndRegister("REGIONAL"); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Let's re-sort these as follows so that the non-deprecated classes come first: Standard, Nearline, Coldline, Archive, Regional, Multi-Regional, Durable Reduced Availability
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
done
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| /** Multi-regional storage class. */ | ||
| /** | ||
| * Multi-regional storage class (deprecated). | ||
| * See:https://cloud.google.com/storage/docs/per-object-storage-class for details |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This link redirects to https://cloud.google.com/storage/docs/storage-classes , so let's use that.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
done
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| .setNotFoundPage(NOT_FOUND_PAGE) | ||
| .setLocation(LOCATION) | ||
| .setLocationType(LOCATION_TYPE) | ||
| .setStorageClass(ARCHIVE_STORAGE_CLASS) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Okay, sounds good.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tritone all the comment have been addressed PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Looks good to me! I will let you know when it's okay to merge (waiting until feature has been enabled without a flag). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR should no longer be merged because of the repo split. @athakor , could you re-create this PR in https://github.com/googleapis/java-storage ? Please let me know if you run into any issues. Also, apologies for the delay on this-- we are now looking to merge the first week of Jan. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
done PR : googleapis/java-storage#19 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Storage: Add support for Archive storage class
There was an error while loading. Please reload this page.