Voice(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Description of a voice supported by the TTS service. .. attribute:: language_codes
The languages that this voice supports, expressed as
BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>
__
language tags (e.g. "en-US", "es-419", "cmn-tw").
:type: Sequence[str]
Attributes | |
---|---|
Name | Description |
name |
str
The name of this voice. Each distinct voice has a unique name. |
ssml_gender |
google.cloud.texttospeech_v1beta1.types.SsmlVoiceGender
The gender of this voice. |
natural_sample_rate_hertz |
int
The natural sample rate (in hertz) for this voice. |