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

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.

Constants

SSML_VOICE_GENDER_UNSPECIFIED

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.

MALE

value: 1
A male voice.

FEMALE

value: 2
A female voice.

NEUTRAL

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