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

Commit 05be019

Browse files
feat(v2beta1): add a field to indicate whether slot filling is cancelled (#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: https://github.com/googleapis/googleapis-gen/commit/45498d9cadeca0484a3b2a14fa6edbbaf165ac9b * 🦉 Updates from OwlBot Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent f6d7bb0 commit 05be019

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎google/cloud/dialogflow_v2beta1/types/session.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ class QueryResult(proto.Message):
353353
- ``true`` if all required parameter values have been
354354
collected, or if the matched intent doesn't contain any
355355
required parameters.
356+
cancels_slot_filling (bool):
357+
Indicates whether the conversational query
358+
triggers a cancellation for slot filling.
356359
fulfillment_text (str):
357360
The text to be pronounced to the user or shown on the
358361
screen. Note: This is a legacy field,
@@ -414,6 +417,7 @@ class QueryResult(proto.Message):
414417
action = proto.Field(proto.STRING, number=3,)
415418
parameters = proto.Field(proto.MESSAGE, number=4, message=struct_pb2.Struct,)
416419
all_required_params_present = proto.Field(proto.BOOL, number=5,)
420+
cancels_slot_filling = proto.Field(proto.BOOL, number=21,)
417421
fulfillment_text = proto.Field(proto.STRING, number=6,)
418422
fulfillment_messages = proto.RepeatedField(
419423
proto.MESSAGE, number=7, message=gcd_intent.Intent.Message,

0 commit comments

Comments
 (0)