Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
feat: add a field to indicate whether slot filling is cancelled (#304)
PiperOrigin-RevId: 375489925

Source-Link: googleapis/googleapis@a185afb

Source-Link: googleapis/googleapis-gen@c3b8415
  • Loading branch information
gcf-owl-bot[bot] committed May 25, 2021
1 parent 2db4511 commit 3343504
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/cloud/dialogflow_v2/types/session.py
Expand Up @@ -310,6 +310,9 @@ class QueryResult(proto.Message):
- ``true`` if all required parameter values have been
collected, or if the matched intent doesn't contain any
required parameters.
cancels_slot_filling (bool):
Indicates whether the conversational query
triggers a cancellation for slot filling.
fulfillment_text (str):
The text to be pronounced to the user or shown on the
screen. Note: This is a legacy field,
Expand Down Expand Up @@ -368,6 +371,7 @@ class QueryResult(proto.Message):
action = proto.Field(proto.STRING, number=3,)
parameters = proto.Field(proto.MESSAGE, number=4, message=struct_pb2.Struct,)
all_required_params_present = proto.Field(proto.BOOL, number=5,)
cancels_slot_filling = proto.Field(proto.BOOL, number=21,)
fulfillment_text = proto.Field(proto.STRING, number=6,)
fulfillment_messages = proto.RepeatedField(
proto.MESSAGE, number=7, message=gcd_intent.Intent.Message,
Expand Down

0 comments on commit 3343504

Please sign in to comment.