Skip to content

Commit 3d1e8e7

Browse files
yoshi-automationbcoealexander-fenster
authored
build(secrets): begin migration to secret manager from keystore (#543)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * feat(secrets): begin migration to secret manager from keystore Source-Author: Benjamin E. Coe <[email protected]> Source-Date: Mon Jun 8 09:51:11 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 1c92077459db3dc50741e878f98b08c6261181e0 Source-Link: googleapis/synthtool@1c92077 Co-authored-by: Benjamin E. Coe <[email protected]> Co-authored-by: Alexander Fenster <[email protected]>
1 parent 097f8c9 commit 3d1e8e7

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

packages/google-cloud-translate/protos/protos.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
2929

3030
// Exported root namespace
31-
var $root = $protobuf.roots._google_cloud_translate_5_3_0_protos || ($protobuf.roots._google_cloud_translate_5_3_0_protos = {});
31+
var $root = $protobuf.roots._google_cloud_translate_protos || ($protobuf.roots._google_cloud_translate_protos = {});
3232

3333
$root.google = (function() {
3434

packages/google-cloud-translate/src/v3/translation_service_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ export class TranslationServiceClient {
101101
}
102102
opts.servicePath = opts.servicePath || servicePath;
103103
opts.port = opts.port || port;
104+
105+
// users can override the config from client side, like retry codes name.
106+
// The detailed structure of the clientConfig can be found here: https://github.com/googleapis/gax-nodejs/blob/master/src/gax.ts#L546
107+
// The way to override client config for Showcase API:
108+
//
109+
// const customConfig = {"interfaces": {"google.showcase.v1beta1.Echo": {"methods": {"Echo": {"retry_codes_name": "idempotent", "retry_params_name": "default"}}}}}
110+
// const showcaseClient = new showcaseClient({ projectId, customConfig });
104111
opts.clientConfig = opts.clientConfig || {};
105112

106113
const isBrowser = typeof window !== 'undefined';

packages/google-cloud-translate/src/v3beta1/translation_service_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ export class TranslationServiceClient {
101101
}
102102
opts.servicePath = opts.servicePath || servicePath;
103103
opts.port = opts.port || port;
104+
105+
// users can override the config from client side, like retry codes name.
106+
// The detailed structure of the clientConfig can be found here: https://github.com/googleapis/gax-nodejs/blob/master/src/gax.ts#L546
107+
// The way to override client config for Showcase API:
108+
//
109+
// const customConfig = {"interfaces": {"google.showcase.v1beta1.Echo": {"methods": {"Echo": {"retry_codes_name": "idempotent", "retry_params_name": "default"}}}}}
110+
// const showcaseClient = new showcaseClient({ projectId, customConfig });
104111
opts.clientConfig = opts.clientConfig || {};
105112

106113
const isBrowser = typeof window !== 'undefined';

packages/google-cloud-translate/synth.metadata

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-translate.git",
7-
"sha": "d0f5679b2e74c06e19feb0ff6935afc7bfa4ca10"
7+
"sha": "5dbeac4e9a3133a6008cd8fb882046fe4a9946bc"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "be74d3e532faa47eb59f1a0eaebde0860d1d8ab4"
22+
"sha": "1c92077459db3dc50741e878f98b08c6261181e0"
2323
}
2424
}
2525
],

packages/google-cloud-translate/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"outDir": "build",
66
"resolveJsonModule": true,
77
"lib": [
8-
"es2016",
8+
"es2018",
99
"dom"
1010
]
1111
},

0 commit comments

Comments
 (0)