payload = $payload; } /** * @return array[] */ public function getPayload() { return $this->payload; } /** * The source of this request, e.g., `google`, `facebook`, `slack`. It is set * by Dialogflow-owned servers. * * @param string $source */ public function setSource($source) { $this->source = $source; } /** * @return string */ public function getSource() { return $this->source; } /** * Optional. The version of the protocol used for this request. This field is * AoG-specific. * * @param string $version */ public function setVersion($version) { $this->version = $version; } /** * @return string */ public function getVersion() { return $this->version; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest');