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

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

A handler that is triggered on the specific lifecycle_stage of the playbook execution.

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.

#fulfillment

def fulfillment() -> ::Google::Cloud::Dialogflow::CX::V3::Fulfillment
Returns

#fulfillment=

def fulfillment=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Fulfillment
Parameter
Returns

#lifecycle_stage

def lifecycle_stage() -> ::String
Returns
  • (::String) —

    Required. The name of the lifecycle stage that triggers this handler. Supported values:

    • playbook-start
    • pre-action-selection
    • pre-action-execution

#lifecycle_stage=

def lifecycle_stage=(value) -> ::String
Parameter
  • value (::String) —

    Required. The name of the lifecycle stage that triggers this handler. Supported values:

    • playbook-start
    • pre-action-selection
    • pre-action-execution
Returns
  • (::String) —

    Required. The name of the lifecycle stage that triggers this handler. Supported values:

    • playbook-start
    • pre-action-selection
    • pre-action-execution