Skip to content

Commit

Permalink
fix: fixes for dynamic routing and streaming descriptors (#274)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Use gapic-generator-typescript v2.14.5.

PiperOrigin-RevId: 450616838

Source-Link: googleapis/googleapis@7a47b72

Source-Link: googleapis/googleapis-gen@42cc633
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjYzYzMzFiYWUwYjk5ZjYxYjhlMDFhZTE1YjA1MjExNzE2YzRmOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored May 31, 2022
1 parent 5e774e6 commit 4271ea0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/v1/big_query_read_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ export class BigQueryReadClient {
// Provide descriptors for these.
this.descriptors.stream = {
readRows: new this._gaxModule.StreamDescriptor(
gax.StreamType.SERVER_STREAMING
gax.StreamType.SERVER_STREAMING,
opts.fallback === 'rest'
),
};

Expand Down
3 changes: 2 additions & 1 deletion src/v1/big_query_write_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ export class BigQueryWriteClient {
// Provide descriptors for these.
this.descriptors.stream = {
appendRows: new this._gaxModule.StreamDescriptor(
gax.StreamType.BIDI_STREAMING
gax.StreamType.BIDI_STREAMING,
opts.fallback === 'rest'
),
};

Expand Down
3 changes: 2 additions & 1 deletion src/v1beta1/big_query_storage_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ export class BigQueryStorageClient {
// Provide descriptors for these.
this.descriptors.stream = {
readRows: new this._gaxModule.StreamDescriptor(
gax.StreamType.SERVER_STREAMING
gax.StreamType.SERVER_STREAMING,
opts.fallback === 'rest'
),
};

Expand Down

0 comments on commit 4271ea0

Please sign in to comment.