Skip to content

Commit 55ab9c6

Browse files
Google APIscopybara-github
authored andcommitted
feat: updated v2beta1 dialogflow client libraries
PiperOrigin-RevId: 843755897
1 parent 3784b36 commit 55ab9c6

File tree

2 files changed

+36
-12
lines changed

2 files changed

+36
-12
lines changed

google/cloud/dialogflow/v2beta1/agent_coaching_instruction.proto

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,27 @@ message AgentCoachingInstruction {
4848
[(google.api.field_behavior) = OUTPUT_ONLY];
4949
}
5050

51+
// The event that should trigger this instruction.
52+
enum TriggerEvent {
53+
// Default value for TriggerEvent.
54+
TRIGGER_EVENT_UNSPECIFIED = 0;
55+
56+
// Triggers when each chat message or voice utterance ends.
57+
END_OF_UTTERANCE = 1;
58+
59+
// Triggers on the conversation manually by API calls.
60+
MANUAL_CALL = 2;
61+
62+
// Triggers after each customer message.
63+
CUSTOMER_MESSAGE = 3;
64+
65+
// Triggers after each agent message.
66+
AGENT_MESSAGE = 4;
67+
68+
// Triggers on tool call completion.
69+
TOOL_CALL_COMPLETION = 5;
70+
}
71+
5172
// Optional. Display name for the instruction.
5273
string display_name = 1 [(google.api.field_behavior) = OPTIONAL];
5374

@@ -73,4 +94,9 @@ message AgentCoachingInstruction {
7394
// Output only. Duplication check for the AgentCoachingInstruction.
7495
DuplicateCheckResult duplicate_check_result = 8
7596
[(google.api.field_behavior) = OUTPUT_ONLY];
97+
98+
// Optional. The event that should trigger this instruction.
99+
// If UNSPECIFIED, the instruction triggering will be same as the generator's
100+
// trigger_event.
101+
TriggerEvent triggering_event = 10 [(google.api.field_behavior) = OPTIONAL];
76102
}

google/cloud/dialogflow/v2beta1/dialogflow_v2beta1.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,16 @@ documentation:
4848
Builds conversational interfaces (for example, chatbots, and voice-powered
4949
apps and devices).
5050
overview: |-
51-
<!-- mdformat off(presubmit failing, mdformat is as well) --> Dialogflow is
52-
a natural language understanding platform that makes it easy
51+
Dialogflow is a natural language understanding platform that makes it easy
5352
to design and integrate a conversational user interface into your mobile
5453
app, web application, device, bot, interactive voice response system, and
55-
so on. Using Dialogflow, you can provide new and engaging ways for
56-
users to interact with your product.
57-
58-
Dialogflow can analyze multiple types of input from your customers,
59-
including text or audio inputs (like from a phone or voice recording).
60-
It can also respond to your customers in a couple of ways, either through
61-
text or with synthetic speech.
62-
63-
For more information, see the
64-
[Dialogflow documentation](https://cloud.google.com/dialogflow/docs).
54+
so on. Using Dialogflow, you can provide new and engaging ways for users
55+
to interact with your product. Dialogflow can analyze multiple types of
56+
input from your customers, including text or audio inputs (like from a
57+
phone or voice recording). It can also respond to your customers in a
58+
couple of ways, either through text or with synthetic speech. For more
59+
information, see the [Dialogflow
60+
documentation](https://cloud.google.com/dialogflow/docs).
6561
rules:
6662
- selector: google.cloud.location.Locations.GetLocation
6763
description: Gets information about a location.
@@ -227,6 +223,8 @@ authentication:
227223
https://www.googleapis.com/auth/dialogflow
228224
229225
publishing:
226+
new_issue_uri: https://issuetracker.google.com/issues/new?component=501190
227+
documentation_uri: https://docs.cloud.google.com/dialogflow/docs
230228
library_settings:
231229
- version: google.cloud.dialogflow.v2beta1
232230
dotnet_settings:

0 commit comments

Comments
 (0)