Class Voice
Description of a voice supported by the TTS service.
Implements
Inherited Members
Namespace: Google.Apis.Texttospeech.v1beta1.Data
Assembly: Google.Apis.Texttospeech.v1beta1.dll
Syntax
public class Voice : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCodes
The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").
Declaration
[JsonProperty("languageCodes")]
public virtual IList<string> LanguageCodes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Name
The name of this voice. Each distinct voice has a unique name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NaturalSampleRateHertz
The natural sample rate (in hertz) for this voice.
Declaration
[JsonProperty("naturalSampleRateHertz")]
public virtual int? NaturalSampleRateHertz { get; set; }
Property Value
Type | Description |
---|---|
int? |
SsmlGender
The gender of this voice.
Declaration
[JsonProperty("ssmlGender")]
public virtual string SsmlGender { get; set; }
Property Value
Type | Description |
---|---|
string |