[go: nahoru, domu]

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

feat(storage): support HNS-enabled buckets #13753

Merged

Conversation

coryan
Copy link
Member
@coryan coryan commented Mar 8, 2024

Add accessors and modifiers for the hierarchical_namespace() field in a bucket. Parse the field in bucket metadata responses for JSON and gRPC. Add support to set this field on create, update, and patch requests. Also for JSON and gRPC. Include and example (which doubles as an integration test), and the usual unit tests.

Part of the work for #13561


This change is Reviewable

Add accessors and modifiers for the `hierarchical_namespace()` field in
a bucket. Parse the field in bucket metadata responses for JSON and
gRPC.  Add support to set this field on create, update, and patch
requests. Also for JSON and gRPC. Include and example (which doubles as
an integration test), and the usual unit tests.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Mar 8, 2024
@coryan coryan marked this pull request as ready for review March 8, 2024 19:53
@coryan coryan requested review from a team as code owners March 8, 2024 19:53
Copy link
codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.25%. Comparing base (44c6ad9) to head (0ae75d0).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main   #13753    +/-   ##
========================================
  Coverage   93.25%   93.25%            
========================================
  Files        2233     2235     +2     
  Lines      193286   193392   +106     
========================================
+ Hits       180252   180357   +105     
- Misses      13034    13035     +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@coryan
Copy link
Member Author
coryan commented Mar 11, 2024

@frankyn or @sydney-munro do you have time to take a look at this?

Copy link
Member
@scotthart scotthart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 11 of 11 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @coryan)

@coryan coryan merged commit 8ca67ec into googleapis:main Mar 12, 2024
63 checks passed
@coryan coryan deleted the feat-storage-support-hns-enabled-buckets branch March 12, 2024 15:41
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants