Skip to content

Commit 5042146

Browse files
chore: new owl bot post processor docker image (#41)
gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:f93bb861d6f12574437bb9aee426b71eafd63b419669ff0ed029f4b7e7162e3f
1 parent 6ede5b7 commit 5042146

19 files changed

+702
-856
lines changed

packages/google-appengine/protos/protos.d.ts

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-appengine/protos/protos.js

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-appengine/src/v1/applications_client.ts

+20-22
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,14 @@ export class ApplicationsClient {
275275
];
276276
for (const methodName of applicationsStubMethods) {
277277
const callPromise = this.applicationsStub.then(
278-
stub => (...args: Array<{}>) => {
279-
if (this._terminated) {
280-
return Promise.reject('The client has already been closed.');
281-
}
282-
const func = stub[methodName];
283-
return func.apply(stub, args);
284-
},
278+
stub =>
279+
(...args: Array<{}>) => {
280+
if (this._terminated) {
281+
return Promise.reject('The client has already been closed.');
282+
}
283+
const func = stub[methodName];
284+
return func.apply(stub, args);
285+
},
285286
(err: Error | null | undefined) => () => {
286287
throw err;
287288
}
@@ -433,11 +434,10 @@ export class ApplicationsClient {
433434
options = options || {};
434435
options.otherArgs = options.otherArgs || {};
435436
options.otherArgs.headers = options.otherArgs.headers || {};
436-
options.otherArgs.headers[
437-
'x-goog-request-params'
438-
] = gax.routingHeader.fromParams({
439-
name: request.name || '',
440-
});
437+
options.otherArgs.headers['x-goog-request-params'] =
438+
gax.routingHeader.fromParams({
439+
name: request.name || '',
440+
});
441441
this.initialize();
442442
return this.innerApiCalls.getApplication(request, options, callback);
443443
}
@@ -688,11 +688,10 @@ export class ApplicationsClient {
688688
options = options || {};
689689
options.otherArgs = options.otherArgs || {};
690690
options.otherArgs.headers = options.otherArgs.headers || {};
691-
options.otherArgs.headers[
692-
'x-goog-request-params'
693-
] = gax.routingHeader.fromParams({
694-
name: request.name || '',
695-
});
691+
options.otherArgs.headers['x-goog-request-params'] =
692+
gax.routingHeader.fromParams({
693+
name: request.name || '',
694+
});
696695
this.initialize();
697696
return this.innerApiCalls.updateApplication(request, options, callback);
698697
}
@@ -839,11 +838,10 @@ export class ApplicationsClient {
839838
options = options || {};
840839
options.otherArgs = options.otherArgs || {};
841840
options.otherArgs.headers = options.otherArgs.headers || {};
842-
options.otherArgs.headers[
843-
'x-goog-request-params'
844-
] = gax.routingHeader.fromParams({
845-
name: request.name || '',
846-
});
841+
options.otherArgs.headers['x-goog-request-params'] =
842+
gax.routingHeader.fromParams({
843+
name: request.name || '',
844+
});
847845
this.initialize();
848846
return this.innerApiCalls.repairApplication(request, options, callback);
849847
}

packages/google-appengine/src/v1/authorized_certificates_client.ts

+37-43
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,14 @@ export class AuthorizedCertificatesClient {
238238
];
239239
for (const methodName of authorizedCertificatesStubMethods) {
240240
const callPromise = this.authorizedCertificatesStub.then(
241-
stub => (...args: Array<{}>) => {
242-
if (this._terminated) {
243-
return Promise.reject('The client has already been closed.');
244-
}
245-
const func = stub[methodName];
246-
return func.apply(stub, args);
247-
},
241+
stub =>
242+
(...args: Array<{}>) => {
243+
if (this._terminated) {
244+
return Promise.reject('The client has already been closed.');
245+
}
246+
const func = stub[methodName];
247+
return func.apply(stub, args);
248+
},
248249
(err: Error | null | undefined) => () => {
249250
throw err;
250251
}
@@ -407,11 +408,10 @@ export class AuthorizedCertificatesClient {
407408
options = options || {};
408409
options.otherArgs = options.otherArgs || {};
409410
options.otherArgs.headers = options.otherArgs.headers || {};
410-
options.otherArgs.headers[
411-
'x-goog-request-params'
412-
] = gax.routingHeader.fromParams({
413-
name: request.name || '',
414-
});
411+
options.otherArgs.headers['x-goog-request-params'] =
412+
gax.routingHeader.fromParams({
413+
name: request.name || '',
414+
});
415415
this.initialize();
416416
return this.innerApiCalls.getAuthorizedCertificate(
417417
request,
@@ -511,11 +511,10 @@ export class AuthorizedCertificatesClient {
511511
options = options || {};
512512
options.otherArgs = options.otherArgs || {};
513513
options.otherArgs.headers = options.otherArgs.headers || {};
514-
options.otherArgs.headers[
515-
'x-goog-request-params'
516-
] = gax.routingHeader.fromParams({
517-
parent: request.parent || '',
518-
});
514+
options.otherArgs.headers['x-goog-request-params'] =
515+
gax.routingHeader.fromParams({
516+
parent: request.parent || '',
517+
});
519518
this.initialize();
520519
return this.innerApiCalls.createAuthorizedCertificate(
521520
request,
@@ -624,11 +623,10 @@ export class AuthorizedCertificatesClient {
624623
options = options || {};
625624
options.otherArgs = options.otherArgs || {};
626625
options.otherArgs.headers = options.otherArgs.headers || {};
627-
options.otherArgs.headers[
628-
'x-goog-request-params'
629-
] = gax.routingHeader.fromParams({
630-
name: request.name || '',
631-
});
626+
options.otherArgs.headers['x-goog-request-params'] =
627+
gax.routingHeader.fromParams({
628+
name: request.name || '',
629+
});
632630
this.initialize();
633631
return this.innerApiCalls.updateAuthorizedCertificate(
634632
request,
@@ -727,11 +725,10 @@ export class AuthorizedCertificatesClient {
727725
options = options || {};
728726
options.otherArgs = options.otherArgs || {};
729727
options.otherArgs.headers = options.otherArgs.headers || {};
730-
options.otherArgs.headers[
731-
'x-goog-request-params'
732-
] = gax.routingHeader.fromParams({
733-
name: request.name || '',
734-
});
728+
options.otherArgs.headers['x-goog-request-params'] =
729+
gax.routingHeader.fromParams({
730+
name: request.name || '',
731+
});
735732
this.initialize();
736733
return this.innerApiCalls.deleteAuthorizedCertificate(
737734
request,
@@ -833,11 +830,10 @@ export class AuthorizedCertificatesClient {
833830
options = options || {};
834831
options.otherArgs = options.otherArgs || {};
835832
options.otherArgs.headers = options.otherArgs.headers || {};
836-
options.otherArgs.headers[
837-
'x-goog-request-params'
838-
] = gax.routingHeader.fromParams({
839-
parent: request.parent || '',
840-
});
833+
options.otherArgs.headers['x-goog-request-params'] =
834+
gax.routingHeader.fromParams({
835+
parent: request.parent || '',
836+
});
841837
this.initialize();
842838
return this.innerApiCalls.listAuthorizedCertificates(
843839
request,
@@ -878,11 +874,10 @@ export class AuthorizedCertificatesClient {
878874
options = options || {};
879875
options.otherArgs = options.otherArgs || {};
880876
options.otherArgs.headers = options.otherArgs.headers || {};
881-
options.otherArgs.headers[
882-
'x-goog-request-params'
883-
] = gax.routingHeader.fromParams({
884-
parent: request.parent || '',
885-
});
877+
options.otherArgs.headers['x-goog-request-params'] =
878+
gax.routingHeader.fromParams({
879+
parent: request.parent || '',
880+
});
886881
const callSettings = new gax.CallSettings(options);
887882
this.initialize();
888883
return this.descriptors.page.listAuthorizedCertificates.createStream(
@@ -930,17 +925,16 @@ export class AuthorizedCertificatesClient {
930925
options = options || {};
931926
options.otherArgs = options.otherArgs || {};
932927
options.otherArgs.headers = options.otherArgs.headers || {};
933-
options.otherArgs.headers[
934-
'x-goog-request-params'
935-
] = gax.routingHeader.fromParams({
936-
parent: request.parent || '',
937-
});
928+
options.otherArgs.headers['x-goog-request-params'] =
929+
gax.routingHeader.fromParams({
930+
parent: request.parent || '',
931+
});
938932
options = options || {};
939933
const callSettings = new gax.CallSettings(options);
940934
this.initialize();
941935
return this.descriptors.page.listAuthorizedCertificates.asyncIterate(
942936
this.innerApiCalls['listAuthorizedCertificates'] as GaxCall,
943-
(request as unknown) as RequestType,
937+
request as unknown as RequestType,
944938
callSettings
945939
) as AsyncIterable<protos.google.appengine.v1.IAuthorizedCertificate>;
946940
}

packages/google-appengine/src/v1/authorized_domains_client.ts

+21-23
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,14 @@ export class AuthorizedDomainsClient {
232232
const authorizedDomainsStubMethods = ['listAuthorizedDomains'];
233233
for (const methodName of authorizedDomainsStubMethods) {
234234
const callPromise = this.authorizedDomainsStub.then(
235-
stub => (...args: Array<{}>) => {
236-
if (this._terminated) {
237-
return Promise.reject('The client has already been closed.');
238-
}
239-
const func = stub[methodName];
240-
return func.apply(stub, args);
241-
},
235+
stub =>
236+
(...args: Array<{}>) => {
237+
if (this._terminated) {
238+
return Promise.reject('The client has already been closed.');
239+
}
240+
const func = stub[methodName];
241+
return func.apply(stub, args);
242+
},
242243
(err: Error | null | undefined) => () => {
243244
throw err;
244245
}
@@ -406,11 +407,10 @@ export class AuthorizedDomainsClient {
406407
options = options || {};
407408
options.otherArgs = options.otherArgs || {};
408409
options.otherArgs.headers = options.otherArgs.headers || {};
409-
options.otherArgs.headers[
410-
'x-goog-request-params'
411-
] = gax.routingHeader.fromParams({
412-
parent: request.parent || '',
413-
});
410+
options.otherArgs.headers['x-goog-request-params'] =
411+
gax.routingHeader.fromParams({
412+
parent: request.parent || '',
413+
});
414414
this.initialize();
415415
return this.innerApiCalls.listAuthorizedDomains(request, options, callback);
416416
}
@@ -445,11 +445,10 @@ export class AuthorizedDomainsClient {
445445
options = options || {};
446446
options.otherArgs = options.otherArgs || {};
447447
options.otherArgs.headers = options.otherArgs.headers || {};
448-
options.otherArgs.headers[
449-
'x-goog-request-params'
450-
] = gax.routingHeader.fromParams({
451-
parent: request.parent || '',
452-
});
448+
options.otherArgs.headers['x-goog-request-params'] =
449+
gax.routingHeader.fromParams({
450+
parent: request.parent || '',
451+
});
453452
const callSettings = new gax.CallSettings(options);
454453
this.initialize();
455454
return this.descriptors.page.listAuthorizedDomains.createStream(
@@ -495,17 +494,16 @@ export class AuthorizedDomainsClient {
495494
options = options || {};
496495
options.otherArgs = options.otherArgs || {};
497496
options.otherArgs.headers = options.otherArgs.headers || {};
498-
options.otherArgs.headers[
499-
'x-goog-request-params'
500-
] = gax.routingHeader.fromParams({
501-
parent: request.parent || '',
502-
});
497+
options.otherArgs.headers['x-goog-request-params'] =
498+
gax.routingHeader.fromParams({
499+
parent: request.parent || '',
500+
});
503501
options = options || {};
504502
const callSettings = new gax.CallSettings(options);
505503
this.initialize();
506504
return this.descriptors.page.listAuthorizedDomains.asyncIterate(
507505
this.innerApiCalls['listAuthorizedDomains'] as GaxCall,
508-
(request as unknown) as RequestType,
506+
request as unknown as RequestType,
509507
callSettings
510508
) as AsyncIterable<protos.google.appengine.v1.IAuthorizedDomain>;
511509
}

0 commit comments

Comments
 (0)