public sealed class EventInput : IMessage<EventInput>, IEquatable<EventInput>, IDeepCloneable<EventInput>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class EventInput.
Events allow for matching intents by event name instead of the natural
language input. For instance, input <event: { name: "welcome_event",
parameters: { name: "Sam" } }> can trigger a personalized welcome response.
The parameter name may be used by the agent in the response:
"Hello #welcome_event.name! What can I do for you today?".
Required. The language of this query. See Language
Support
for a list of the currently supported language codes. Note that queries in
the same session do not necessarily need to specify the same language.
This field is ignored when used in the context of a
[WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input]
field, because the language was already defined in the originating detect
intent request.
The collection of parameters associated with the event.
Depending on your protocol or client library language, this is a
map, associative array, symbol table, dictionary, or JSON object
composed of a collection of (MapKey, MapValue) pairs:
MapKey type: string
MapKey value: parameter name
MapValue type: If parameter's entity type is a composite entity then use
map, otherwise, depending on the parameter value type, it could be one of
string, number, boolean, null, list or map.
MapValue value: If parameter's entity type is a composite entity then use
map from composite entity property names to property values, otherwise,
use parameter value.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eEventInput\u003c/code\u003e class within the Google Cloud Dialogflow v2beta1 API, specifically for version 1.0.0-beta22.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEventInput\u003c/code\u003e is used to trigger intents by event name instead of natural language, allowing for personalized responses based on event parameters like name and the collection of parameters associated with the event.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eEventInput\u003c/code\u003e implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEventInput\u003c/code\u003e class has properties such as \u003ccode\u003eLanguageCode\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eParameters\u003c/code\u003e, which are essential for defining the event and its associated information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEventInput\u003c/code\u003e class can be constructed via the \u003ccode\u003eEventInput()\u003c/code\u003e constructor, or by providing an \u003ccode\u003eEventInput\u003c/code\u003e type to the \u003ccode\u003eEventInput(EventInput other)\u003c/code\u003e constructor.\u003c/p\u003e\n"]]],[],null,[]]