Skip to content

Commit 18b84f7

Browse files
chore: new owl bot post processor docker image (#169)
gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:f93bb861d6f12574437bb9aee426b71eafd63b419669ff0ed029f4b7e7162e3f
1 parent 05129bc commit 18b84f7

4 files changed

Lines changed: 96 additions & 115 deletions

File tree

packages/google-monitoring-dashboard/protos/protos.d.ts

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-monitoring-dashboard/protos/protos.js

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-monitoring-dashboard/src/v1/dashboards_service_client.ts

Lines changed: 37 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,14 @@ export class DashboardsServiceClient {
241241
];
242242
for (const methodName of dashboardsServiceStubMethods) {
243243
const callPromise = this.dashboardsServiceStub.then(
244-
stub => (...args: Array<{}>) => {
245-
if (this._terminated) {
246-
return Promise.reject('The client has already been closed.');
247-
}
248-
const func = stub[methodName];
249-
return func.apply(stub, args);
250-
},
244+
stub =>
245+
(...args: Array<{}>) => {
246+
if (this._terminated) {
247+
return Promise.reject('The client has already been closed.');
248+
}
249+
const func = stub[methodName];
250+
return func.apply(stub, args);
251+
},
251252
(err: Error | null | undefined) => () => {
252253
throw err;
253254
}
@@ -419,11 +420,10 @@ export class DashboardsServiceClient {
419420
options = options || {};
420421
options.otherArgs = options.otherArgs || {};
421422
options.otherArgs.headers = options.otherArgs.headers || {};
422-
options.otherArgs.headers[
423-
'x-goog-request-params'
424-
] = gax.routingHeader.fromParams({
425-
parent: request.parent || '',
426-
});
423+
options.otherArgs.headers['x-goog-request-params'] =
424+
gax.routingHeader.fromParams({
425+
parent: request.parent || '',
426+
});
427427
this.initialize();
428428
return this.innerApiCalls.createDashboard(request, options, callback);
429429
}
@@ -519,11 +519,10 @@ export class DashboardsServiceClient {
519519
options = options || {};
520520
options.otherArgs = options.otherArgs || {};
521521
options.otherArgs.headers = options.otherArgs.headers || {};
522-
options.otherArgs.headers[
523-
'x-goog-request-params'
524-
] = gax.routingHeader.fromParams({
525-
name: request.name || '',
526-
});
522+
options.otherArgs.headers['x-goog-request-params'] =
523+
gax.routingHeader.fromParams({
524+
name: request.name || '',
525+
});
527526
this.initialize();
528527
return this.innerApiCalls.getDashboard(request, options, callback);
529528
}
@@ -617,11 +616,10 @@ export class DashboardsServiceClient {
617616
options = options || {};
618617
options.otherArgs = options.otherArgs || {};
619618
options.otherArgs.headers = options.otherArgs.headers || {};
620-
options.otherArgs.headers[
621-
'x-goog-request-params'
622-
] = gax.routingHeader.fromParams({
623-
name: request.name || '',
624-
});
619+
options.otherArgs.headers['x-goog-request-params'] =
620+
gax.routingHeader.fromParams({
621+
name: request.name || '',
622+
});
625623
this.initialize();
626624
return this.innerApiCalls.deleteDashboard(request, options, callback);
627625
}
@@ -713,11 +711,10 @@ export class DashboardsServiceClient {
713711
options = options || {};
714712
options.otherArgs = options.otherArgs || {};
715713
options.otherArgs.headers = options.otherArgs.headers || {};
716-
options.otherArgs.headers[
717-
'x-goog-request-params'
718-
] = gax.routingHeader.fromParams({
719-
'dashboard.name': request.dashboard!.name || '',
720-
});
714+
options.otherArgs.headers['x-goog-request-params'] =
715+
gax.routingHeader.fromParams({
716+
'dashboard.name': request.dashboard!.name || '',
717+
});
721718
this.initialize();
722719
return this.innerApiCalls.updateDashboard(request, options, callback);
723720
}
@@ -822,11 +819,10 @@ export class DashboardsServiceClient {
822819
options = options || {};
823820
options.otherArgs = options.otherArgs || {};
824821
options.otherArgs.headers = options.otherArgs.headers || {};
825-
options.otherArgs.headers[
826-
'x-goog-request-params'
827-
] = gax.routingHeader.fromParams({
828-
parent: request.parent || '',
829-
});
822+
options.otherArgs.headers['x-goog-request-params'] =
823+
gax.routingHeader.fromParams({
824+
parent: request.parent || '',
825+
});
830826
this.initialize();
831827
return this.innerApiCalls.listDashboards(request, options, callback);
832828
}
@@ -866,11 +862,10 @@ export class DashboardsServiceClient {
866862
options = options || {};
867863
options.otherArgs = options.otherArgs || {};
868864
options.otherArgs.headers = options.otherArgs.headers || {};
869-
options.otherArgs.headers[
870-
'x-goog-request-params'
871-
] = gax.routingHeader.fromParams({
872-
parent: request.parent || '',
873-
});
865+
options.otherArgs.headers['x-goog-request-params'] =
866+
gax.routingHeader.fromParams({
867+
parent: request.parent || '',
868+
});
874869
const callSettings = new gax.CallSettings(options);
875870
this.initialize();
876871
return this.descriptors.page.listDashboards.createStream(
@@ -921,17 +916,16 @@ export class DashboardsServiceClient {
921916
options = options || {};
922917
options.otherArgs = options.otherArgs || {};
923918
options.otherArgs.headers = options.otherArgs.headers || {};
924-
options.otherArgs.headers[
925-
'x-goog-request-params'
926-
] = gax.routingHeader.fromParams({
927-
parent: request.parent || '',
928-
});
919+
options.otherArgs.headers['x-goog-request-params'] =
920+
gax.routingHeader.fromParams({
921+
parent: request.parent || '',
922+
});
929923
options = options || {};
930924
const callSettings = new gax.CallSettings(options);
931925
this.initialize();
932926
return this.descriptors.page.listDashboards.asyncIterate(
933927
this.innerApiCalls['listDashboards'] as GaxCall,
934-
(request as unknown) as RequestType,
928+
request as unknown as RequestType,
935929
callSettings
936930
) as AsyncIterable<protos.google.monitoring.dashboard.v1.IDashboard>;
937931
}

0 commit comments

Comments
 (0)