Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::Handler (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Handler.

Handler can be used to define custom logic to be executed based on the user-specified triggers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#event_handler

def event_handler() -> ::Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler
Returns

#event_handler=

def event_handler=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler
Parameter
Returns

#lifecycle_handler

def lifecycle_handler() -> ::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler
Returns
  • (::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler) — A handler triggered during specific lifecycle of the playbook execution.

    Note: The following fields are mutually exclusive: lifecycle_handler, event_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.

#lifecycle_handler=

def lifecycle_handler=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler
Parameter
  • value (::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler) — A handler triggered during specific lifecycle of the playbook execution.

    Note: The following fields are mutually exclusive: lifecycle_handler, event_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler) — A handler triggered during specific lifecycle of the playbook execution.

    Note: The following fields are mutually exclusive: lifecycle_handler, event_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.