Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bigquery/storage/managedwriter): support non-default regions (#4566)
Additional internal context: b/185842996 Request routing relies on a metadata header being present, but because of the bidi nature library generators don't automatically attach the write stream metadata into x-goog-request-headers. For this API, the stream ID is constant for the whole stream so we inject it when opening the stream, which is when routing needs the information. This causes some minor changes to how we do stream (re)open because we need to pass in the stream ID as part of the function. This change also updates integration testing so that we're testing in an explicit, non-default region (us-east1). Towards: #4366
- Loading branch information
Showing
4 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters