This repository was archived by the owner on Nov 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
google/cloud/texttospeech_v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,12 +179,13 @@ async def list_voices(
179179 `BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
180180 language tag. If specified, the ListVoices call will
181181 only return voices that can be used to synthesize this
182- language_code. E.g. when specifying "en-NZ", you will
183- get supported "en-\*" voices; when specifying "no", you
184- will get supported "no-\*" (Norwegian) and "nb-\*"
185- (Norwegian Bokmal) voices; specifying "zh" will also get
186- supported "cmn-\*" voices; specifying "zh-hk" will also
187- get supported "yue-\*" voices.
182+ language_code. E.g. when specifying ``"en-NZ"``, you
183+ will get supported ``"en-\*"`` voices; when specifying
184+ ``"no"``, you will get supported ``"no-\*"`` (Norwegian)
185+ and ``"nb-\*"`` (Norwegian Bokmal) voices; specifying
186+ ``"zh"`` will also get supported ``"cmn-\*"`` voices;
187+ specifying ``"zh-hk"`` will also get supported
188+ ``"yue-\*"`` voices.
188189
189190 This corresponds to the ``language_code`` field
190191 on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -359,12 +359,13 @@ def list_voices(
359359 `BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
360360 language tag. If specified, the ListVoices call will
361361 only return voices that can be used to synthesize this
362- language_code. E.g. when specifying "en-NZ", you will
363- get supported "en-\*" voices; when specifying "no", you
364- will get supported "no-\*" (Norwegian) and "nb-\*"
365- (Norwegian Bokmal) voices; specifying "zh" will also get
366- supported "cmn-\*" voices; specifying "zh-hk" will also
367- get supported "yue-\*" voices.
362+ language_code. E.g. when specifying ``"en-NZ"``, you
363+ will get supported ``"en-\*"`` voices; when specifying
364+ ``"no"``, you will get supported ``"no-\*"`` (Norwegian)
365+ and ``"nb-\*"`` (Norwegian Bokmal) voices; specifying
366+ ``"zh"`` will also get supported ``"cmn-\*"`` voices;
367+ specifying ``"zh-hk"`` will also get supported
368+ ``"yue-\*"`` voices.
368369
369370 This corresponds to the ``language_code`` field
370371 on the ``request`` instance; if ``request`` is provided, this
Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ class ListVoicesRequest(proto.Message):
6363 `BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
6464 language tag. If specified, the ListVoices call will only
6565 return voices that can be used to synthesize this
66- language_code. E.g. when specifying "en-NZ", you will get
67- supported "en-\*" voices; when specifying "no", you will get
68- supported "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal)
69- voices; specifying "zh" will also get supported "cmn-\*"
70- voices; specifying "zh-hk" will also get supported "yue -\*"
71- voices.
66+ language_code. E.g. when specifying `` "en-NZ"`` , you will
67+ get supported `` "en-\*"`` voices; when specifying `` "no"``,
68+ you will get supported `` "no-\*"`` (Norwegian) and
69+ ``"nb-\*"`` (Norwegian Bokmal) voices; specifying ``"zh"``
70+ will also get supported ``"cmn -\*"`` voices; specifying
71+ ``"zh-hk"`` will also get supported ``"yue-\*"`` voices.
7272 """
7373
7474 language_code = proto .Field (proto .STRING , number = 1 ,)
Original file line number Diff line number Diff line change 2424default_version = "v1"
2525
2626for library in s .get_staging_dirs (default_version ):
27- # Sphinx interprets `*` as emphasis
28- s .replace (
29- [library / "google/cloud/**/*client.py" , library / "google/cloud/**/cloud_tts.py" ],
30- "((en)|(no)|(nb)|(cmn)|(yue))-\*" ,
31- "\g<1>-\*" ,
32- )
33-
3427 s .move (library , excludes = ["setup.py" , "docs/index.rst" , "README.rst" ])
3528
3629s .remove_staging_dirs ()
You can’t perform that action at this time.
0 commit comments