public sealed class ListVoicesRequest : IMessage<ListVoicesRequest>, IEquatable<ListVoicesRequest>, IDeepCloneable<ListVoicesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class ListVoicesRequest.
The top-level message sent by the client for the ListVoices
method.
Implements
IMessageListVoicesRequest, IEquatableListVoicesRequest, IDeepCloneableListVoicesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Assembly
Google.Cloud.TextToSpeech.V1.dll
Constructors
ListVoicesRequest()
public ListVoicesRequest()
ListVoicesRequest(ListVoicesRequest)
public ListVoicesRequest(ListVoicesRequest other)
Parameter | |
---|---|
Name | Description |
other | ListVoicesRequest |
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 "en-NZ"
,
all "en-NZ"
voices will be returned. If you specify "no"
, both
"no-\*"
(Norwegian) and "nb-\*"
(Norwegian Bokmal) voices will be
returned.
Property Value | |
---|---|
Type | Description |
string |