Skip to content

Commit

Permalink
fix: make request optional in all cases (#98)
Browse files Browse the repository at this point in the history
... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0

Committer: @miraleung
PiperOrigin-RevId: 380641501

Source-Link: googleapis/googleapis@076f7e9

Source-Link: googleapis/googleapis-gen@27e4c88
  • Loading branch information
gcf-owl-bot[bot] authored Jun 22, 2021
1 parent b52bf16 commit 36e6e4a
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export class ConnectionServiceClient {
// -- Service calls --
// -------------------
createConnection(
request: protos.google.cloud.bigquery.connection.v1.ICreateConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.ICreateConnectionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -369,7 +369,7 @@ export class ConnectionServiceClient {
* const [response] = await client.createConnection(request);
*/
createConnection(
request: protos.google.cloud.bigquery.connection.v1.ICreateConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.ICreateConnectionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -415,7 +415,7 @@ export class ConnectionServiceClient {
return this.innerApiCalls.createConnection(request, options, callback);
}
getConnection(
request: protos.google.cloud.bigquery.connection.v1.IGetConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.IGetConnectionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -467,7 +467,7 @@ export class ConnectionServiceClient {
* const [response] = await client.getConnection(request);
*/
getConnection(
request: protos.google.cloud.bigquery.connection.v1.IGetConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.IGetConnectionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -513,7 +513,7 @@ export class ConnectionServiceClient {
return this.innerApiCalls.getConnection(request, options, callback);
}
updateConnection(
request: protos.google.cloud.bigquery.connection.v1.IUpdateConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.IUpdateConnectionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -570,7 +570,7 @@ export class ConnectionServiceClient {
* const [response] = await client.updateConnection(request);
*/
updateConnection(
request: protos.google.cloud.bigquery.connection.v1.IUpdateConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.IUpdateConnectionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -616,7 +616,7 @@ export class ConnectionServiceClient {
return this.innerApiCalls.updateConnection(request, options, callback);
}
deleteConnection(
request: protos.google.cloud.bigquery.connection.v1.IDeleteConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.IDeleteConnectionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -668,7 +668,7 @@ export class ConnectionServiceClient {
* const [response] = await client.deleteConnection(request);
*/
deleteConnection(
request: protos.google.cloud.bigquery.connection.v1.IDeleteConnectionRequest,
request?: protos.google.cloud.bigquery.connection.v1.IDeleteConnectionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -714,7 +714,7 @@ export class ConnectionServiceClient {
return this.innerApiCalls.deleteConnection(request, options, callback);
}
getIamPolicy(
request: protos.google.iam.v1.IGetIamPolicyRequest,
request?: protos.google.iam.v1.IGetIamPolicyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -764,7 +764,7 @@ export class ConnectionServiceClient {
* const [response] = await client.getIamPolicy(request);
*/
getIamPolicy(
request: protos.google.iam.v1.IGetIamPolicyRequest,
request?: protos.google.iam.v1.IGetIamPolicyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -803,7 +803,7 @@ export class ConnectionServiceClient {
return this.innerApiCalls.getIamPolicy(request, options, callback);
}
setIamPolicy(
request: protos.google.iam.v1.ISetIamPolicyRequest,
request?: protos.google.iam.v1.ISetIamPolicyRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -856,7 +856,7 @@ export class ConnectionServiceClient {
* const [response] = await client.setIamPolicy(request);
*/
setIamPolicy(
request: protos.google.iam.v1.ISetIamPolicyRequest,
request?: protos.google.iam.v1.ISetIamPolicyRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -895,7 +895,7 @@ export class ConnectionServiceClient {
return this.innerApiCalls.setIamPolicy(request, options, callback);
}
testIamPermissions(
request: protos.google.iam.v1.ITestIamPermissionsRequest,
request?: protos.google.iam.v1.ITestIamPermissionsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -951,7 +951,7 @@ export class ConnectionServiceClient {
* const [response] = await client.testIamPermissions(request);
*/
testIamPermissions(
request: protos.google.iam.v1.ITestIamPermissionsRequest,
request?: protos.google.iam.v1.ITestIamPermissionsRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -991,7 +991,7 @@ export class ConnectionServiceClient {
}

listConnections(
request: protos.google.cloud.bigquery.connection.v1.IListConnectionsRequest,
request?: protos.google.cloud.bigquery.connection.v1.IListConnectionsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1047,7 +1047,7 @@ export class ConnectionServiceClient {
* for more details and examples.
*/
listConnections(
request: protos.google.cloud.bigquery.connection.v1.IListConnectionsRequest,
request?: protos.google.cloud.bigquery.connection.v1.IListConnectionsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down

0 comments on commit 36e6e4a

Please sign in to comment.