Skip to content

Commit

Permalink
feat: Add the enable_partial_automated_agent_reply flag
Browse files Browse the repository at this point in the history
feat: Remove backend API deadline

PiperOrigin-RevId: 568908437
  • Loading branch information
Google APIs authored and Copybara-Service committed Sep 27, 2023
1 parent c548278 commit 56f0766
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 49 deletions.
49 changes: 0 additions & 49 deletions google/cloud/dialogflow/v2beta1/dialogflow_v2beta1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,55 +62,6 @@ documentation:
- selector: google.cloud.location.Locations.ListLocations
description: Lists information about the supported locations for this service.

backend:
rules:
- selector: 'google.cloud.dialogflow.v2beta1.Agents.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.AnswerRecords.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.Contexts.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.ConversationProfiles.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.Conversations.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.Documents.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.EntityTypes.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.Environments.*'
deadline: 60.0
- selector: google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment
deadline: 60.0
- selector: google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.Intents.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.KnowledgeBases.*'
deadline: 60.0
- selector: 'google.cloud.dialogflow.v2beta1.Participants.*'
deadline: 60.0
- selector: google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent
deadline: 220.0
- selector: google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent
deadline: 220.0
- selector: 'google.cloud.dialogflow.v2beta1.SessionEntityTypes.*'
deadline: 60.0
- selector: google.cloud.dialogflow.v2beta1.Sessions.DetectIntent
deadline: 220.0
- selector: google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent
deadline: 220.0
- selector: 'google.cloud.dialogflow.v2beta1.Versions.*'
deadline: 60.0
- selector: google.cloud.location.Locations.GetLocation
deadline: 60.0
- selector: google.cloud.location.Locations.ListLocations
deadline: 60.0
- selector: 'google.longrunning.Operations.*'
deadline: 60.0
- selector: google.longrunning.Operations.ListOperations
deadline: 180.0

http:
rules:
- selector: google.cloud.location.Locations.GetLocation
Expand Down
21 changes: 21 additions & 0 deletions google/cloud/dialogflow/v2beta1/participant.proto
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,27 @@ message StreamingAnalyzeContentRequest {
// CX agent.
string cx_current_page = 15;

// Optional. Enable full bidirectional streaming. You can keep streaming the
// audio until timeout, and there's no need to half close the stream to get
// the response.
//
// Restrictions:
//
// - Timeout: 3 mins.
// - Audio Encoding: only supports
// [AudioEncoding.AUDIO_ENCODING_LINEAR_16][google.cloud.dialogflow.v2beta1.AudioEncoding.AUDIO_ENCODING_LINEAR_16]
// and
// [AudioEncoding.AUDIO_ENCODING_MULAW][google.cloud.dialogflow.v2beta1.AudioEncoding.AUDIO_ENCODING_MULAW]
// - Lifecycle: conversation should be in `Assist Stage`, go to
// [Conversation.CreateConversation][] for more information.
//
// InvalidArgument Error will be returned if the one of restriction checks
// failed.
//
// You can find more details in
// https://cloud.google.com/agent-assist/docs/extended-streaming
bool enable_extended_streaming = 11 [(google.api.field_behavior) = OPTIONAL];

// Enable partial virtual agent responses. If this flag is not enabled,
// response stream still contains only one final response even if some
// `Fulfillment`s in Dialogflow virtual agent have been configured to return
Expand Down

0 comments on commit 56f0766

Please sign in to comment.