fulfillmentResponse = $fulfillmentResponse; } /** * @return GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse */ public function getFulfillmentResponse() { return $this->fulfillmentResponse; } /** * Information about page status. This field can be omitted by the webhook if * it does not intend to modify page status. * * @param GoogleCloudDialogflowCxV3beta1PageInfo $pageInfo */ public function setPageInfo(GoogleCloudDialogflowCxV3beta1PageInfo $pageInfo) { $this->pageInfo = $pageInfo; } /** * @return GoogleCloudDialogflowCxV3beta1PageInfo */ public function getPageInfo() { return $this->pageInfo; } /** * Value to append directly to QueryResult.webhook_payloads. * * @param array[] $payload */ public function setPayload($payload) { $this->payload = $payload; } /** * @return array[] */ public function getPayload() { return $this->payload; } /** * Information about session status. This field can be omitted by the webhook * if it does not intend to modify session status. * * @param GoogleCloudDialogflowCxV3beta1SessionInfo $sessionInfo */ public function setSessionInfo(GoogleCloudDialogflowCxV3beta1SessionInfo $sessionInfo) { $this->sessionInfo = $sessionInfo; } /** * @return GoogleCloudDialogflowCxV3beta1SessionInfo */ public function getSessionInfo() { return $this->sessionInfo; } /** * The target flow to transition to. Format: * `projects//locations//agents//flows/`. * * @param string $targetFlow */ public function setTargetFlow($targetFlow) { $this->targetFlow = $targetFlow; } /** * @return string */ public function getTargetFlow() { return $this->targetFlow; } /** * The target page to transition to. Format: * `projects//locations//agents//flows//pages/`. * * @param string $targetPage */ public function setTargetPage($targetPage) { $this->targetPage = $targetPage; } /** * @return string */ public function getTargetPage() { return $this->targetPage; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3beta1WebhookResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1WebhookResponse');