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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Text-to-Speech V1 Client - Class SsmlVoiceGender (2.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.2 (latest)](/php/docs/reference/cloud-text-to-speech/latest/V1.SsmlVoiceGender)\n- [2.2.1](/php/docs/reference/cloud-text-to-speech/2.2.1/V1.SsmlVoiceGender)\n- [2.0.1](/php/docs/reference/cloud-text-to-speech/2.0.1/V1.SsmlVoiceGender)\n- [1.12.2](/php/docs/reference/cloud-text-to-speech/1.12.2/V1.SsmlVoiceGender)\n- [1.11.0](/php/docs/reference/cloud-text-to-speech/1.11.0/V1.SsmlVoiceGender)\n- [1.10.0](/php/docs/reference/cloud-text-to-speech/1.10.0/V1.SsmlVoiceGender)\n- [1.9.1](/php/docs/reference/cloud-text-to-speech/1.9.1/V1.SsmlVoiceGender)\n- [1.8.5](/php/docs/reference/cloud-text-to-speech/1.8.5/V1.SsmlVoiceGender)\n- [1.7.2](/php/docs/reference/cloud-text-to-speech/1.7.2/V1.SsmlVoiceGender)\n- [1.6.1](/php/docs/reference/cloud-text-to-speech/1.6.1/V1.SsmlVoiceGender)\n- [1.5.6](/php/docs/reference/cloud-text-to-speech/1.5.6/V1.SsmlVoiceGender)\n- [1.4.5](/php/docs/reference/cloud-text-to-speech/1.4.5/V1.SsmlVoiceGender) \nReference documentation and code samples for the Cloud Text-to-Speech V1 Client class SsmlVoiceGender.\n\nGender of the voice as described in\n[SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).\n\nProtobuf type `google.cloud.texttospeech.v1.SsmlVoiceGender`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ TextToSpeech \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### SSML_VOICE_GENDER_UNSPECIFIED\n\n Value: 0\n\nAn unspecified gender.\n\nIn VoiceSelectionParams, this means that the client doesn't care which\ngender the selected voice will have. In the Voice field of\nListVoicesResponse, this may mean that the voice doesn't fit any of the\nother categories in this enum, or that the gender of the voice isn't known.\n\nGenerated from protobuf enum `SSML_VOICE_GENDER_UNSPECIFIED = 0;`\n\n### MALE\n\n Value: 1\n\nA male voice.\n\nGenerated from protobuf enum `MALE = 1;`\n\n### FEMALE\n\n Value: 2\n\nA female voice.\n\nGenerated from protobuf enum `FEMALE = 2;`\n\n### NEUTRAL\n\n Value: 3\n\nA gender-neutral voice. This voice is not yet supported.\n\nGenerated from protobuf enum `NEUTRAL = 3;`"]]