Skip to content

Commit

Permalink
fix(translate): update the API
Browse files Browse the repository at this point in the history
#### translate:v3beta1

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description
- resources.projects.resources.locations.methods.list.parameters.pageSize.description

#### translate:v3

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/cloud-platform.description
- resources.projects.resources.locations.methods.list.parameters.pageSize.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 20, 2021
1 parent f444491 commit 0e25f2f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions discovery/translate-v3.json
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
},
"https://www.googleapis.com/auth/cloud-translation": {
"description": "Translate text from one language to another using Google Translate"
Expand Down Expand Up @@ -349,7 +349,7 @@
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service will select a default.",
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -687,7 +687,7 @@
}
}
},
"revision": "20210312",
"revision": "20210412",
"rootUrl": "https://translation.googleapis.com/",
"schemas": {
"BatchTranslateTextRequest": {
Expand Down
6 changes: 3 additions & 3 deletions discovery/translate-v3beta1.json
Expand Up @@ -3,7 +3,7 @@
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
"description": "See, edit, configure, and delete your Google Cloud Platform data"
},
"https://www.googleapis.com/auth/cloud-translation": {
"description": "Translate text from one language to another using Google Translate"
Expand Down Expand Up @@ -349,7 +349,7 @@
"type": "string"
},
"pageSize": {
"description": "The maximum number of results to return. If not set, the service will select a default.",
"description": "The maximum number of results to return. If not set, the service selects a default.",
"format": "int32",
"location": "query",
"type": "integer"
Expand Down Expand Up @@ -687,7 +687,7 @@
}
}
},
"revision": "20210312",
"revision": "20210412",
"rootUrl": "https://translation.googleapis.com/",
"schemas": {
"BatchTranslateTextRequest": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/translate/v3.ts
Expand Up @@ -1649,7 +1649,7 @@ export namespace translate_v3 {
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The maximum number of results to return. If not set, the service will select a default.
* // The maximum number of results to return. If not set, the service selects a default.
* pageSize: 'placeholder-value',
* // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
* pageToken: 'placeholder-value',
Expand Down Expand Up @@ -1971,7 +1971,7 @@ export namespace translate_v3 {
*/
name?: string;
/**
* The maximum number of results to return. If not set, the service will select a default.
* The maximum number of results to return. If not set, the service selects a default.
*/
pageSize?: number;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/apis/translate/v3beta1.ts
Expand Up @@ -1649,7 +1649,7 @@ export namespace translate_v3beta1 {
* filter: 'placeholder-value',
* // The resource that owns the locations collection, if applicable.
* name: 'projects/my-project',
* // The maximum number of results to return. If not set, the service will select a default.
* // The maximum number of results to return. If not set, the service selects a default.
* pageSize: 'placeholder-value',
* // A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
* pageToken: 'placeholder-value',
Expand Down Expand Up @@ -1971,7 +1971,7 @@ export namespace translate_v3beta1 {
*/
name?: string;
/**
* The maximum number of results to return. If not set, the service will select a default.
* The maximum number of results to return. If not set, the service selects a default.
*/
pageSize?: number;
/**
Expand Down

0 comments on commit 0e25f2f

Please sign in to comment.