ssmlGender property
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 should substitute a voice with a different gender rather than failing the request. Possible string values are:
- "SSML_VOICE_GENDER_UNSPECIFIED" : An unspecified gender. In VoiceSelectionParams, this means that the client doesn't care which gender the selected voice will have. In the Voice field of ListVoicesResponse, this may mean that the voice doesn't fit any of the other categories in this enum, or that the gender of the voice isn't known.
- "MALE" : A male voice.
- "FEMALE" : A female voice.
- "NEUTRAL" : A gender-neutral voice. This voice is not yet supported.
Implementation
core.String? ssmlGender;