Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler.
A handler that is triggered by the specified event.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#condition
def condition() -> ::String
Returns
- (::String) — Optional. The condition that must be satisfied to trigger this handler.
#condition=
def condition=(value) -> ::String
Parameter
- value (::String) — Optional. The condition that must be satisfied to trigger this handler.
Returns
- (::String) — Optional. The condition that must be satisfied to trigger this handler.
#event
def event() -> ::String
Returns
- (::String) — Required. The name of the event that triggers this handler.
#event=
def event=(value) -> ::String
Parameter
- value (::String) — Required. The name of the event that triggers this handler.
Returns
- (::String) — Required. The name of the event that triggers this handler.
#fulfillment
def fulfillment() -> ::Google::Cloud::Dialogflow::CX::V3::Fulfillment
Returns
- (::Google::Cloud::Dialogflow::CX::V3::Fulfillment) — Required. The fulfillment to call when the event occurs.
#fulfillment=
def fulfillment=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Fulfillment
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::Fulfillment) — Required. The fulfillment to call when the event occurs.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::Fulfillment) — Required. The fulfillment to call when the event occurs.