feat: expose matched event in Sessions API.

PiperOrigin-RevId: 342188199
This commit is contained in:
Google APIs 2020-11-12 20:27:55 -08:00 committed by Copybara-Service
parent 0c9e3f8cb3
commit 836f0eaf5f
1 changed files with 7 additions and 0 deletions

View File

@ -576,6 +576,9 @@ message Match {
// Indicates an empty query.
NO_INPUT = 5;
// The query directly triggered an event.
EVENT = 6;
}
// The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
@ -583,6 +586,10 @@ message Match {
// filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
Intent intent = 1;
// The event that matched the query. Only filled for
// [`EVENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
string event = 6;
// The collection of parameters extracted from the query.
//
// Depending on your protocol or client library language, this is a