Skip to content

Commit

Permalink
chore: new owl bot post processor docker image (#83)
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 1f6ebdb commit ac620dc
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 142 deletions.
10 changes: 5 additions & 5 deletions packages/google-cloud-bigquery-connection/protos/protos.d.ts

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

20 changes: 10 additions & 10 deletions packages/google-cloud-bigquery-connection/protos/protos.js

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

Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,14 @@ export class ConnectionServiceClient {
];
for (const methodName of connectionServiceStubMethods) {
const callPromise = this.connectionServiceStub.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 @@ -419,11 +420,10 @@ export class ConnectionServiceClient {
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.createConnection(request, options, callback);
}
Expand Down Expand Up @@ -518,11 +518,10 @@ export class ConnectionServiceClient {
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.getConnection(request, options, callback);
}
Expand Down Expand Up @@ -622,11 +621,10 @@ export class ConnectionServiceClient {
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.updateConnection(request, options, callback);
}
Expand Down Expand Up @@ -721,11 +719,10 @@ export class ConnectionServiceClient {
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.deleteConnection(request, options, callback);
}
Expand Down Expand Up @@ -811,11 +808,10 @@ export class ConnectionServiceClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
resource: request.resource || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
resource: request.resource || '',
});
this.initialize();
return this.innerApiCalls.getIamPolicy(request, options, callback);
}
Expand Down Expand Up @@ -904,11 +900,10 @@ export class ConnectionServiceClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
resource: request.resource || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
resource: request.resource || '',
});
this.initialize();
return this.innerApiCalls.setIamPolicy(request, options, callback);
}
Expand Down Expand Up @@ -1000,11 +995,10 @@ export class ConnectionServiceClient {
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
resource: request.resource || '',
});
options.otherArgs.headers['x-goog-request-params'] =
gax.routingHeader.fromParams({
resource: request.resource || '',
});
this.initialize();
return this.innerApiCalls.testIamPermissions(request, options, callback);
}
Expand Down Expand Up @@ -1101,11 +1095,10 @@ export class ConnectionServiceClient {
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.listConnections(request, options, callback);
}
Expand Down Expand Up @@ -1141,11 +1134,10 @@ export class ConnectionServiceClient {
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.listConnections.createStream(
Expand Down Expand Up @@ -1192,17 +1184,16 @@ export class ConnectionServiceClient {
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.listConnections.asyncIterate(
this.innerApiCalls['listConnections'] as GaxCall,
(request as unknown) as RequestType,
request as unknown as RequestType,
callSettings
) as AsyncIterable<protos.google.cloud.bigquery.connection.v1.IConnection>;
}
Expand Down
Loading

0 comments on commit ac620dc

Please sign in to comment.