Class ListVoicesRequest (2.4.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 &quot;en-NZ&quot;, you will get supported &quot;en-\*&quot; voices; when specifying &quot;no&quot;, you will get supported &quot;no-\*&quot; (Norwegian) and &quot;nb-\*&quot; (Norwegian Bokmal) voices; specifying &quot;zh&quot; will also get supported &quot;cmn-\*&quot; voices; specifying &quot;zh-hk&quot; will also get supported &quot;yue-\*&quot; voices.

Property Value
TypeDescription
String