Skip to content

Commit 7e9e1f7

Browse files
docs: fix docstring formatting (#564)
Committer: @parthea PiperOrigin-RevId: 409547475 Source-Link: googleapis/googleapis@4be99b0 Source-Link: googleapis/googleapis-gen@55a8479 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTVhODQ3OWUxZDRkNTE0ZTRlM2NjZmUxZjg1NTA2N2QxNDEyZjQwMSJ9 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent bf9c764 commit 7e9e1f7

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

packages/google-cloud-texttospeech/protos/google/cloud/texttospeech/v1/cloud_tts.proto

+5-5
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ message ListVoicesRequest {
5959
// Optional. Recommended.
6060
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
6161
// specified, the ListVoices call will only return voices that can be used to
62-
// synthesize this language_code. E.g. when specifying "en-NZ", you will get
63-
// supported "en-\*" voices; when specifying "no", you will get supported
64-
// "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
65-
// will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
66-
// supported "yue-\*" voices.
62+
// synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
63+
// supported `"en-\*"` voices; when specifying `"no"`, you will get supported
64+
// `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices; specifying
65+
// `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
66+
// also get supported `"yue-\*"` voices.
6767
string language_code = 1 [(google.api.field_behavior) = OPTIONAL];
6868
}
6969

packages/google-cloud-texttospeech/samples/generated/v1/text_to_speech.list_voices.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ function main() {
2323
* Optional. Recommended.
2424
* BCP-47 (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
2525
* specified, the ListVoices call will only return voices that can be used to
26-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
27-
* supported "en-\*" voices; when specifying "no", you will get supported
28-
* "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
29-
* will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
30-
* supported "yue-\*" voices.
26+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
27+
* supported `"en-\*"` voices; when specifying `"no"`, you will get supported
28+
* `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices; specifying
29+
* `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
30+
* also get supported `"yue-\*"` voices.
3131
*/
3232
// const languageCode = 'abc123'
3333

packages/google-cloud-texttospeech/src/v1/text_to_speech_client.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ export class TextToSpeechClient {
290290
* Optional. Recommended.
291291
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
292292
* specified, the ListVoices call will only return voices that can be used to
293-
* synthesize this language_code. E.g. when specifying "en-NZ", you will get
294-
* supported "en-\*" voices; when specifying "no", you will get supported
295-
* "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
296-
* will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
297-
* supported "yue-\*" voices.
293+
* synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
294+
* supported `"en-\*"` voices; when specifying `"no"`, you will get supported
295+
* `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices; specifying
296+
* `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
297+
* also get supported `"yue-\*"` voices.
298298
* @param {object} [options]
299299
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
300300
* @returns {Promise} - The promise which resolves to an array.

0 commit comments

Comments
 (0)