Skip to content

Commit

Permalink
chore: new owl bot post processor docker image (#41)
Browse files Browse the repository at this point in the history
gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:f93bb861d6f12574437bb9aee426b71eafd63b419669ff0ed029f4b7e7162e3f
  • Loading branch information
gcf-owl-bot[bot] authored May 10, 2021
1 parent 6ede5b7 commit 5042146
Show file tree
Hide file tree
Showing 19 changed files with 702 additions and 856 deletions.
12 changes: 6 additions & 6 deletions packages/google-appengine/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions packages/google-appengine/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 20 additions & 22 deletions packages/google-appengine/src/v1/applications_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,14 @@ export class ApplicationsClient {
];
for (const methodName of applicationsStubMethods) {
const callPromise = this.applicationsStub.then(
stub => (...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
stub =>
(...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
(err: Error | null | undefined) => () => {
throw err;
}
Expand Down Expand Up @@ -433,11 +434,10 @@ export class ApplicationsClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
name: request.name || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
name: request.name || '',
});
this.initialize();
return this.innerApiCalls.getApplication(request, options, callback);
}
Expand Down Expand Up @@ -688,11 +688,10 @@ export class ApplicationsClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
name: request.name || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
name: request.name || '',
});
this.initialize();
return this.innerApiCalls.updateApplication(request, options, callback);
}
Expand Down Expand Up @@ -839,11 +838,10 @@ export class ApplicationsClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
name: request.name || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
name: request.name || '',
});
this.initialize();
return this.innerApiCalls.repairApplication(request, options, callback);
}
Expand Down
80 changes: 37 additions & 43 deletions packages/google-appengine/src/v1/authorized_certificates_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,14 @@ export class AuthorizedCertificatesClient {
];
for (const methodName of authorizedCertificatesStubMethods) {
const callPromise = this.authorizedCertificatesStub.then(
stub => (...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
stub =>
(...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
(err: Error | null | undefined) => () => {
throw err;
}
Expand Down Expand Up @@ -407,11 +408,10 @@ export class AuthorizedCertificatesClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
name: request.name || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
name: request.name || '',
});
this.initialize();
return this.innerApiCalls.getAuthorizedCertificate(
request,
Expand Down Expand Up @@ -511,11 +511,10 @@ export class AuthorizedCertificatesClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
parent: request.parent || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
parent: request.parent || '',
});
this.initialize();
return this.innerApiCalls.createAuthorizedCertificate(
request,
Expand Down Expand Up @@ -624,11 +623,10 @@ export class AuthorizedCertificatesClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
name: request.name || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
name: request.name || '',
});
this.initialize();
return this.innerApiCalls.updateAuthorizedCertificate(
request,
Expand Down Expand Up @@ -727,11 +725,10 @@ export class AuthorizedCertificatesClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
name: request.name || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
name: request.name || '',
});
this.initialize();
return this.innerApiCalls.deleteAuthorizedCertificate(
request,
Expand Down Expand Up @@ -833,11 +830,10 @@ export class AuthorizedCertificatesClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
parent: request.parent || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
parent: request.parent || '',
});
this.initialize();
return this.innerApiCalls.listAuthorizedCertificates(
request,
Expand Down Expand Up @@ -878,11 +874,10 @@ export class AuthorizedCertificatesClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
parent: request.parent || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
parent: request.parent || '',
});
const callSettings = new gax.CallSettings(options);
this.initialize();
return this.descriptors.page.listAuthorizedCertificates.createStream(
Expand Down Expand Up @@ -930,17 +925,16 @@ export class AuthorizedCertificatesClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
parent: request.parent || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
parent: request.parent || '',
});
options = options || {};
const callSettings = new gax.CallSettings(options);
this.initialize();
return this.descriptors.page.listAuthorizedCertificates.asyncIterate(
this.innerApiCalls['listAuthorizedCertificates'] as GaxCall,
(request as unknown) as RequestType,
request as unknown as RequestType,
callSettings
) as AsyncIterable<protos.google.appengine.v1.IAuthorizedCertificate>;
}
Expand Down
44 changes: 21 additions & 23 deletions packages/google-appengine/src/v1/authorized_domains_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,14 @@ export class AuthorizedDomainsClient {
const authorizedDomainsStubMethods = ['listAuthorizedDomains'];
for (const methodName of authorizedDomainsStubMethods) {
const callPromise = this.authorizedDomainsStub.then(
stub => (...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
stub =>
(...args: Array<{}>) => {
if (this._terminated) {
return Promise.reject('The client has already been closed.');
}
const func = stub[methodName];
return func.apply(stub, args);
},
(err: Error | null | undefined) => () => {
throw err;
}
Expand Down Expand Up @@ -406,11 +407,10 @@ export class AuthorizedDomainsClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
parent: request.parent || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
parent: request.parent || '',
});
this.initialize();
return this.innerApiCalls.listAuthorizedDomains(request, options, callback);
}
Expand Down Expand Up @@ -445,11 +445,10 @@ export class AuthorizedDomainsClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
parent: request.parent || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
parent: request.parent || '',
});
const callSettings = new gax.CallSettings(options);
this.initialize();
return this.descriptors.page.listAuthorizedDomains.createStream(
Expand Down Expand Up @@ -495,17 +494,16 @@ export class AuthorizedDomainsClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
parent: request.parent || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
parent: request.parent || '',
});
options = options || {};
const callSettings = new gax.CallSettings(options);
this.initialize();
return this.descriptors.page.listAuthorizedDomains.asyncIterate(
this.innerApiCalls['listAuthorizedDomains'] as GaxCall,
(request as unknown) as RequestType,
request as unknown as RequestType,
callSettings
) as AsyncIterable<protos.google.appengine.v1.IAuthorizedDomain>;
}
Expand Down
Loading

0 comments on commit 5042146

Please sign in to comment.