Skip to content

Commit 71d6c7b

Browse files
feat(secrets): begin migration to secret manager from keystore (#399)
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 e83a7d9 commit 71d6c7b

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

packages/google-cloud-redis/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_redis_2_0_0_protos || ($protobuf.roots._google_cloud_redis_2_0_0_protos = {});
31+
var $root = $protobuf.roots._google_cloud_redis_protos || ($protobuf.roots._google_cloud_redis_protos = {});
3232

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

packages/google-cloud-redis/src/v1/cloud_redis_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ export class CloudRedisClient {
115115
}
116116
opts.servicePath = opts.servicePath || servicePath;
117117
opts.port = opts.port || port;
118+
119+
// users can override the config from client side, like retry codes name.
120+
// The detailed structure of the clientConfig can be found here: https://github.com/googleapis/gax-nodejs/blob/master/src/gax.ts#L546
121+
// The way to override client config for Showcase API:
122+
//
123+
// const customConfig = {"interfaces": {"google.showcase.v1beta1.Echo": {"methods": {"Echo": {"retry_codes_name": "idempotent", "retry_params_name": "default"}}}}}
124+
// const showcaseClient = new showcaseClient({ projectId, customConfig });
118125
opts.clientConfig = opts.clientConfig || {};
119126

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

packages/google-cloud-redis/src/v1beta1/cloud_redis_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ export class CloudRedisClient {
115115
}
116116
opts.servicePath = opts.servicePath || servicePath;
117117
opts.port = opts.port || port;
118+
119+
// users can override the config from client side, like retry codes name.
120+
// The detailed structure of the clientConfig can be found here: https://github.com/googleapis/gax-nodejs/blob/master/src/gax.ts#L546
121+
// The way to override client config for Showcase API:
122+
//
123+
// const customConfig = {"interfaces": {"google.showcase.v1beta1.Echo": {"methods": {"Echo": {"retry_codes_name": "idempotent", "retry_params_name": "default"}}}}}
124+
// const showcaseClient = new showcaseClient({ projectId, customConfig });
118125
opts.clientConfig = opts.clientConfig || {};
119126

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

packages/google-cloud-redis/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-redis.git",
7-
"sha": "c86656138bf13cfd56a218fb54dbcb25cb4ab1e8"
7+
"sha": "4855114e325b8f2650ac5eff13778c5220aae42e"
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-redis/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)