Skip to content

Commit 0015848

Browse files
Google APIscopybara-github
authored andcommitted
feat: added TelephonyTransferCall in response message
PiperOrigin-RevId: 414081404
1 parent 756fe00 commit 0015848

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

google/cloud/dialogflow/cx/v3beta1/environment.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import "google/api/client.proto";
2121
import "google/api/field_behavior.proto";
2222
import "google/api/resource.proto";
2323
import "google/cloud/dialogflow/cx/v3beta1/test_case.proto";
24+
import "google/cloud/dialogflow/cx/v3beta1/webhook.proto";
2425
import "google/longrunning/operations.proto";
2526
import "google/protobuf/empty.proto";
2627
import "google/protobuf/field_mask.proto";

google/cloud/dialogflow/cx/v3beta1/response_message.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)