Class: Google::Cloud::Dialogflow::V2::EventInput

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb

Overview

Events allow for matching intents by event name instead of the natural language input. For instance, input ++ 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?”+.

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

Returns 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.

Returns:

  • (String)

    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.



400
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 400

class EventInput; end

#nameString

Returns Required. The unique identifier of the event.

Returns:

  • (String)

    Required. The unique identifier of the event.



400
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 400

class EventInput; end

#parametersGoogle::Protobuf::Struct

Returns Optional. The collection of parameters associated with the event.

Returns:



400
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb', line 400

class EventInput; end