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.
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eListVoicesRequest\u003c/code\u003e class for the Google Cloud Text-to-Speech v1 API is 3.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used as the top-level message in the \u003ccode\u003eListVoices\u003c/code\u003e method, sent by the client to initiate a request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eListVoicesRequest\u003c/code\u003e class 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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt has a \u003ccode\u003eLanguageCode\u003c/code\u003e property that accepts a BCP-47 language tag to filter the returned voices, defaulting to all supported voices if unspecified.\u003c/p\u003e\n"],["\u003cp\u003ePrevious versions of this class are also available, ranging from 3.9.0 back to version 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]