Cloud Text-to-Speech V1 Client - Class SsmlVoiceGender (1.9.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class SsmlVoiceGender.

Gender of the voice as described in SSML voice element.

Protobuf type google.cloud.texttospeech.v1.SsmlVoiceGender

Namespace

Google \ Cloud \ TextToSpeech \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

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.

Generated from protobuf enum SSML_VOICE_GENDER_UNSPECIFIED = 0;

MALE

Value: 1

A male voice.

Generated from protobuf enum MALE = 1;

FEMALE

Value: 2

A female voice.

Generated from protobuf enum FEMALE = 2;

NEUTRAL

Value: 3

A gender-neutral voice. This voice is not yet supported.

Generated from protobuf enum NEUTRAL = 3;