Struct google_dialogflow2::GoogleCloudDialogflowV2EventInput[][src]

pub struct GoogleCloudDialogflowV2EventInput {
    pub language_code: Option<String>,
    pub name: Option<String>,
    pub parameters: Option<HashMap<String, String>>,
}

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?”.

This type is not used in any activity, and only used as part of another schema.

Fields

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.

Required. The unique identifier of the event.

Optional. The collection of parameters associated with the event.

Trait Implementations

impl Default for GoogleCloudDialogflowV2EventInput
[src]

Returns the "default value" for a type. Read more

impl Clone for GoogleCloudDialogflowV2EventInput
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2EventInput
[src]

Formats the value using the given formatter. Read more

impl Part for GoogleCloudDialogflowV2EventInput
[src]

Auto Trait Implementations