Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
fix: fixes for dynamic routing and streaming descriptors (#958)
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: https://github.com/googleapis/googleapis-gen/commit/42cc6331bae0b99f61b8e01ae15b05211716c4f9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjYzYzMzFiYWUwYjk5ZjYxYjhlMDFhZTE1YjA1MjExNzE2YzRmOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored May 31, 2022
1 parent 6755bed commit 3330957
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/v2/sessions_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ export class SessionsClient {
// Provide descriptors for these.
this.descriptors.stream = {
streamingDetectIntent: new this._gaxModule.StreamDescriptor(
gax.StreamType.BIDI_STREAMING
gax.StreamType.BIDI_STREAMING,
opts.fallback === 'rest'
),
};

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

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

Expand Down

0 comments on commit 3330957

Please sign in to comment.