public sealed class Voice : IMessage<Voice>, IEquatable<Voice>, IDeepCloneable<Voice>, IBufferMessage, IMessage
Description of a voice supported by the TTS service.
Namespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
Voice()
public Voice()
Voice(Voice)
public Voice(Voice other)
Parameter | |
---|---|
Name | Description |
other | Voice |
Properties
LanguageCodes
public RepeatedField<string> LanguageCodes { get; }
The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Name
public string Name { get; set; }
The name of this voice. Each distinct voice has a unique name.
Property Value | |
---|---|
Type | Description |
String |
NaturalSampleRateHertz
public int NaturalSampleRateHertz { get; set; }
The natural sample rate (in hertz) for this voice.
Property Value | |
---|---|
Type | Description |
Int32 |
SsmlGender
public SsmlVoiceGender SsmlGender { get; set; }
The gender of this voice.
Property Value | |
---|---|
Type | Description |
SsmlVoiceGender |