From 1474d2b3934b896248b9b802451ab8cbac72fa5c Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Thu, 25 Jun 2020 03:30:49 +0000 Subject: [PATCH] docs: fix dcostringsg --- .../cloud/texttospeech_v1/services/text_to_speech/client.py | 6 +++--- .../texttospeech_v1beta1/services/text_to_speech/client.py | 6 +++--- synth.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/google/cloud/texttospeech_v1/services/text_to_speech/client.py b/google/cloud/texttospeech_v1/services/text_to_speech/client.py index dadad936..b87cc114 100644 --- a/google/cloud/texttospeech_v1/services/text_to_speech/client.py +++ b/google/cloud/texttospeech_v1/services/text_to_speech/client.py @@ -228,11 +228,11 @@ def list_voices( language tag. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. E.g. when specifying "en-NZ", you will - get supported "en-*" voices; when specifying "no", you - will get supported "no-*" (Norwegian) and "nb-*" + get supported "en-\*" voices; when specifying "no", you + will get supported "no-\*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" will also get supported "cmn-*" voices; specifying "zh-hk" will also - get supported "yue-*" voices. + get supported "yue-\*" voices. This corresponds to the ``language_code`` field on the ``request`` instance; if ``request`` is provided, this should not be set. diff --git a/google/cloud/texttospeech_v1beta1/services/text_to_speech/client.py b/google/cloud/texttospeech_v1beta1/services/text_to_speech/client.py index 776bcac6..f885936b 100644 --- a/google/cloud/texttospeech_v1beta1/services/text_to_speech/client.py +++ b/google/cloud/texttospeech_v1beta1/services/text_to_speech/client.py @@ -228,11 +228,11 @@ def list_voices( language tag. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. E.g. when specifying "en-NZ", you will - get supported "en-*" voices; when specifying "no", you - will get supported "no-*" (Norwegian) and "nb-*" + get supported "en-\*" voices; when specifying "no", you + will get supported "no-\*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh" will also get supported "cmn-*" voices; specifying "zh-hk" will also - get supported "yue-*" voices. + get supported "yue-\*" voices. This corresponds to the ``language_code`` field on the ``request`` instance; if ``request`` is provided, this should not be set. diff --git a/synth.py b/synth.py index a6f6ba14..de6f4c92 100644 --- a/synth.py +++ b/synth.py @@ -32,7 +32,7 @@ # Sphinx interprets `*` as emphasis s.replace( - ["google/cloud/**/*_client.py", "google/cloud/**/cloud_tts.py"], + ["google/cloud/**/client.py", "google/cloud/**/cloud_tts.py"], "((en)|(no)|(nb)(cmn)|(yue))-\*", "\g<1>-\*", )