name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Optional. The preferred gender of the voice. If not set, the service will * choose a voice based on the other parameters such as language_code and * name. Note that this is only a preference, not requirement. If a voice of * the appropriate gender is not available, the synthesizer substitutes a * voice with a different gender rather than failing the request. * * Accepted values: SSML_VOICE_GENDER_UNSPECIFIED, SSML_VOICE_GENDER_MALE, * SSML_VOICE_GENDER_FEMALE, SSML_VOICE_GENDER_NEUTRAL * * @param self::SSML_GENDER_* $ssmlGender */ public function setSsmlGender($ssmlGender) { $this->ssmlGender = $ssmlGender; } /** * @return self::SSML_GENDER_* */ public function getSsmlGender() { return $this->ssmlGender; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3VoiceSelectionParams::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3VoiceSelectionParams');