@@ -459,25 +459,6 @@ message TextInput {
459459 string language_code = 2 ;
460460}
461461
462- // Events allow for matching intents by event name instead of the natural
463- // language input. For instance, input `<event: { name: "welcome_event",
464- // parameters: { name: "Sam" } }>` can trigger a personalized welcome response.
465- // The parameter `name` may be used by the agent in the response:
466- // `"Hello #welcome_event.name! What can I do for you today?"`.
467- message EventInput {
468- // Required. The unique identifier of the event.
469- string name = 1 ;
470-
471- // Optional. The collection of parameters associated with the event.
472- google.protobuf.Struct parameters = 2 ;
473-
474- // Required. The language of this query. See [Language
475- // Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/language)
476- // for a list of the currently supported language codes. Note that queries in
477- // the same session do not necessarily need to specify the same language.
478- string language_code = 3 ;
479- }
480-
481462// Audio encoding of the audio content sent in the conversational query request.
482463// Refer to the
483464// [Cloud Speech API
@@ -527,6 +508,25 @@ enum AudioEncoding {
527508 AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7 ;
528509}
529510
511+ // Events allow for matching intents by event name instead of the natural
512+ // language input. For instance, input `<event: { name: "welcome_event",
513+ // parameters: { name: "Sam" } }>` can trigger a personalized welcome response.
514+ // The parameter `name` may be used by the agent in the response:
515+ // `"Hello #welcome_event.name! What can I do for you today?"`.
516+ message EventInput {
517+ // Required. The unique identifier of the event.
518+ string name = 1 ;
519+
520+ // Optional. The collection of parameters associated with the event.
521+ google.protobuf.Struct parameters = 2 ;
522+
523+ // Required. The language of this query. See [Language
524+ // Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/language)
525+ // for a list of the currently supported language codes. Note that queries in
526+ // the same session do not necessarily need to specify the same language.
527+ string language_code = 3 ;
528+ }
529+
530530// Configures the types of sentiment analysis to perform.
531531message SentimentAnalysisRequestConfig {
532532 // Optional. Instructs the service to perform sentiment analysis on
0 commit comments