@@ -125,9 +125,15 @@ service Adaptation {
125
125
126
126
// Message sent by the client for the `CreatePhraseSet` method.
127
127
message 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.
131
137
string parent = 1 [
132
138
(google.api.field_behavior ) = REQUIRED ,
133
139
(google.api.resource_reference ) = {
@@ -152,7 +158,14 @@ message UpdatePhraseSetRequest {
152
158
//
153
159
// The phrase set's `name` field is used to identify the set to be
154
160
// 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.
156
169
PhraseSet phrase_set = 1 [(google.api.field_behavior ) = REQUIRED ];
157
170
158
171
// The list of fields to be updated.
@@ -161,9 +174,15 @@ message UpdatePhraseSetRequest {
161
174
162
175
// Message sent by the client for the `GetPhraseSet` method.
163
176
message 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.
167
186
string name = 1 [
168
187
(google.api.field_behavior ) = REQUIRED ,
169
188
(google.api.resource_reference ) = {
@@ -174,9 +193,15 @@ message GetPhraseSetRequest {
174
193
175
194
// Message sent by the client for the `ListPhraseSet` method.
176
195
message 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.
180
205
string parent = 1 [
181
206
(google.api.field_behavior ) = REQUIRED ,
182
207
(google.api.resource_reference ) = {
@@ -210,9 +235,9 @@ message ListPhraseSetResponse {
210
235
211
236
// Message sent by the client for the `DeletePhraseSet` method.
212
237
message 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}`
216
241
string name = 1 [
217
242
(google.api.field_behavior ) = REQUIRED ,
218
243
(google.api.resource_reference ) = {
@@ -223,9 +248,15 @@ message DeletePhraseSetRequest {
223
248
224
249
// Message sent by the client for the `CreateCustomClass` method.
225
250
message 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.
229
260
string parent = 1 [
230
261
(google.api.field_behavior ) = REQUIRED ,
231
262
(google.api.resource_reference ) = {
@@ -250,7 +281,14 @@ message UpdateCustomClassRequest {
250
281
//
251
282
// The custom class's `name` field is used to identify the custom class to be
252
283
// 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.
254
292
CustomClass custom_class = 1 [(google.api.field_behavior ) = REQUIRED ];
255
293
256
294
// The list of fields to be updated.
@@ -259,9 +297,9 @@ message UpdateCustomClassRequest {
259
297
260
298
// Message sent by the client for the `GetCustomClass` method.
261
299
message 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}`
265
303
string name = 1 [
266
304
(google.api.field_behavior ) = REQUIRED ,
267
305
(google.api.resource_reference ) = {
@@ -272,9 +310,15 @@ message GetCustomClassRequest {
272
310
273
311
// Message sent by the client for the `ListCustomClasses` method.
274
312
message 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.
278
322
string parent = 1 [
279
323
(google.api.field_behavior ) = REQUIRED ,
280
324
(google.api.resource_reference ) = {
@@ -308,9 +352,15 @@ message ListCustomClassesResponse {
308
352
309
353
// Message sent by the client for the `DeleteCustomClass` method.
310
354
message 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.
314
364
string name = 1 [
315
365
(google.api.field_behavior ) = REQUIRED ,
316
366
(google.api.resource_reference ) = {
0 commit comments