Skip to content

Commit 8ce1934

Browse files
Google APIscopybara-github
authored andcommitted
docs: update comments for ListVoicesRequest
PiperOrigin-RevId: 424942023
1 parent 62aaca3 commit 8ce1934

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

google/cloud/texttospeech/v1/cloud_tts.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ service TextToSpeech {
6161
// The top-level message sent by the client for the `ListVoices` method.
6262
message ListVoicesRequest {
6363
// Optional. Recommended.
64-
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
65-
// specified, the ListVoices call will only return voices that can be used to
66-
// synthesize this language_code. E.g. when specifying `"en-NZ"`, you will get
67-
// supported `"en-\*"` voices; when specifying `"no"`, you will get supported
68-
// `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices; specifying
69-
// `"zh"` will also get supported `"cmn-\*"` voices; specifying `"zh-hk"` will
70-
// also get supported `"yue-\*"` voices.
64+
// [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
65+
// If not specified, the API will return all supported voices.
66+
// If specified, the ListVoices call will only return voices that can be used
67+
// to synthesize this language_code. For example, if you specify `"en-NZ"`,
68+
// all `"en-NZ"` voices will be returned. If you specify `"no"`, both
69+
// `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be
70+
// returned.
7171
string language_code = 1 [(google.api.field_behavior) = OPTIONAL];
7272
}
7373

0 commit comments

Comments
 (0)