Class: Google::Cloud::Dialogflow::CX::V3::EventHandler

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/page.rb

Overview

An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order:

  • If there is a trigger_fulfillment associated with the event, it will be called.
  • If there is a target_page associated with the event, the session will transition into the specified page.
  • If there is a target_flow associated with the event, the session will transition into the specified flow.

Instance Attribute Summary collapse

Instance Attribute Details

#event::String



269
270
271
272
# File 'proto_docs/google/cloud/dialogflow/cx/v3/page.rb', line 269

class EventHandler
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String (readonly)



269
270
271
272
# File 'proto_docs/google/cloud/dialogflow/cx/v3/page.rb', line 269

class EventHandler
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_flow::String



269
270
271
272
# File 'proto_docs/google/cloud/dialogflow/cx/v3/page.rb', line 269

class EventHandler
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_page::String



269
270
271
272
# File 'proto_docs/google/cloud/dialogflow/cx/v3/page.rb', line 269

class EventHandler
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#trigger_fulfillment::Google::Cloud::Dialogflow::CX::V3::Fulfillment



269
270
271
272
# File 'proto_docs/google/cloud/dialogflow/cx/v3/page.rb', line 269

class EventHandler
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end