Skip to content

Commit

Permalink
feat: added v3beta1 proto for online and batch document translation (#…
Browse files Browse the repository at this point in the history
…639)

PiperOrigin-RevId: 364358156
Source-Author: Google APIs <[email protected]>
Source-Date: Mon Mar 22 10:55:28 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: d6b4fb337caf6eccb606728ef727ac76364a4f14
Source-Link: googleapis/googleapis@d6b4fb3
  • Loading branch information
yoshi-automation authored Apr 7, 2021
1 parent 254ba13 commit b4ea831
Show file tree
Hide file tree
Showing 9 changed files with 9,387 additions and 3,105 deletions.

Large diffs are not rendered by default.

2,731 changes: 1,966 additions & 765 deletions packages/google-cloud-translate/protos/protos.d.ts

Large diffs are not rendered by default.

7,883 changes: 5,646 additions & 2,237 deletions packages/google-cloud-translate/protos/protos.js

Large diffs are not rendered by default.

382 changes: 378 additions & 4 deletions packages/google-cloud-translate/protos/protos.json

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions packages/google-cloud-translate/src/v3beta1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
"getSupportedLanguages"
]
},
"TranslateDocument": {
"methods": [
"translateDocument"
]
},
"GetGlossary": {
"methods": [
"getGlossary"
Expand All @@ -35,6 +40,11 @@
"batchTranslateText"
]
},
"BatchTranslateDocument": {
"methods": [
"batchTranslateDocument"
]
},
"CreateGlossary": {
"methods": [
"createGlossary"
Expand Down Expand Up @@ -72,6 +82,11 @@
"getSupportedLanguages"
]
},
"TranslateDocument": {
"methods": [
"translateDocument"
]
},
"GetGlossary": {
"methods": [
"getGlossary"
Expand All @@ -82,6 +97,11 @@
"batchTranslateText"
]
},
"BatchTranslateDocument": {
"methods": [
"batchTranslateDocument"
]
},
"CreateGlossary": {
"methods": [
"createGlossary"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,21 @@
"retry_codes_name": "idempotent",
"retry_params_name": "default"
},
"TranslateDocument": {
"timeout_millis": 600000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"BatchTranslateText": {
"timeout_millis": 600000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"BatchTranslateDocument": {
"timeout_millis": 600000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"CreateGlossary": {
"timeout_millis": 600000,
"retry_codes_name": "non_idempotent",
Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-translate/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-translate.git",
"sha": "a23635ac8bcf7ce9586785e387adc7925083f8f2"
"sha": "7c39b15c23e8f84ec682bb431ed2f48b5bb139e5"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "5477122b3e8037a1dc5bc920536158edbd151dc4",
"internalRef": "361273630"
"sha": "d6b4fb337caf6eccb606728ef727ac76364a4f14",
"internalRef": "364358156"
}
},
{
Expand Down
Loading

0 comments on commit b4ea831

Please sign in to comment.