Class VoicesResource.ListRequest
Returns a list of Voice supported for synthesis.
Inheritance
VoicesResource.ListRequest
Inherited Members
Namespace: Google.Apis.Texttospeech.v1
Assembly: Google.Apis.Texttospeech.v1.dll
Syntax
public class VoicesResource.ListRequest : TexttospeechBaseServiceRequest<ListVoicesResponse>, IClientServiceRequest<ListVoicesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCode
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.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()