Skip to content

Commit de729e9

Browse files
yoshi-automationalexander-fenstergcf-merge-on-green[bot]
authored
build(secrets): begin migration to secret manager from keystore (#281)
* 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: Alexander Fenster <[email protected]> Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
1 parent 32d4f44 commit de729e9

File tree

6 files changed

+25
-4
lines changed

6 files changed

+25
-4
lines changed

packages/google-cloud-securitycenter/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_security_center_4_0_0_protos || ($protobuf.roots._google_cloud_security_center_4_0_0_protos = {});
31+
var $root = $protobuf.roots._google_cloud_security_center_protos || ($protobuf.roots._google_cloud_security_center_protos = {});
3232

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

packages/google-cloud-securitycenter/src/v1/security_center_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ export class SecurityCenterClient {
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-securitycenter/src/v1beta1/security_center_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ export class SecurityCenterClient {
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-securitycenter/src/v1p1beta1/security_center_client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ export class SecurityCenterClient {
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-securitycenter/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-security-center.git",
7-
"sha": "f798376de3512133b3f1f4b112ba78c9b212a33b"
7+
"sha": "20e4b1e59990902c7d48310fd452d8709d63743c"
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-securitycenter/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)