@@ -34,7 +34,8 @@ option objc_class_prefix = "GCS";
3434// Service that implements Google Cloud Speech Adaptation API.
3535service Adaptation {
3636 option (google.api.default_host ) = "speech.googleapis.com" ;
37- option (google.api.oauth_scopes ) = "https://www.googleapis.com/auth/cloud-platform" ;
37+ option (google.api.oauth_scopes ) =
38+ "https://www.googleapis.com/auth/cloud-platform" ;
3839
3940 // Create a set of phrase hints. Each item in the set can be a single word or
4041 // a multi-word phrase. The items in the PhraseSet are favored by the
@@ -86,7 +87,8 @@ service Adaptation {
8687 post : "/v1p1beta1/{parent=projects/*/locations/*}/customClasses"
8788 body : "*"
8889 };
89- option (google.api.method_signature ) = "parent,custom_class,custom_class_id" ;
90+ option (google.api.method_signature ) =
91+ "parent,custom_class,custom_class_id" ;
9092 }
9193
9294 // Get a custom class.
@@ -98,7 +100,8 @@ service Adaptation {
98100 }
99101
100102 // List custom classes.
101- rpc ListCustomClasses (ListCustomClassesRequest ) returns (ListCustomClassesResponse ) {
103+ rpc ListCustomClasses (ListCustomClassesRequest )
104+ returns (ListCustomClassesResponse ) {
102105 option (google.api.http ) = {
103106 get : "/v1p1beta1/{parent=projects/*/locations/*}/customClasses"
104107 };
@@ -115,7 +118,8 @@ service Adaptation {
115118 }
116119
117120 // Delete a custom class.
118- rpc DeleteCustomClass (DeleteCustomClassRequest ) returns (google.protobuf.Empty ) {
121+ rpc DeleteCustomClass (DeleteCustomClassRequest )
122+ returns (google.protobuf.Empty ) {
119123 option (google.api.http ) = {
120124 delete : "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}"
121125 };
@@ -125,15 +129,16 @@ service Adaptation {
125129
126130// Message sent by the client for the `CreatePhraseSet` method.
127131message CreatePhraseSetRequest {
128- // Required. The parent resource where this phrase set will be created. Format:
132+ // Required. The parent resource where this phrase set will be created.
133+ // Format:
129134 //
130135 // `projects/{project}/locations/{location}/phraseSets`
131136 //
132137 // Speech-to-Text supports three locations: `global`, `us` (US North America),
133138 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
134139 // endpoint, use the `global` location. To specify a region, use a
135- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
136- // `eu` location value.
140+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
141+ // with matching `us` or `eu` location value.
137142 string parent = 1 [
138143 (google.api.field_behavior ) = REQUIRED ,
139144 (google.api.resource_reference ) = {
@@ -164,8 +169,8 @@ message UpdatePhraseSetRequest {
164169 // Speech-to-Text supports three locations: `global`, `us` (US North America),
165170 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
166171 // endpoint, use the `global` location. To specify a region, use a
167- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
168- // `eu` location value.
172+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
173+ // with matching `us` or `eu` location value.
169174 PhraseSet phrase_set = 1 [(google.api.field_behavior ) = REQUIRED ];
170175
171176 // The list of fields to be updated.
@@ -181,8 +186,8 @@ message GetPhraseSetRequest {
181186 // Speech-to-Text supports three locations: `global`, `us` (US North America),
182187 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
183188 // endpoint, use the `global` location. To specify a region, use a
184- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
185- // `eu` location value.
189+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
190+ // with matching `us` or `eu` location value.
186191 string name = 1 [
187192 (google.api.field_behavior ) = REQUIRED ,
188193 (google.api.resource_reference ) = {
@@ -200,8 +205,8 @@ message ListPhraseSetRequest {
200205 // Speech-to-Text supports three locations: `global`, `us` (US North America),
201206 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
202207 // endpoint, use the `global` location. To specify a region, use a
203- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
204- // `eu` location value.
208+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
209+ // with matching `us` or `eu` location value.
205210 string parent = 1 [
206211 (google.api.field_behavior ) = REQUIRED ,
207212 (google.api.resource_reference ) = {
@@ -248,15 +253,16 @@ message DeletePhraseSetRequest {
248253
249254// Message sent by the client for the `CreateCustomClass` method.
250255message CreateCustomClassRequest {
251- // Required. The parent resource where this custom class will be created. Format:
256+ // Required. The parent resource where this custom class will be created.
257+ // Format:
252258 //
253259 // `projects/{project}/locations/{location}/customClasses`
254260 //
255261 // Speech-to-Text supports three locations: `global`, `us` (US North America),
256262 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
257263 // endpoint, use the `global` location. To specify a region, use a
258- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
259- // `eu` location value.
264+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
265+ // with matching `us` or `eu` location value.
260266 string parent = 1 [
261267 (google.api.field_behavior ) = REQUIRED ,
262268 (google.api.resource_reference ) = {
@@ -287,8 +293,8 @@ message UpdateCustomClassRequest {
287293 // Speech-to-Text supports three locations: `global`, `us` (US North America),
288294 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
289295 // endpoint, use the `global` location. To specify a region, use a
290- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
291- // `eu` location value.
296+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
297+ // with matching `us` or `eu` location value.
292298 CustomClass custom_class = 1 [(google.api.field_behavior ) = REQUIRED ];
293299
294300 // The list of fields to be updated.
@@ -317,8 +323,8 @@ message ListCustomClassesRequest {
317323 // Speech-to-Text supports three locations: `global`, `us` (US North America),
318324 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
319325 // endpoint, use the `global` location. To specify a region, use a
320- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
321- // `eu` location value.
326+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
327+ // with matching `us` or `eu` location value.
322328 string parent = 1 [
323329 (google.api.field_behavior ) = REQUIRED ,
324330 (google.api.resource_reference ) = {
@@ -359,8 +365,8 @@ message DeleteCustomClassRequest {
359365 // Speech-to-Text supports three locations: `global`, `us` (US North America),
360366 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
361367 // endpoint, use the `global` location. To specify a region, use a
362- // [regional endpoint](/ speech-to-text/docs/endpoints) with matching `us` or
363- // `eu` location value.
368+ // [regional endpoint](https://cloud.google.com/ speech-to-text/docs/endpoints)
369+ // with matching `us` or `eu` location value.
364370 string name = 1 [
365371 (google.api.field_behavior ) = REQUIRED ,
366372 (google.api.resource_reference ) = {
0 commit comments