Skip to content

Commit

Permalink
feat(v2beta1): add a field to indicate whether slot filling is cancel…
Browse files Browse the repository at this point in the history
…led (#306)

* feat: added a field in the query result to indicate whether slot filling is cancelled.

PiperOrigin-RevId: 375741797

Source-Link: googleapis/googleapis@5e797ab

Source-Link: googleapis/googleapis-gen@45498d9

* 🦉 Updates from OwlBot

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored May 25, 2021
1 parent 089cb1c commit 56cf1fb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,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 @@ -414,6 +417,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 56cf1fb

Please sign in to comment.