Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::WebhookResponse (v1.2.0)

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

The response message for a webhook call.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#fulfillment_response

def fulfillment_response() -> ::Google::Cloud::Dialogflow::CX::V3::WebhookResponse::FulfillmentResponse
Returns

#fulfillment_response=

def fulfillment_response=(value) -> ::Google::Cloud::Dialogflow::CX::V3::WebhookResponse::FulfillmentResponse
Parameter
Returns

#page_info

def page_info() -> ::Google::Cloud::Dialogflow::CX::V3::PageInfo
Returns

#page_info=

def page_info=(value) -> ::Google::Cloud::Dialogflow::CX::V3::PageInfo
Parameter
Returns

#payload

def payload() -> ::Google::Protobuf::Struct
Returns

#payload=

def payload=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#session_info

def session_info() -> ::Google::Cloud::Dialogflow::CX::V3::SessionInfo
Returns

#session_info=

def session_info=(value) -> ::Google::Cloud::Dialogflow::CX::V3::SessionInfo
Parameter
Returns

#target_flow

def target_flow() -> ::String
Returns
  • (::String) — The target flow to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

#target_flow=

def target_flow=(value) -> ::String
Parameter
  • value (::String) — The target flow to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.
Returns
  • (::String) — The target flow to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

#target_page

def target_page() -> ::String
Returns
  • (::String) — The target page to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.

#target_page=

def target_page=(value) -> ::String
Parameter
  • value (::String) — The target page to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.
Returns
  • (::String) — The target page to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.