This repository was archived by the owner on Nov 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-20
lines changed
google/cloud/texttospeech_v1beta1 Expand file tree Collapse file tree 3 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -182,13 +182,10 @@ async def list_voices(
182182 language tag. If not specified, the API will return all
183183 supported voices. If specified, the ListVoices call will
184184 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.
192189
193190 This corresponds to the ``language_code`` field
194191 on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -376,13 +376,10 @@ def list_voices(
376376 language tag. If not specified, the API will return all
377377 supported voices. If specified, the ListVoices call will
378378 only return voices that can be used to synthesize this
379- language_code. E.g. when specifying ``"en-NZ"``, you
380- will get supported ``"en-NZ"`` voices; when specifying
381- ``"no"``, you will get supported ``"no-\*"`` (Norwegian)
382- and ``"nb-\*"`` (Norwegian Bokmal) voices; specifying
383- ``"zh"`` will also get supported ``"cmn-\*"`` voices;
384- specifying ``"zh-hk"`` will also get supported
385- ``"yue-hk"`` voices.
379+ language_code. For example, if you specify ``"en-NZ"``,
380+ all ``"en-NZ"`` voices will be returned. If you specify
381+ ``"no"``, both ``"no-\*"`` (Norwegian) and ``"nb-\*"``
382+ (Norwegian Bokmal) voices will be returned.
386383
387384 This corresponds to the ``language_code`` field
388385 on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -69,12 +69,10 @@ class ListVoicesRequest(proto.Message):
6969 language tag. If not specified, the API will return all
7070 supported voices. If specified, the ListVoices call will
7171 only return voices that can be used to synthesize this
72- language_code. E.g. when specifying ``"en-NZ"``, you will
73- get supported ``"en-NZ"`` voices; when specifying ``"no"``,
74- you will get supported ``"no-\*"`` (Norwegian) and
75- ``"nb-\*"`` (Norwegian Bokmal) voices; specifying ``"zh"``
76- will also get supported ``"cmn-\*"`` voices; specifying
77- ``"zh-hk"`` will also get supported ``"yue-hk"`` voices.
72+ language_code. For example, if you specify ``"en-NZ"``, all
73+ ``"en-NZ"`` voices will be returned. If you specify
74+ ``"no"``, both ``"no-\*"`` (Norwegian) and ``"nb-\*"``
75+ (Norwegian Bokmal) voices will be returned.
7876 """
7977
8078 language_code = proto .Field (proto .STRING , number = 1 ,)
You can’t perform that action at this time.
0 commit comments