TextToSpeech/src/V1/Voice.php
public function setSsmlGender($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\TextToSpeech\V1\SsmlVoiceGender::class);
        $this->ssml_gender = $var;

        return $this;
    }
public function setSsmlGender($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\TextToSpeech\V1\SsmlVoiceGender::class);
        $this->ssml_gender = $var;

        return $this;
    }
public function setSsmlGender ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ TextToSpeech \ V1 \ SsmlVoiceGender :: class ) ; $ this -> ssml_gender = $ var ; return $ this ; }
The gender of this voice.

Generated from protobuf field <code>.google.cloud.texttospeech.v1.SsmlVoiceGender ssml_gender = 3;</code>
@param int $var
@return $this
The gender of this voice .