This repository was archived by the owner on Jul 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +158
-12
lines changed
google/cloud/dialogflow/cx/v3 Expand file tree Collapse file tree 7 files changed +158
-12
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,20 @@ message Flow {
225225 // get executed, with the rest being ignored.
226226 repeated EventHandler event_handlers = 10 ;
227227
228+ // A flow's transition route group serve two purposes:
229+ //
230+ // * They are responsible for matching the user's first utterances in the
231+ // flow.
232+ // * They are inherited by every page's [transition
233+ // route groups][Page.transition_route_groups]. Transition route groups
234+ // defined in the page have higher priority than those defined in the flow.
235+ //
236+ // Format:`projects/<Project ID>/locations/<Location ID>/agents/<Agent
237+ // ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>`.
238+ repeated string transition_route_groups = 15 [(google.api.resource_reference ) = {
239+ type : "dialogflow.googleapis.com/TransitionRouteGroup"
240+ }];
241+
228242 // NLU related settings of the flow.
229243 NluSettings nlu_settings = 11 ;
230244}
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ message Intent {
199199 // fallback intents act as negative examples that triggers no-match event.
200200 bool is_fallback = 6 ;
201201
202- // Optional. The key/value metadata to label an intent. Labels can contain
202+ // The key/value metadata to label an intent. Labels can contain
203203 // lowercase letters, digits and the symbols '-' and '_'. International
204204 // characters are allowed, including letters from unicase alphabets. Keys must
205205 // start with a letter. Keys and values can be no longer than 63 characters
@@ -211,11 +211,11 @@ message Intent {
211211 // * sys.contextual
212212 // The above labels do not require value. "sys.head" means the intent is a
213213 // head intent. "sys.contextual" means the intent is a contextual intent.
214- map <string , string > labels = 7 [ (google.api .field_behavior ) = OPTIONAL ] ;
214+ map <string , string > labels = 7 ;
215215
216- // Optional. Human readable description for better understanding an intent like its
216+ // Human readable description for better understanding an intent like its
217217 // scope, content, result etc. Maximum character limit: 140 characters.
218- string description = 8 [ (google.api .field_behavior ) = OPTIONAL ] ;
218+ string description = 8 ;
219219}
220220
221221// The request message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents].
Original file line number Diff line number Diff line change @@ -388,6 +388,21 @@ message QueryParameters {
388388 // - Else: parameter value
389389 google.protobuf.Struct parameters = 5 ;
390390
391+ // The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to override the [current
392+ // page][QueryResult.current_page] in the session. Format: `projects/<Project
393+ // ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`.
394+ //
395+ // If `current_page` is specified, the previous state of the session will be
396+ // ignored by Dialogflow, including the [previous
397+ // page][QueryResult.current_page] and the [previous session
398+ // parameters][QueryResult.parameters].
399+ // In most cases, [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] and
400+ // [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] should be configured together to
401+ // direct a session to a specific state.
402+ string current_page = 6 [(google.api.resource_reference ) = {
403+ type : "dialogflow.googleapis.com/Page"
404+ }];
405+
391406 // Whether to disable webhook calls for this request.
392407 bool disable_webhook = 7 ;
393408
Original file line number Diff line number Diff line change @@ -314,6 +314,10 @@ message WebhookRequest {
314314 string trigger_event = 14 ;
315315 }
316316
317+ // The language code specified in the [original
318+ // request][QueryInput.language_code].
319+ string language_code = 15 ;
320+
317321 // Always present. Information about the fulfillment that triggered this
318322 // webhook call.
319323 FulfillmentInfo fulfillment_info = 6 ;
You can’t perform that action at this time.
0 commit comments