Skip to content

Commit d86aa88

Browse files
fix(speech): update the API
1 parent 2d76e1d commit d86aa88

File tree

2 files changed

+22
-44
lines changed

2 files changed

+22
-44
lines changed

src/apis/speech/v1.ts

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,8 +1898,7 @@ export namespace speech_v1 {
18981898
}
18991899
}
19001900

1901-
export interface Params$Resource$Projects$Locations$Customclasses$Create
1902-
extends StandardParameters {
1901+
export interface Params$Resource$Projects$Locations$Customclasses$Create extends StandardParameters {
19031902
/**
19041903
* Required. The parent resource where this custom class will be created. Format: `projects/{project\}/locations/{location\}/customClasses` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
19051904
*/
@@ -1910,22 +1909,19 @@ export namespace speech_v1 {
19101909
*/
19111910
requestBody?: Schema$CreateCustomClassRequest;
19121911
}
1913-
export interface Params$Resource$Projects$Locations$Customclasses$Delete
1914-
extends StandardParameters {
1912+
export interface Params$Resource$Projects$Locations$Customclasses$Delete extends StandardParameters {
19151913
/**
19161914
* Required. The name of the custom class to delete. Format: `projects/{project\}/locations/{location\}/customClasses/{custom_class\}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
19171915
*/
19181916
name?: string;
19191917
}
1920-
export interface Params$Resource$Projects$Locations$Customclasses$Get
1921-
extends StandardParameters {
1918+
export interface Params$Resource$Projects$Locations$Customclasses$Get extends StandardParameters {
19221919
/**
19231920
* Required. The name of the custom class to retrieve. Format: `projects/{project\}/locations/{location\}/customClasses/{custom_class\}`
19241921
*/
19251922
name?: string;
19261923
}
1927-
export interface Params$Resource$Projects$Locations$Customclasses$List
1928-
extends StandardParameters {
1924+
export interface Params$Resource$Projects$Locations$Customclasses$List extends StandardParameters {
19291925
/**
19301926
* The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
19311927
*/
@@ -1939,8 +1935,7 @@ export namespace speech_v1 {
19391935
*/
19401936
parent?: string;
19411937
}
1942-
export interface Params$Resource$Projects$Locations$Customclasses$Patch
1943-
extends StandardParameters {
1938+
export interface Params$Resource$Projects$Locations$Customclasses$Patch extends StandardParameters {
19441939
/**
19451940
* The resource name of the custom class.
19461941
*/
@@ -2711,8 +2706,7 @@ export namespace speech_v1 {
27112706
}
27122707
}
27132708

2714-
export interface Params$Resource$Projects$Locations$Phrasesets$Create
2715-
extends StandardParameters {
2709+
export interface Params$Resource$Projects$Locations$Phrasesets$Create extends StandardParameters {
27162710
/**
27172711
* Required. The parent resource where this phrase set will be created. Format: `projects/{project\}/locations/{location\}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
27182712
*/
@@ -2723,22 +2717,19 @@ export namespace speech_v1 {
27232717
*/
27242718
requestBody?: Schema$CreatePhraseSetRequest;
27252719
}
2726-
export interface Params$Resource$Projects$Locations$Phrasesets$Delete
2727-
extends StandardParameters {
2720+
export interface Params$Resource$Projects$Locations$Phrasesets$Delete extends StandardParameters {
27282721
/**
27292722
* Required. The name of the phrase set to delete. Format: `projects/{project\}/locations/{location\}/phraseSets/{phrase_set\}`
27302723
*/
27312724
name?: string;
27322725
}
2733-
export interface Params$Resource$Projects$Locations$Phrasesets$Get
2734-
extends StandardParameters {
2726+
export interface Params$Resource$Projects$Locations$Phrasesets$Get extends StandardParameters {
27352727
/**
27362728
* Required. The name of the phrase set to retrieve. Format: `projects/{project\}/locations/{location\}/phraseSets/{phrase_set\}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
27372729
*/
27382730
name?: string;
27392731
}
2740-
export interface Params$Resource$Projects$Locations$Phrasesets$List
2741-
extends StandardParameters {
2732+
export interface Params$Resource$Projects$Locations$Phrasesets$List extends StandardParameters {
27422733
/**
27432734
* The maximum number of phrase sets to return. The service may return fewer than this value. If unspecified, at most 50 phrase sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
27442735
*/
@@ -2752,8 +2743,7 @@ export namespace speech_v1 {
27522743
*/
27532744
parent?: string;
27542745
}
2755-
export interface Params$Resource$Projects$Locations$Phrasesets$Patch
2756-
extends StandardParameters {
2746+
export interface Params$Resource$Projects$Locations$Phrasesets$Patch extends StandardParameters {
27572747
/**
27582748
* The resource name of the phrase set.
27592749
*/
@@ -3072,8 +3062,7 @@ export namespace speech_v1 {
30723062
}
30733063
}
30743064

3075-
export interface Params$Resource$Speech$Longrunningrecognize
3076-
extends StandardParameters {
3065+
export interface Params$Resource$Speech$Longrunningrecognize extends StandardParameters {
30773066
/**
30783067
* Request body metadata
30793068
*/

src/apis/speech/v1p1beta1.ts

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,8 +1917,7 @@ export namespace speech_v1p1beta1 {
19171917
}
19181918
}
19191919

1920-
export interface Params$Resource$Projects$Locations$Customclasses$Create
1921-
extends StandardParameters {
1920+
export interface Params$Resource$Projects$Locations$Customclasses$Create extends StandardParameters {
19221921
/**
19231922
* Required. The parent resource where this custom class will be created. Format: `projects/{project\}/locations/{location\}/customClasses` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
19241923
*/
@@ -1929,22 +1928,19 @@ export namespace speech_v1p1beta1 {
19291928
*/
19301929
requestBody?: Schema$CreateCustomClassRequest;
19311930
}
1932-
export interface Params$Resource$Projects$Locations$Customclasses$Delete
1933-
extends StandardParameters {
1931+
export interface Params$Resource$Projects$Locations$Customclasses$Delete extends StandardParameters {
19341932
/**
19351933
* Required. The name of the custom class to delete. Format: `projects/{project\}/locations/{location\}/customClasses/{custom_class\}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
19361934
*/
19371935
name?: string;
19381936
}
1939-
export interface Params$Resource$Projects$Locations$Customclasses$Get
1940-
extends StandardParameters {
1937+
export interface Params$Resource$Projects$Locations$Customclasses$Get extends StandardParameters {
19411938
/**
19421939
* Required. The name of the custom class to retrieve. Format: `projects/{project\}/locations/{location\}/customClasses/{custom_class\}`
19431940
*/
19441941
name?: string;
19451942
}
1946-
export interface Params$Resource$Projects$Locations$Customclasses$List
1947-
extends StandardParameters {
1943+
export interface Params$Resource$Projects$Locations$Customclasses$List extends StandardParameters {
19481944
/**
19491945
* The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
19501946
*/
@@ -1958,8 +1954,7 @@ export namespace speech_v1p1beta1 {
19581954
*/
19591955
parent?: string;
19601956
}
1961-
export interface Params$Resource$Projects$Locations$Customclasses$Patch
1962-
extends StandardParameters {
1957+
export interface Params$Resource$Projects$Locations$Customclasses$Patch extends StandardParameters {
19631958
/**
19641959
* The resource name of the custom class.
19651960
*/
@@ -2730,8 +2725,7 @@ export namespace speech_v1p1beta1 {
27302725
}
27312726
}
27322727

2733-
export interface Params$Resource$Projects$Locations$Phrasesets$Create
2734-
extends StandardParameters {
2728+
export interface Params$Resource$Projects$Locations$Phrasesets$Create extends StandardParameters {
27352729
/**
27362730
* Required. The parent resource where this phrase set will be created. Format: `projects/{project\}/locations/{location\}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
27372731
*/
@@ -2742,22 +2736,19 @@ export namespace speech_v1p1beta1 {
27422736
*/
27432737
requestBody?: Schema$CreatePhraseSetRequest;
27442738
}
2745-
export interface Params$Resource$Projects$Locations$Phrasesets$Delete
2746-
extends StandardParameters {
2739+
export interface Params$Resource$Projects$Locations$Phrasesets$Delete extends StandardParameters {
27472740
/**
27482741
* Required. The name of the phrase set to delete. Format: `projects/{project\}/locations/{location\}/phraseSets/{phrase_set\}`
27492742
*/
27502743
name?: string;
27512744
}
2752-
export interface Params$Resource$Projects$Locations$Phrasesets$Get
2753-
extends StandardParameters {
2745+
export interface Params$Resource$Projects$Locations$Phrasesets$Get extends StandardParameters {
27542746
/**
27552747
* Required. The name of the phrase set to retrieve. Format: `projects/{project\}/locations/{location\}/phraseSets/{phrase_set\}` Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global` location. To specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or `eu` location value.
27562748
*/
27572749
name?: string;
27582750
}
2759-
export interface Params$Resource$Projects$Locations$Phrasesets$List
2760-
extends StandardParameters {
2751+
export interface Params$Resource$Projects$Locations$Phrasesets$List extends StandardParameters {
27612752
/**
27622753
* The maximum number of phrase sets to return. The service may return fewer than this value. If unspecified, at most 50 phrase sets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
27632754
*/
@@ -2771,8 +2762,7 @@ export namespace speech_v1p1beta1 {
27712762
*/
27722763
parent?: string;
27732764
}
2774-
export interface Params$Resource$Projects$Locations$Phrasesets$Patch
2775-
extends StandardParameters {
2765+
export interface Params$Resource$Projects$Locations$Phrasesets$Patch extends StandardParameters {
27762766
/**
27772767
* The resource name of the phrase set.
27782768
*/
@@ -3091,8 +3081,7 @@ export namespace speech_v1p1beta1 {
30913081
}
30923082
}
30933083

3094-
export interface Params$Resource$Speech$Longrunningrecognize
3095-
extends StandardParameters {
3084+
export interface Params$Resource$Speech$Longrunningrecognize extends StandardParameters {
30963085
/**
30973086
* Request body metadata
30983087
*/

0 commit comments

Comments
 (0)