public sealed class ListVoicesRequest : IMessage<ListVoicesRequest>, IEquatable<ListVoicesRequest>, IDeepCloneable<ListVoicesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class ListVoicesRequest.
The top-level message sent by the client for the ListVoices method.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eListVoicesRequest\u003c/code\u003e class is a top-level message used by clients for the \u003ccode\u003eListVoices\u003c/code\u003e method in the Google Cloud Text-to-Speech v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor and one that accepts another \u003ccode\u003eListVoicesRequest\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt has a \u003ccode\u003eLanguageCode\u003c/code\u003e property that allows users to specify a BCP-47 language tag to filter the returned voices.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eListVoicesRequest\u003c/code\u003e is 2.0.0-beta12, with older versions 2.0.0-beta11 and 1.0.0-beta04 also listed.\u003c/p\u003e\n"]]],[],null,[]]