Class ListVoicesRequest (2.16.0)

ListVoicesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The top-level message sent by the client for the ListVoices method.


language_code str
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.