Google Cloud Text-to-Speech v1 API - Enum SsmlVoiceGender (3.8.0)

publicenumSsmlVoiceGender

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API enum SsmlVoiceGender.

Gender of the voice as described in SSML voice element.

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Fields

Name Description
Female

A female voice.

Male

A male voice.

Neutral

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

Unspecified

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.