Skip to content

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: googleapis/googleapis-gen@42cc633
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjYzYzMzFiYWUwYjk5ZjYxYjhlMDFhZTE1YjA1MjExNzE2YzRmOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored May 31, 2022
1 parent ee95cc3 commit c293dae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/google-cloud-dialogflow/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
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
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 c293dae

Please sign in to comment.