Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit d7258d8

Browse files
author
Takashi Matsuo
committed
rebased on the new commit
1 parent f69dc7f commit d7258d8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

google/cloud/texttospeech_v1/services/text_to_speech/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ def list_voices(
236236
language tag. If specified, the ListVoices call will
237237
only return voices that can be used to synthesize this
238238
language_code. E.g. when specifying "en-NZ", you will
239-
get supported "en-*" voices; when specifying "no", you
240-
will get supported "no-*" (Norwegian) and "nb-*"
239+
get supported "en-\*" voices; when specifying "no", you
240+
will get supported "no-\*" (Norwegian) and "nb-\*"
241241
(Norwegian Bokmal) voices; specifying "zh" will also get
242-
supported "cmn-*" voices; specifying "zh-hk" will also
243-
get supported "yue-*" voices.
242+
supported "cmn-\*" voices; specifying "zh-hk" will also
243+
get supported "yue-\*" voices.
244244
This corresponds to the ``language_code`` field
245245
on the ``request`` instance; if ``request`` is provided, this
246246
should not be set.

google/cloud/texttospeech_v1beta1/services/text_to_speech/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ def list_voices(
236236
language tag. If specified, the ListVoices call will
237237
only return voices that can be used to synthesize this
238238
language_code. E.g. when specifying "en-NZ", you will
239-
get supported "en-*" voices; when specifying "no", you
240-
will get supported "no-*" (Norwegian) and "nb-*"
239+
get supported "en-\*" voices; when specifying "no", you
240+
will get supported "no-\*" (Norwegian) and "nb-\*"
241241
(Norwegian Bokmal) voices; specifying "zh" will also get
242-
supported "cmn-*" voices; specifying "zh-hk" will also
243-
get supported "yue-*" voices.
242+
supported "cmn-\*" voices; specifying "zh-hk" will also
243+
get supported "yue-\*" voices.
244244
This corresponds to the ``language_code`` field
245245
on the ``request`` instance; if ``request`` is provided, this
246246
should not be set.

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "git@github.com:tmatsuo/python-texttospeech.git",
7-
"sha": "40dfcdc3acbab3613b6c45793a4563ba1657b0e6"
7+
"sha": "f69dc7feaa9933d4b0a734377270122e0843ffbf"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)