action = $action; } /** * @return string */ public function getAction() { return $this->action; } /** * @param GoogleCloudDialogflowCxV3beta1ToolCallResultError */ public function setError(GoogleCloudDialogflowCxV3beta1ToolCallResultError $error) { $this->error = $error; } /** * @return GoogleCloudDialogflowCxV3beta1ToolCallResultError */ public function getError() { return $this->error; } /** * @param array[] */ public function setOutputParameters($outputParameters) { $this->outputParameters = $outputParameters; } /** * @return array[] */ public function getOutputParameters() { return $this->outputParameters; } /** * @param string */ public function setTool($tool) { $this->tool = $tool; } /** * @return string */ public function getTool() { return $this->tool; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3beta1ToolCallResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1ToolCallResult');