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

chore(storage): gRPC inject bucket ID in header for write #6328

Merged
merged 7 commits into from
Aug 1, 2022

Conversation

noahdietz
Copy link
Contributor

@noahdietz noahdietz commented Jul 12, 2022

For gRPC, include the bucket ID (not resource name) in the x-goog-request-params header with the key bucket on the initial WriteObject RPC. All other RPCs, which are Unary on the client-side, are handled by the GAPIC layer for this.

Instead of writing yet-another-header-injection helper, I exported the one form the GAPIC layer to reuse in the Veneer.

Fixes http://b/238793493 for Go.

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the Cloud Storage API. labels Jul 12, 2022
@noahdietz noahdietz marked this pull request as ready for review July 26, 2022 19:48
@noahdietz noahdietz requested review from a team as code owners July 26, 2022 19:48
@noahdietz noahdietz requested a review from tritone July 28, 2022 18:32
@noahdietz noahdietz merged commit 5ee0de3 into googleapis:storage-refactor Aug 1, 2022
@noahdietz noahdietz deleted the write-obj-header branch August 1, 2022 21:19
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. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants