Class: Google::Cloud::Dialogflow::V2::EventInput
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::EventInput
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/session.rb
Overview
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?".
Instance Attribute Summary collapse
-
#language_code ⇒ ::String
Required.
-
#name ⇒ ::String
Required.
-
#parameters ⇒ ::Google::Protobuf::Struct
The collection of parameters associated with the event.
Instance Attribute Details
#language_code ⇒ ::String
703 704 705 706 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 703 class EventInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
703 704 705 706 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 703 class EventInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parameters ⇒ ::Google::Protobuf::Struct
703 704 705 706 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 703 class EventInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |