Skip to content

Commit b3ec4cc

Browse files
feat(translate): update the API
#### translate:v3beta1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type #### translate:v3 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type
1 parent b7b124d commit b3ec4cc

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

‎discovery/translate-v3.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,12 @@
424424
"name"
425425
],
426426
"parameters": {
427+
"extraLocationTypes": {
428+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
429+
"location": "query",
430+
"repeated": true,
431+
"type": "string"
432+
},
427433
"filter": {
428434
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
429435
"location": "query",
@@ -1710,7 +1716,7 @@
17101716
}
17111717
}
17121718
},
1713-
"revision": "20241218",
1719+
"revision": "20250424",
17141720
"rootUrl": "https://translation.googleapis.com/",
17151721
"schemas": {
17161722
"AdaptiveMtDataset": {

‎discovery/translate-v3beta1.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,12 @@
366366
"name"
367367
],
368368
"parameters": {
369+
"extraLocationTypes": {
370+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
371+
"location": "query",
372+
"repeated": true,
373+
"type": "string"
374+
},
369375
"filter": {
370376
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
371377
"location": "query",
@@ -747,7 +753,7 @@
747753
}
748754
}
749755
},
750-
"revision": "20241218",
756+
"revision": "20250424",
751757
"rootUrl": "https://translation.googleapis.com/",
752758
"schemas": {
753759
"BatchDocumentInputConfig": {

‎src/apis/translate/v3.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2779,6 +2779,10 @@ export namespace translate_v3 {
27792779
}
27802780
export interface Params$Resource$Projects$Locations$List
27812781
extends StandardParameters {
2782+
/**
2783+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2784+
*/
2785+
extraLocationTypes?: string[];
27822786
/**
27832787
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
27842788
*/

‎src/apis/translate/v3beta1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,6 +1860,10 @@ export namespace translate_v3beta1 {
18601860
}
18611861
export interface Params$Resource$Projects$Locations$List
18621862
extends StandardParameters {
1863+
/**
1864+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
1865+
*/
1866+
extraLocationTypes?: string[];
18631867
/**
18641868
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
18651869
*/

0 commit comments

Comments
 (0)