# Cloud Text-to-Speech V1 Client - Class SsmlVoiceGender (2.8.0)

2.8.0 (latest) 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.2 2.0.1 1.12.2 1.11.0 1.10.0 1.9.1 1.8.5 1.7.2 1.6.1 1.5.6 1.4.5 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](https://www.w3.org/TR/speech-synthesis11/#edef_voice).

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;`