Skip to content

Commit 91e4279

Browse files
Google APIscopybara-github
authored andcommitted
feat: add agentDesktopSource field to the Participant object
docs: Update evaluator version from output only to optional. docs: Add further clarification for when the event Type CONVERSATION_FINISHED is fired PiperOrigin-RevId: 830460349
1 parent 8b80b14 commit 91e4279

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

google/cloud/dialogflow/v2beta1/conversation_event.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ message ConversationEvent {
4343

4444
// An existing conversation has closed. This is fired when a telephone call
4545
// is terminated, or a conversation is closed via the API.
46+
// The event is fired for every CompleteConversation call, even if the
47+
// conversation is already closed.
4648
CONVERSATION_FINISHED = 2;
4749

4850
// An existing conversation has received notification from Dialogflow that

google/cloud/dialogflow/v2beta1/generator_evaluation.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,9 +543,9 @@ message GeneratorEvaluationConfig {
543543
string completeness_evaluation_version = 4
544544
[deprecated = true, (google.api.field_behavior) = OPTIONAL];
545545

546-
// Output only. Version for summarization evaluation.
546+
// Optional. Version for summarization evaluation.
547547
optional string evaluator_version = 5
548-
[(google.api.field_behavior) = OUTPUT_ONLY];
548+
[(google.api.field_behavior) = OPTIONAL];
549549
}
550550

551551
// Required. The config/source of input data.

google/cloud/dialogflow/v2beta1/participant.proto

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,29 @@ message Participant {
277277
END_USER = 3;
278278
}
279279

280+
// Enumeration of the Agent Desktop Source when using prebuilt Agent
281+
// Assist integration modules.
282+
enum AgentDesktopSource {
283+
// Agent Desktop Source is not specified.
284+
AGENT_DESKTOP_SOURCE_UNSPECIFIED = 0;
285+
286+
// Agent Desktop Source is Live Person.
287+
LIVE_PERSON = 1;
288+
289+
// Agent Desktop Source is Genesys Cloud.
290+
GENESYS_CLOUD = 2;
291+
292+
// Agent Desktop Source is Twilio.
293+
TWILIO = 3;
294+
295+
// Agent Desktop Source is Salesforce.
296+
SALESFORCE = 4;
297+
298+
// UI Modules are in use but the desktop is either not currently released or
299+
// setting this field to the applicable desktop.
300+
OTHER = 8;
301+
}
302+
280303
// Optional. The unique identifier of this participant.
281304
// Format: `projects/<Project ID>/locations/<Location
282305
// ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
@@ -341,6 +364,19 @@ message Participant {
341364
// ```
342365
map<string, string> documents_metadata_filters = 8
343366
[(google.api.field_behavior) = OPTIONAL];
367+
368+
// Optional. For tracking the utilization of prebuilt Agent Assist integration
369+
// modules. This field is only inscope for Integration type that include UI
370+
// Modules, Backend Modules, and Agent Desktop connector, it is out of scope
371+
// for CCaaS and Direct Integration.
372+
// For each human agent, prebuilt UI Modules needs to trigger the
373+
// UpdateParticipant API to update this field. Both
374+
// [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant]
375+
// and
376+
// [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant]
377+
// will be supported.
378+
AgentDesktopSource agent_desktop_source = 10
379+
[(google.api.field_behavior) = OPTIONAL];
344380
}
345381

346382
// Represents a message posted into a conversation.

0 commit comments

Comments
 (0)