Skip to content

Commit 8d79907

Browse files
feat(secrets): begin migration to secret manager from keystore (#605)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/8d5e906d-0de4-4e28-b374-7d5fd4a1ce62/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@1c92077
1 parent 9ec517c commit 8d79907

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

packages/google-cloud-node/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_speech_4_0_0_protos || ($protobuf.roots._google_cloud_speech_4_0_0_protos = {});
31+
var $root = $protobuf.roots._google_cloud_speech_protos || ($protobuf.roots._google_cloud_speech_protos = {});
3232

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

packages/google-cloud-node/src/v1/speech_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ export class SpeechClient {
9696
}
9797
opts.servicePath = opts.servicePath || servicePath;
9898
opts.port = opts.port || port;
99+
100+
// users can override the config from client side, like retry codes name.
101+
// The detailed structure of the clientConfig can be found here: https://github.com/googleapis/gax-nodejs/blob/master/src/gax.ts#L546
102+
// The way to override client config for Showcase API:
103+
//
104+
// const customConfig = {"interfaces": {"google.showcase.v1beta1.Echo": {"methods": {"Echo": {"retry_codes_name": "idempotent", "retry_params_name": "default"}}}}}
105+
// const showcaseClient = new showcaseClient({ projectId, customConfig });
99106
opts.clientConfig = opts.clientConfig || {};
100107

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

packages/google-cloud-node/src/v1p1beta1/speech_client.ts

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

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

packages/google-cloud-node/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-speech.git",
7-
"sha": "e16ec91a8e58e9347d881bda1a101fd080cc5f6b"
7+
"sha": "3af749c8f705d92dba12169ba97c176ff3006a31"
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-node/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)