File tree Expand file tree Collapse file tree
google/cloud/dialogflow/cx/v3beta1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import "google/api/client.proto";
2121import "google/api/field_behavior.proto" ;
2222import "google/api/resource.proto" ;
2323import "google/cloud/dialogflow/cx/v3beta1/test_case.proto" ;
24+ import "google/cloud/dialogflow/cx/v3beta1/webhook.proto" ;
2425import "google/longrunning/operations.proto" ;
2526import "google/protobuf/empty.proto" ;
2627import "google/protobuf/field_mask.proto" ;
Original file line number Diff line number Diff line change @@ -164,6 +164,17 @@ message ResponseMessage {
164164 repeated Segment segments = 1 ;
165165 }
166166
167+ // Represents the signal that telles the client to transfer the phone call
168+ // connected to the agent to a third-party endpoint.
169+ message TelephonyTransferCall {
170+ // Endpoint to transfer the call to.
171+ oneof endpoint {
172+ // Transfer the call to a phone number
173+ // in [E.164 format](https://en.wikipedia.org/wiki/E.164).
174+ string phone_number = 1 ;
175+ }
176+ }
177+
167178 // Required. The rich response message.
168179 oneof message {
169180 // Returns a text response.
@@ -202,5 +213,9 @@ message ResponseMessage {
202213 // This message is generated by Dialogflow only and not supposed to be
203214 // defined by the user.
204215 MixedAudio mixed_audio = 13 [(google.api.field_behavior ) = OUTPUT_ONLY ];
216+
217+ // A signal that the client should transfer the phone call connected to
218+ // this agent to a third-party endpoint.
219+ TelephonyTransferCall telephony_transfer_call = 18 ;
205220 }
206221}
You can’t perform that action at this time.
0 commit comments