Skip to content

Commit

Permalink
docs: fix docstring formatting (#564)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Nov 22, 2021
1 parent bf9c764 commit 7e9e1f7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ message ListVoicesRequest {
// Optional. Recommended.
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) 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-\*" (Norwegian Bokmal) voices; specifying "zh"
// will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
// supported "yue-\*" voices.
// 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-\*"` (Norwegian Bokmal) voices; specifying
// `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
// also get supported `"yue-\*"` voices.
string language_code = 1 [(google.api.field_behavior) = OPTIONAL];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ function main() {
* Optional. Recommended.
* BCP-47 (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) 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-\*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
* supported "yue-\*" voices.
* 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-\*"` (Norwegian Bokmal) voices; specifying
* `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
* also get supported `"yue-\*"` voices.
*/
// const languageCode = 'abc123'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,11 @@ export class TextToSpeechClient {
* Optional. Recommended.
* [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) 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-\*" (Norwegian Bokmal) voices; specifying "zh"
* will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
* supported "yue-\*" voices.
* 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-\*"` (Norwegian Bokmal) voices; specifying
* `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
* also get supported `"yue-\*"` voices.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
Expand Down

0 comments on commit 7e9e1f7

Please sign in to comment.