Google Cloud Dialogflow V2 Client - Class SsmlVoiceGender (1.17.1)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SsmlVoiceGender.

Gender of the voice as described in SSML voice element.

Protobuf type google.cloud.dialogflow.v2.SsmlVoiceGender

Namespace

Google \ Cloud \ Dialogflow \ V2

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, which means that the client doesn't care which gender the selected voice will have.

Generated from protobuf enum SSML_VOICE_GENDER_UNSPECIFIED = 0;

SSML_VOICE_GENDER_MALE

Value: 1

A male voice.

Generated from protobuf enum SSML_VOICE_GENDER_MALE = 1;

SSML_VOICE_GENDER_FEMALE

Value: 2

A female voice.

Generated from protobuf enum SSML_VOICE_GENDER_FEMALE = 2;

SSML_VOICE_GENDER_NEUTRAL

Value: 3

A gender-neutral voice.

Generated from protobuf enum SSML_VOICE_GENDER_NEUTRAL = 3;