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

1.12.1 (latest) 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.26.0 0.25.0 0.24.2 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.1 0.6.0 0.5.0 0.4.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**

- ([::Google::Cloud::Dialogflow::CX::V3::WebhookResponse::FulfillmentResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-WebhookResponse-FulfillmentResponse)) --- The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.

### #fulfillment_response=

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

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::CX::V3::WebhookResponse::FulfillmentResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-WebhookResponse-FulfillmentResponse)) --- The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.
**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::WebhookResponse::FulfillmentResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-WebhookResponse-FulfillmentResponse)) --- The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user.

### #page_info

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

**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::PageInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-PageInfo)) --- Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.

### #page_info=

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

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::CX::V3::PageInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-PageInfo)) --- Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.
**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::PageInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-PageInfo)) --- Information about page status. This field can be omitted by the webhook if it does not intend to modify page status.

### #payload

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

**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Protobuf-Struct)) --- Value to append directly to [QueryResult.webhook_payloads](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-QueryResult#Google__Cloud__Dialogflow__CX__V3__QueryResult_webhook_payloads_instance_ "Google::Cloud::Dialogflow::CX::V3::QueryResult#webhook_payloads (method)").

### #payload=

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

**Parameter**

- **value** ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Protobuf-Struct)) --- Value to append directly to [QueryResult.webhook_payloads](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-QueryResult#Google__Cloud__Dialogflow__CX__V3__QueryResult_webhook_payloads_instance_ "Google::Cloud::Dialogflow::CX::V3::QueryResult#webhook_payloads (method)").
**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Protobuf-Struct)) --- Value to append directly to [QueryResult.webhook_payloads](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-QueryResult#Google__Cloud__Dialogflow__CX__V3__QueryResult_webhook_payloads_instance_ "Google::Cloud::Dialogflow::CX::V3::QueryResult#webhook_payloads (method)").

### #session_info

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

**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::SessionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-SessionInfo)) --- Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.

### #session_info=

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

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::CX::V3::SessionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-SessionInfo)) --- Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.
**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::SessionInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-SessionInfo)) --- Information about session status. This field can be omitted by the webhook if it does not intend to modify session status.

### #target_flow

    def target_flow() -> ::String

**Returns**

- (::String) --- The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.


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

### #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>`.


  Note: The following fields are mutually exclusive: `target_flow`, `target_page`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::String) --- The target flow to transition to. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.


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

### #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>`.


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

### #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>`.


  Note: The following fields are mutually exclusive: `target_page`, `target_flow`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

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


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