Google Cloud Text-to-Speech v1beta1 API - Class Voice (2.0.0-beta07)

public sealed class Voice : IMessage<Voice>, IEquatable<Voice>, IDeepCloneable<Voice>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class Voice.

Description of a voice supported by the TTS service.

Inheritance

object > Voice

Namespace

Google.Cloud.TextToSpeech.V1Beta1

Assembly

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
RepeatedFieldstring

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
int

SsmlGender

public SsmlVoiceGender SsmlGender { get; set; }

The gender of this voice.

Property Value
Type Description
SsmlVoiceGender