Public Member Functions | |
| None | __init__ (self, texttospeech.TextToSpeechAsyncClient client, dict[str, list[str]] voices, str language, vol.Schema options_schema) |
| TtsAudioType | async_get_tts_audio (self, str message, str language, dict[str, Any] options) |
Public Member Functions inherited from homeassistant.components.google_cloud.tts.BaseGoogleCloudProvider | |
| list[Voice]|None | async_get_supported_voices (self, str language) |
| str | default_language (self) |
| dict[str, Any] | default_options (self) |
| list[str] | supported_languages (self) |
| list[str] | supported_options (self) |
Public Attributes | |
| name | |
| None homeassistant.components.google_cloud.tts.GoogleCloudTTSProvider.__init__ | ( | self, | |
| texttospeech.TextToSpeechAsyncClient | client, | ||
| dict[str, list[str]] | voices, | ||
| str | language, | ||
| vol.Schema | options_schema | ||
| ) |
Init Google Cloud TTS service.
Reimplemented from homeassistant.components.google_cloud.tts.BaseGoogleCloudProvider.
| TtsAudioType homeassistant.components.google_cloud.tts.GoogleCloudTTSProvider.async_get_tts_audio | ( | self, | |
| str | message, | ||
| str | language, | ||
| dict[str, Any] | options | ||
| ) |
| homeassistant.components.google_cloud.tts.GoogleCloudTTSProvider.name |