audioConfig = $audioConfig; } /** * @return AudioConfig */ public function getAudioConfig() { return $this->audioConfig; } /** * Required. The Synthesizer requires either plain text or SSML as input. * * @param SynthesisInput $input */ public function setInput(SynthesisInput $input) { $this->input = $input; } /** * @return SynthesisInput */ public function getInput() { return $this->input; } /** * Required. Specifies a Cloud Storage URI for the synthesis results. Must be * specified in the format: `gs://bucket_name/object_name`, and the bucket * must already exist. * * @param string $outputGcsUri */ public function setOutputGcsUri($outputGcsUri) { $this->outputGcsUri = $outputGcsUri; } /** * @return string */ public function getOutputGcsUri() { return $this->outputGcsUri; } /** * Required. The desired voice of the synthesized audio. * * @param VoiceSelectionParams $voice */ public function setVoice(VoiceSelectionParams $voice) { $this->voice = $voice; } /** * @return VoiceSelectionParams */ public function getVoice() { return $this->voice; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SynthesizeLongAudioRequest::class, 'Google_Service_Texttospeech_SynthesizeLongAudioRequest');