@@ -125,9 +125,15 @@ service Adaptation {
125125
126126// Message sent by the client for the `CreatePhraseSet` method.
127127message CreatePhraseSetRequest {
128- // Required. The parent resource where this phrase set will be created.
129- // Format:
130- // {api_version}/projects/{project}/locations/{location}/phraseSets
128+ // Required. The parent resource where this phrase set will be created. Format:
129+ //
130+ // `projects/{project}/locations/{location}/phraseSets`
131+ //
132+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
133+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
134+ // 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.
131137 string parent = 1 [
132138 (google.api.field_behavior ) = REQUIRED ,
133139 (google.api.resource_reference ) = {
@@ -152,7 +158,14 @@ message UpdatePhraseSetRequest {
152158 //
153159 // The phrase set's `name` field is used to identify the set to be
154160 // updated. Format:
155- // {api_version}/projects/{project}/locations/{location}/phraseSets/{phrase_set}
161+ //
162+ // `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
163+ //
164+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
165+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
166+ // 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.
156169 PhraseSet phrase_set = 1 [(google.api.field_behavior ) = REQUIRED ];
157170
158171 // The list of fields to be updated.
@@ -161,9 +174,15 @@ message UpdatePhraseSetRequest {
161174
162175// Message sent by the client for the `GetPhraseSet` method.
163176message GetPhraseSetRequest {
164- // Required. The name of the phrase set to retrieve.
165- // Format:
166- // {api_version}/projects/{project}/locations/{location}/phraseSets/{phrase_set}
177+ // Required. The name of the phrase set to retrieve. Format:
178+ //
179+ // `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
180+ //
181+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
182+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
183+ // 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.
167186 string name = 1 [
168187 (google.api.field_behavior ) = REQUIRED ,
169188 (google.api.resource_reference ) = {
@@ -174,9 +193,15 @@ message GetPhraseSetRequest {
174193
175194// Message sent by the client for the `ListPhraseSet` method.
176195message ListPhraseSetRequest {
177- // Required. The parent, which owns this collection of phrase set.
178- // Format:
179- // projects/{project}/locations/{location}
196+ // Required. The parent, which owns this collection of phrase set. Format:
197+ //
198+ // `projects/{project}/locations/{location}`
199+ //
200+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
201+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
202+ // 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.
180205 string parent = 1 [
181206 (google.api.field_behavior ) = REQUIRED ,
182207 (google.api.resource_reference ) = {
@@ -210,9 +235,9 @@ message ListPhraseSetResponse {
210235
211236// Message sent by the client for the `DeletePhraseSet` method.
212237message DeletePhraseSetRequest {
213- // Required. The name of the phrase set to delete.
214- // Format:
215- // {api_version}/ projects/{project}/locations/{location}/phraseSets/{phrase_set}
238+ // Required. The name of the phrase set to delete. Format:
239+ //
240+ // ` projects/{project}/locations/{location}/phraseSets/{phrase_set}`
216241 string name = 1 [
217242 (google.api.field_behavior ) = REQUIRED ,
218243 (google.api.resource_reference ) = {
@@ -223,9 +248,15 @@ message DeletePhraseSetRequest {
223248
224249// Message sent by the client for the `CreateCustomClass` method.
225250message CreateCustomClassRequest {
226- // Required. The parent resource where this custom class will be created.
227- // Format:
228- // {api_version}/projects/{project}/locations/{location}/customClasses
251+ // Required. The parent resource where this custom class will be created. Format:
252+ //
253+ // `projects/{project}/locations/{location}/customClasses`
254+ //
255+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
256+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
257+ // 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.
229260 string parent = 1 [
230261 (google.api.field_behavior ) = REQUIRED ,
231262 (google.api.resource_reference ) = {
@@ -250,7 +281,14 @@ message UpdateCustomClassRequest {
250281 //
251282 // The custom class's `name` field is used to identify the custom class to be
252283 // updated. Format:
253- // {api_version}/projects/{project}/locations/{location}/customClasses/{custom_class}
284+ //
285+ // `projects/{project}/locations/{location}/customClasses/{custom_class}`
286+ //
287+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
288+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
289+ // 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.
254292 CustomClass custom_class = 1 [(google.api.field_behavior ) = REQUIRED ];
255293
256294 // The list of fields to be updated.
@@ -259,9 +297,9 @@ message UpdateCustomClassRequest {
259297
260298// Message sent by the client for the `GetCustomClass` method.
261299message GetCustomClassRequest {
262- // Required. The name of the custom class to retrieve.
263- // Format:
264- // {api_version}/ projects/{project}/locations/{location}/customClasses/{custom_class}
300+ // Required. The name of the custom class to retrieve. Format:
301+ //
302+ // ` projects/{project}/locations/{location}/customClasses/{custom_class}`
265303 string name = 1 [
266304 (google.api.field_behavior ) = REQUIRED ,
267305 (google.api.resource_reference ) = {
@@ -272,9 +310,15 @@ message GetCustomClassRequest {
272310
273311// Message sent by the client for the `ListCustomClasses` method.
274312message ListCustomClassesRequest {
275- // Required. The parent, which owns this collection of custom classes.
276- // Format:
277- // {api_version}/projects/{project}/locations/{location}/customClasses
313+ // Required. The parent, which owns this collection of custom classes. Format:
314+ //
315+ // `projects/{project}/locations/{location}/customClasses`
316+ //
317+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
318+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
319+ // 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.
278322 string parent = 1 [
279323 (google.api.field_behavior ) = REQUIRED ,
280324 (google.api.resource_reference ) = {
@@ -308,9 +352,15 @@ message ListCustomClassesResponse {
308352
309353// Message sent by the client for the `DeleteCustomClass` method.
310354message DeleteCustomClassRequest {
311- // Required. The name of the custom class to delete.
312- // Format:
313- // {api_version}/projects/{project}/locations/{location}/customClasses/{custom_class}
355+ // Required. The name of the custom class to delete. Format:
356+ //
357+ // `projects/{project}/locations/{location}/customClasses/{custom_class}`
358+ //
359+ // Speech-to-Text supports three locations: `global`, `us` (US North America),
360+ // and `eu` (Europe). If you are calling the `speech.googleapis.com`
361+ // 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.
314364 string name = 1 [
315365 (google.api.field_behavior ) = REQUIRED ,
316366 (google.api.resource_reference ) = {
0 commit comments