Skip to content

Commit

Permalink
docs: update comments for ListVoicesRequest
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 424942023
  • Loading branch information
Google APIs authored and Copybara-Service committed Jan 28, 2022
1 parent 62aaca3 commit 8ce1934
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions google/cloud/texttospeech/v1/cloud_tts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ service TextToSpeech {
// The top-level message sent by the client for the `ListVoices` method.
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.
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
// If not specified, the API will return all supported voices.
// If specified, the ListVoices call will only return voices that can be used
// to synthesize this language_code. For example, if you specify `"en-NZ"`,
// all `"en-NZ"` voices will be returned. If you specify `"no"`, both
// `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be
// returned.
string language_code = 1 [(google.api.field_behavior) = OPTIONAL];
}

Expand Down

0 comments on commit 8ce1934

Please sign in to comment.