Class ListVoicesRequest (3.0.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 not specified, the API will return all supported voices. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. For example, if you specify &quot;en-NZ&quot;, all &quot;en-NZ&quot; voices will be returned. If you specify &quot;no&quot;, both &quot;no-\*&quot; (Norwegian) and &quot;nb-\*&quot; (Norwegian Bokmal) voices will be returned.

Property Value
TypeDescription
String