Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

feat: expose dtmf input info in the query result #181

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions google/cloud/dialogflowcx_v3beta1/types/session.py
Expand Up @@ -534,6 +534,9 @@ class QueryResult(proto.Message):
If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput]
was provided as input, this field will contain the name of
the event.
dtmf (google.cloud.dialogflowcx_v3beta1.types.DtmfInput):
If a [DTMF][DTMFInput] was provided as input, this field
will contain a copy of the [DTMFInput][].
language_code (str):
The language that was triggered during intent detection. See
`Language
Expand Down Expand Up @@ -617,6 +620,7 @@ class QueryResult(proto.Message):
trigger_intent = proto.Field(proto.STRING, number=11, oneof="query",)
transcript = proto.Field(proto.STRING, number=12, oneof="query",)
trigger_event = proto.Field(proto.STRING, number=14, oneof="query",)
dtmf = proto.Field(proto.MESSAGE, number=23, oneof="query", message="DtmfInput",)
language_code = proto.Field(proto.STRING, number=2,)
parameters = proto.Field(proto.MESSAGE, number=3, message=struct_pb2.Struct,)
response_messages = proto.RepeatedField(
Expand Down