Class ListVoicesRequest (2.2.0)

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

The top-level message sent by the client for the ListVoices method.

Inheritance

Object > ListVoicesRequest

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

ListVoicesRequest()

public ListVoicesRequest()

ListVoicesRequest(ListVoicesRequest)

public ListVoicesRequest(ListVoicesRequest other)
Parameter
NameDescription
otherListVoicesRequest

Properties

LanguageCode

public string LanguageCode { get; set; }

Optional. Recommended. BCP-47 language tag. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. E.g. when specifying "en-NZ", you will get supported "en-*" voices; when specifying "no", you will get supported "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" will also get supported "cmn-*" voices; specifying "zh-hk" will also get supported "yue-*" voices.

Property Value
TypeDescription
String