Skip to content

Commit 557a666

Browse files
fix(translate): update the api
#### translate:v3 The following keys were changed: - resources.projects.methods.detectLanguage.scopes (Total Keys: 1) - resources.projects.methods.romanizeText.scopes (Total Keys: 1) - resources.projects.methods.translateText.scopes (Total Keys: 1) - resources.projects.resources.locations.methods.detectLanguage.scopes (Total Keys: 1) - resources.projects.resources.locations.methods.romanizeText.scopes (Total Keys: 1) - resources.projects.resources.locations.methods.translateText.scopes (Total Keys: 1) - resources.projects.resources.locations.resources.datasets.methods.create.scopes (Total Keys: 1) - resources.projects.resources.locations.resources.datasets.methods.get.scopes (Total Keys: 1) - resources.projects.resources.locations.resources.datasets.methods.list.scopes (Total Keys: 1) - resources.projects.resources.locations.resources.models.methods.list.scopes (Total Keys: 1)
1 parent b6c7e92 commit 557a666

File tree

2 files changed

+12
-22
lines changed

2 files changed

+12
-22
lines changed

googleapiclient/discovery_cache/documents/translate.v3.json

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@
135135
"$ref": "DetectLanguageResponse"
136136
},
137137
"scopes": [
138-
"https://www.googleapis.com/auth/cloud-platform",
139-
"https://www.googleapis.com/auth/cloud-translation"
138+
"https://www.googleapis.com/auth/cloud-platform"
140139
]
141140
},
142141
"getSupportedLanguages": {
@@ -199,8 +198,7 @@
199198
"$ref": "RomanizeTextResponse"
200199
},
201200
"scopes": [
202-
"https://www.googleapis.com/auth/cloud-platform",
203-
"https://www.googleapis.com/auth/cloud-translation"
201+
"https://www.googleapis.com/auth/cloud-platform"
204202
]
205203
},
206204
"translateText": {
@@ -228,8 +226,7 @@
228226
"$ref": "TranslateTextResponse"
229227
},
230228
"scopes": [
231-
"https://www.googleapis.com/auth/cloud-platform",
232-
"https://www.googleapis.com/auth/cloud-translation"
229+
"https://www.googleapis.com/auth/cloud-platform"
233230
]
234231
}
235232
},
@@ -317,8 +314,7 @@
317314
"$ref": "DetectLanguageResponse"
318315
},
319316
"scopes": [
320-
"https://www.googleapis.com/auth/cloud-platform",
321-
"https://www.googleapis.com/auth/cloud-translation"
317+
"https://www.googleapis.com/auth/cloud-platform"
322318
]
323319
},
324320
"get": {
@@ -449,8 +445,7 @@
449445
"$ref": "RomanizeTextResponse"
450446
},
451447
"scopes": [
452-
"https://www.googleapis.com/auth/cloud-platform",
453-
"https://www.googleapis.com/auth/cloud-translation"
448+
"https://www.googleapis.com/auth/cloud-platform"
454449
]
455450
},
456451
"translateDocument": {
@@ -507,8 +502,7 @@
507502
"$ref": "TranslateTextResponse"
508503
},
509504
"scopes": [
510-
"https://www.googleapis.com/auth/cloud-platform",
511-
"https://www.googleapis.com/auth/cloud-translation"
505+
"https://www.googleapis.com/auth/cloud-platform"
512506
]
513507
}
514508
},
@@ -540,8 +534,7 @@
540534
"$ref": "Operation"
541535
},
542536
"scopes": [
543-
"https://www.googleapis.com/auth/cloud-platform",
544-
"https://www.googleapis.com/auth/cloud-translation"
537+
"https://www.googleapis.com/auth/cloud-platform"
545538
]
546539
},
547540
"delete": {
@@ -621,8 +614,7 @@
621614
"$ref": "Dataset"
622615
},
623616
"scopes": [
624-
"https://www.googleapis.com/auth/cloud-platform",
625-
"https://www.googleapis.com/auth/cloud-translation"
617+
"https://www.googleapis.com/auth/cloud-platform"
626618
]
627619
},
628620
"importData": {
@@ -687,8 +679,7 @@
687679
"$ref": "ListDatasetsResponse"
688680
},
689681
"scopes": [
690-
"https://www.googleapis.com/auth/cloud-platform",
691-
"https://www.googleapis.com/auth/cloud-translation"
682+
"https://www.googleapis.com/auth/cloud-platform"
692683
]
693684
}
694685
},
@@ -1170,8 +1161,7 @@
11701161
"$ref": "ListModelsResponse"
11711162
},
11721163
"scopes": [
1173-
"https://www.googleapis.com/auth/cloud-platform",
1174-
"https://www.googleapis.com/auth/cloud-translation"
1164+
"https://www.googleapis.com/auth/cloud-platform"
11751165
]
11761166
}
11771167
}
@@ -1337,7 +1327,7 @@
13371327
}
13381328
}
13391329
},
1340-
"revision": "20230922",
1330+
"revision": "20231013",
13411331
"rootUrl": "https://translation.googleapis.com/",
13421332
"schemas": {
13431333
"BatchDocumentInputConfig": {

googleapiclient/discovery_cache/documents/translate.v3beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@
744744
}
745745
}
746746
},
747-
"revision": "20230922",
747+
"revision": "20231013",
748748
"rootUrl": "https://translation.googleapis.com/",
749749
"schemas": {
750750
"BatchDocumentInputConfig": {

0 commit comments

Comments
 (0)