TextToSpeech/src/V1/SynthesizeSpeechRequest.php
public function setAudioConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\TextToSpeech\V1\AudioConfig::class);
        $this->audio_config = $var;

        return $this;
    }
public function setAudioConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\TextToSpeech\V1\AudioConfig::class);
        $this->audio_config = $var;

        return $this;
    }
public function setAudioConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ TextToSpeech \ V1 \ AudioConfig :: class ) ; $ this -> audio_config = $ var ; return $ this ; }
Required. The configuration of the synthesized audio.

Generated from protobuf field <code>.google.cloud.texttospeech.v1.AudioConfig audio_config = 3;</code>
@param \Google\Cloud\TextToSpeech\V1\AudioConfig $var
@return $this
Required . The configuration of the synthesized audio .