Skip to content

Commit ac620dc

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

File tree

4 files changed

+119
-142
lines changed

4 files changed

+119
-142
lines changed

packages/google-cloud-bigquery-connection/protos/protos.d.ts

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

packages/google-cloud-bigquery-connection/protos/protos.js

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

packages/google-cloud-bigquery-connection/src/v1/connection_service_client.ts

+49-58
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,14 @@ export class ConnectionServiceClient {
243243
];
244244
for (const methodName of connectionServiceStubMethods) {
245245
const callPromise = this.connectionServiceStub.then(
246-
stub => (...args: Array<{}>) => {
247-
if (this._terminated) {
248-
return Promise.reject('The client has already been closed.');
249-
}
250-
const func = stub[methodName];
251-
return func.apply(stub, args);
252-
},
246+
stub =>
247+
(...args: Array<{}>) => {
248+
if (this._terminated) {
249+
return Promise.reject('The client has already been closed.');
250+
}
251+
const func = stub[methodName];
252+
return func.apply(stub, args);
253+
},
253254
(err: Error | null | undefined) => () => {
254255
throw err;
255256
}
@@ -419,11 +420,10 @@ export class ConnectionServiceClient {
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.createConnection(request, options, callback);
429429
}
@@ -518,11 +518,10 @@ export class ConnectionServiceClient {
518518
options = options || {};
519519
options.otherArgs = options.otherArgs || {};
520520
options.otherArgs.headers = options.otherArgs.headers || {};
521-
options.otherArgs.headers[
522-
'x-goog-request-params'
523-
] = gax.routingHeader.fromParams({
524-
name: request.name || '',
525-
});
521+
options.otherArgs.headers['x-goog-request-params'] =
522+
gax.routingHeader.fromParams({
523+
name: request.name || '',
524+
});
526525
this.initialize();
527526
return this.innerApiCalls.getConnection(request, options, callback);
528527
}
@@ -622,11 +621,10 @@ export class ConnectionServiceClient {
622621
options = options || {};
623622
options.otherArgs = options.otherArgs || {};
624623
options.otherArgs.headers = options.otherArgs.headers || {};
625-
options.otherArgs.headers[
626-
'x-goog-request-params'
627-
] = gax.routingHeader.fromParams({
628-
name: request.name || '',
629-
});
624+
options.otherArgs.headers['x-goog-request-params'] =
625+
gax.routingHeader.fromParams({
626+
name: request.name || '',
627+
});
630628
this.initialize();
631629
return this.innerApiCalls.updateConnection(request, options, callback);
632630
}
@@ -721,11 +719,10 @@ export class ConnectionServiceClient {
721719
options = options || {};
722720
options.otherArgs = options.otherArgs || {};
723721
options.otherArgs.headers = options.otherArgs.headers || {};
724-
options.otherArgs.headers[
725-
'x-goog-request-params'
726-
] = gax.routingHeader.fromParams({
727-
name: request.name || '',
728-
});
722+
options.otherArgs.headers['x-goog-request-params'] =
723+
gax.routingHeader.fromParams({
724+
name: request.name || '',
725+
});
729726
this.initialize();
730727
return this.innerApiCalls.deleteConnection(request, options, callback);
731728
}
@@ -811,11 +808,10 @@ export class ConnectionServiceClient {
811808
options = options || {};
812809
options.otherArgs = options.otherArgs || {};
813810
options.otherArgs.headers = options.otherArgs.headers || {};
814-
options.otherArgs.headers[
815-
'x-goog-request-params'
816-
] = gax.routingHeader.fromParams({
817-
resource: request.resource || '',
818-
});
811+
options.otherArgs.headers['x-goog-request-params'] =
812+
gax.routingHeader.fromParams({
813+
resource: request.resource || '',
814+
});
819815
this.initialize();
820816
return this.innerApiCalls.getIamPolicy(request, options, callback);
821817
}
@@ -904,11 +900,10 @@ export class ConnectionServiceClient {
904900
options = options || {};
905901
options.otherArgs = options.otherArgs || {};
906902
options.otherArgs.headers = options.otherArgs.headers || {};
907-
options.otherArgs.headers[
908-
'x-goog-request-params'
909-
] = gax.routingHeader.fromParams({
910-
resource: request.resource || '',
911-
});
903+
options.otherArgs.headers['x-goog-request-params'] =
904+
gax.routingHeader.fromParams({
905+
resource: request.resource || '',
906+
});
912907
this.initialize();
913908
return this.innerApiCalls.setIamPolicy(request, options, callback);
914909
}
@@ -1000,11 +995,10 @@ export class ConnectionServiceClient {
1000995
options = options || {};
1001996
options.otherArgs = options.otherArgs || {};
1002997
options.otherArgs.headers = options.otherArgs.headers || {};
1003-
options.otherArgs.headers[
1004-
'x-goog-request-params'
1005-
] = gax.routingHeader.fromParams({
1006-
resource: request.resource || '',
1007-
});
998+
options.otherArgs.headers['x-goog-request-params'] =
999+
gax.routingHeader.fromParams({
1000+
resource: request.resource || '',
1001+
});
10081002
this.initialize();
10091003
return this.innerApiCalls.testIamPermissions(request, options, callback);
10101004
}
@@ -1101,11 +1095,10 @@ export class ConnectionServiceClient {
11011095
options = options || {};
11021096
options.otherArgs = options.otherArgs || {};
11031097
options.otherArgs.headers = options.otherArgs.headers || {};
1104-
options.otherArgs.headers[
1105-
'x-goog-request-params'
1106-
] = gax.routingHeader.fromParams({
1107-
parent: request.parent || '',
1108-
});
1098+
options.otherArgs.headers['x-goog-request-params'] =
1099+
gax.routingHeader.fromParams({
1100+
parent: request.parent || '',
1101+
});
11091102
this.initialize();
11101103
return this.innerApiCalls.listConnections(request, options, callback);
11111104
}
@@ -1141,11 +1134,10 @@ export class ConnectionServiceClient {
11411134
options = options || {};
11421135
options.otherArgs = options.otherArgs || {};
11431136
options.otherArgs.headers = options.otherArgs.headers || {};
1144-
options.otherArgs.headers[
1145-
'x-goog-request-params'
1146-
] = gax.routingHeader.fromParams({
1147-
parent: request.parent || '',
1148-
});
1137+
options.otherArgs.headers['x-goog-request-params'] =
1138+
gax.routingHeader.fromParams({
1139+
parent: request.parent || '',
1140+
});
11491141
const callSettings = new gax.CallSettings(options);
11501142
this.initialize();
11511143
return this.descriptors.page.listConnections.createStream(
@@ -1192,17 +1184,16 @@ export class ConnectionServiceClient {
11921184
options = options || {};
11931185
options.otherArgs = options.otherArgs || {};
11941186
options.otherArgs.headers = options.otherArgs.headers || {};
1195-
options.otherArgs.headers[
1196-
'x-goog-request-params'
1197-
] = gax.routingHeader.fromParams({
1198-
parent: request.parent || '',
1199-
});
1187+
options.otherArgs.headers['x-goog-request-params'] =
1188+
gax.routingHeader.fromParams({
1189+
parent: request.parent || '',
1190+
});
12001191
options = options || {};
12011192
const callSettings = new gax.CallSettings(options);
12021193
this.initialize();
12031194
return this.descriptors.page.listConnections.asyncIterate(
12041195
this.innerApiCalls['listConnections'] as GaxCall,
1205-
(request as unknown) as RequestType,
1196+
request as unknown as RequestType,
12061197
callSettings
12071198
) as AsyncIterable<protos.google.cloud.bigquery.connection.v1.IConnection>;
12081199
}

0 commit comments

Comments
 (0)