Skip to content

Commit

Permalink
fix: fixes for dynamic routing and streaming descriptors (#1639)
Browse files Browse the repository at this point in the history
* fix: fixes for dynamic routing and streaming descriptors

Use gapic-generator-typescript v2.14.5.

PiperOrigin-RevId: 450616838

Source-Link: googleapis/googleapis@7a47b72

Source-Link: googleapis/googleapis-gen@42cc633
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjYzYzMzFiYWUwYjk5ZjYxYjhlMDFhZTE1YjA1MjExNzE2YzRmOSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 30, 2022
1 parent 1367aa7 commit 977a543
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/v1/spanner_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,12 @@ export class SpannerClient {
// Provide descriptors for these.
this.descriptors.stream = {
executeStreamingSql: new this._gaxModule.StreamDescriptor(
gax.StreamType.SERVER_STREAMING
gax.StreamType.SERVER_STREAMING,
opts.fallback === 'rest'
),
streamingRead: new this._gaxModule.StreamDescriptor(
gax.StreamType.SERVER_STREAMING
gax.StreamType.SERVER_STREAMING,
opts.fallback === 'rest'
),
};

Expand Down

0 comments on commit 977a543

Please sign in to comment.