|
1 | | -// Copyright 2018 Google Inc. |
| 1 | +// Copyright 2018 Google LLC. |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
|
11 | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | 12 | // See the License for the specific language governing permissions and |
13 | 13 | // limitations under the License. |
| 14 | +// |
14 | 15 |
|
15 | 16 | syntax = "proto3"; |
16 | 17 |
|
17 | | -package google.cloud.texttospeech.v1beta1; |
| 18 | +package google.cloud.texttospeech.v1; |
18 | 19 |
|
19 | 20 | import "google/api/annotations.proto"; |
20 | 21 |
|
21 | 22 | option cc_enable_arenas = true; |
22 | | -option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1;texttospeech"; |
| 23 | +option csharp_namespace = "Google.Cloud.TextToSpeech.V1"; |
| 24 | +option go_package = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1;texttospeech"; |
23 | 25 | option java_multiple_files = true; |
24 | 26 | option java_outer_classname = "TextToSpeechProto"; |
25 | | -option java_package = "com.google.cloud.texttospeech.v1beta1"; |
| 27 | +option java_package = "com.google.cloud.texttospeech.v1"; |
| 28 | +option php_namespace = "Google\\Cloud\\TextToSpeech\\V1"; |
26 | 29 |
|
27 | 30 |
|
28 | 31 | // Service that implements Google Cloud Text-to-Speech API. |
29 | 32 | service TextToSpeech { |
30 | | - // Returns a list of [Voice][google.cloud.texttospeech.v1beta1.Voice] |
31 | | - // supported for synthesis. |
| 33 | + // Returns a list of Voice supported for synthesis. |
32 | 34 | rpc ListVoices(ListVoicesRequest) returns (ListVoicesResponse) { |
33 | 35 | option (google.api.http) = { |
34 | | - get: "/v1beta1/voices" |
| 36 | + get: "/v1/voices" |
35 | 37 | }; |
36 | 38 | } |
37 | 39 |
|
38 | 40 | // Synthesizes speech synchronously: receive results after all text input |
39 | 41 | // has been processed. |
40 | 42 | rpc SynthesizeSpeech(SynthesizeSpeechRequest) returns (SynthesizeSpeechResponse) { |
41 | 43 | option (google.api.http) = { |
42 | | - post: "/v1beta1/text:synthesize" |
| 44 | + post: "/v1/text:synthesize" |
43 | 45 | body: "*" |
44 | 46 | }; |
45 | 47 | } |
@@ -175,6 +177,11 @@ message AudioConfig { |
175 | 177 | // An identifier which selects 'audio effects' profiles that are applied on |
176 | 178 | // (post synthesized) text to speech. |
177 | 179 | // Effects are applied on top of each other in the order they are given. |
| 180 | + // See |
| 181 | + // |
| 182 | + // [audio-profiles](https: |
| 183 | + // //cloud.google.com/text-to-speech/docs/audio-profiles) |
| 184 | + // for current supported profile ids. |
178 | 185 | repeated string effects_profile_id = 6; |
179 | 186 | } |
180 | 187 |
|
|
0 commit comments