You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/google-cloud-texttospeech/google/cloud/texttospeech_v1beta1/services/text_to_speech/async_client.py
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -182,13 +182,10 @@ async def list_voices(
182
182
language tag. If not specified, the API will return all
183
183
supported voices. If specified, the ListVoices call will
184
184
only return voices that can be used to synthesize this
185
-
language_code. E.g. when specifying ``"en-NZ"``, you
186
-
will get supported ``"en-NZ"`` voices; when specifying
187
-
``"no"``, you will get supported ``"no-\*"`` (Norwegian)
188
-
and ``"nb-\*"`` (Norwegian Bokmal) voices; specifying
189
-
``"zh"`` will also get supported ``"cmn-\*"`` voices;
190
-
specifying ``"zh-hk"`` will also get supported
191
-
``"yue-hk"`` voices.
185
+
language_code. For example, if you specify ``"en-NZ"``,
186
+
all ``"en-NZ"`` voices will be returned. If you specify
187
+
``"no"``, both ``"no-\*"`` (Norwegian) and ``"nb-\*"``
188
+
(Norwegian Bokmal) voices will be returned.
192
189
193
190
This corresponds to the ``language_code`` field
194
191
on the ``request`` instance; if ``request`` is provided, this
0 commit comments