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

PiperOrigin-RevId: 375489925
pull/744/head
Google APIs 4 years ago committed by Copybara-Service
parent 8266886699
commit a185afb982
  1. 1
      google/cloud/dialogflow/v2/BUILD.bazel
  2. 4
      google/cloud/dialogflow/v2/session.proto

@ -171,6 +171,7 @@ go_gapic_library(
"//google/longrunning:longrunning_go_proto",
"@com_google_cloud_go//longrunning:go_default_library",
"@com_google_cloud_go//longrunning/autogen:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
"@io_bazel_rules_go//proto/wkt:struct_go_proto",
],

@ -309,6 +309,10 @@ message QueryResult {
// matched intent doesn't contain any required parameters.
bool all_required_params_present = 5;
// Indicates whether the conversational query triggers a cancellation for slot
// filling.
bool cancels_slot_filling = 21;
// The text to be pronounced to the user or shown on the screen.
// Note: This is a legacy field, `fulfillment_messages` should be preferred.
string fulfillment_text = 6;

Loading…
Cancel
Save