Cloud Text-to-Speech V1 API - Module Google::Cloud::TextToSpeech::V1::SsmlVoiceGender (v0.6.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1 API module Google::Cloud::TextToSpeech::V1::SsmlVoiceGender.

Gender of the voice as described in SSML voice element.



value: 0
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.


value: 1
A male voice.


value: 2
A female voice.


value: 3
A gender-neutral voice. This voice is not yet supported.