Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: make request optional in all cases (#241)
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: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892
  • Loading branch information
gcf-owl-bot[bot] authored Jun 22, 2021
1 parent ce19720 commit c96003a
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions src/v1/cloud_build_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export class CloudBuildClient {
// -- Service calls --
// -------------------
getBuild(
request: protos.google.devtools.cloudbuild.v1.IGetBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.IGetBuildRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -457,7 +457,7 @@ export class CloudBuildClient {
* const [response] = await client.getBuild(request);
*/
getBuild(
request: protos.google.devtools.cloudbuild.v1.IGetBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.IGetBuildRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -499,7 +499,7 @@ export class CloudBuildClient {
return this.innerApiCalls.getBuild(request, options, callback);
}
cancelBuild(
request: protos.google.devtools.cloudbuild.v1.ICancelBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.ICancelBuildRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -552,7 +552,7 @@ export class CloudBuildClient {
* const [response] = await client.cancelBuild(request);
*/
cancelBuild(
request: protos.google.devtools.cloudbuild.v1.ICancelBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.ICancelBuildRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -596,7 +596,7 @@ export class CloudBuildClient {
return this.innerApiCalls.cancelBuild(request, options, callback);
}
createBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.ICreateBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.ICreateBuildTriggerRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -651,7 +651,7 @@ export class CloudBuildClient {
* const [response] = await client.createBuildTrigger(request);
*/
createBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.ICreateBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.ICreateBuildTriggerRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -697,7 +697,7 @@ export class CloudBuildClient {
return this.innerApiCalls.createBuildTrigger(request, options, callback);
}
getBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IGetBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IGetBuildTriggerRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -749,7 +749,7 @@ export class CloudBuildClient {
* const [response] = await client.getBuildTrigger(request);
*/
getBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IGetBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IGetBuildTriggerRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -792,7 +792,7 @@ export class CloudBuildClient {
return this.innerApiCalls.getBuildTrigger(request, options, callback);
}
deleteBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IDeleteBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IDeleteBuildTriggerRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -847,7 +847,7 @@ export class CloudBuildClient {
* const [response] = await client.deleteBuildTrigger(request);
*/
deleteBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IDeleteBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IDeleteBuildTriggerRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -893,7 +893,7 @@ export class CloudBuildClient {
return this.innerApiCalls.deleteBuildTrigger(request, options, callback);
}
updateBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IUpdateBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IUpdateBuildTriggerRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -950,7 +950,7 @@ export class CloudBuildClient {
* const [response] = await client.updateBuildTrigger(request);
*/
updateBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IUpdateBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IUpdateBuildTriggerRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -996,7 +996,7 @@ export class CloudBuildClient {
return this.innerApiCalls.updateBuildTrigger(request, options, callback);
}
receiveTriggerWebhook(
request: protos.google.devtools.cloudbuild.v1.IReceiveTriggerWebhookRequest,
request?: protos.google.devtools.cloudbuild.v1.IReceiveTriggerWebhookRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1054,7 +1054,7 @@ export class CloudBuildClient {
* const [response] = await client.receiveTriggerWebhook(request);
*/
receiveTriggerWebhook(
request: protos.google.devtools.cloudbuild.v1.IReceiveTriggerWebhookRequest,
request?: protos.google.devtools.cloudbuild.v1.IReceiveTriggerWebhookRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1100,7 +1100,7 @@ export class CloudBuildClient {
return this.innerApiCalls.receiveTriggerWebhook(request, options, callback);
}
createWorkerPool(
request: protos.google.devtools.cloudbuild.v1.ICreateWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.ICreateWorkerPoolRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1152,7 +1152,7 @@ export class CloudBuildClient {
* const [response] = await client.createWorkerPool(request);
*/
createWorkerPool(
request: protos.google.devtools.cloudbuild.v1.ICreateWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.ICreateWorkerPoolRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1189,7 +1189,7 @@ export class CloudBuildClient {
return this.innerApiCalls.createWorkerPool(request, options, callback);
}
getWorkerPool(
request: protos.google.devtools.cloudbuild.v1.IGetWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.IGetWorkerPoolRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1240,7 +1240,7 @@ export class CloudBuildClient {
* const [response] = await client.getWorkerPool(request);
*/
getWorkerPool(
request: protos.google.devtools.cloudbuild.v1.IGetWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.IGetWorkerPoolRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1277,7 +1277,7 @@ export class CloudBuildClient {
return this.innerApiCalls.getWorkerPool(request, options, callback);
}
deleteWorkerPool(
request: protos.google.devtools.cloudbuild.v1.IDeleteWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.IDeleteWorkerPoolRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1328,7 +1328,7 @@ export class CloudBuildClient {
* const [response] = await client.deleteWorkerPool(request);
*/
deleteWorkerPool(
request: protos.google.devtools.cloudbuild.v1.IDeleteWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.IDeleteWorkerPoolRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1365,7 +1365,7 @@ export class CloudBuildClient {
return this.innerApiCalls.deleteWorkerPool(request, options, callback);
}
updateWorkerPool(
request: protos.google.devtools.cloudbuild.v1.IUpdateWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.IUpdateWorkerPoolRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1418,7 +1418,7 @@ export class CloudBuildClient {
* const [response] = await client.updateWorkerPool(request);
*/
updateWorkerPool(
request: protos.google.devtools.cloudbuild.v1.IUpdateWorkerPoolRequest,
request?: protos.google.devtools.cloudbuild.v1.IUpdateWorkerPoolRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1455,7 +1455,7 @@ export class CloudBuildClient {
return this.innerApiCalls.updateWorkerPool(request, options, callback);
}
listWorkerPools(
request: protos.google.devtools.cloudbuild.v1.IListWorkerPoolsRequest,
request?: protos.google.devtools.cloudbuild.v1.IListWorkerPoolsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1505,7 +1505,7 @@ export class CloudBuildClient {
* const [response] = await client.listWorkerPools(request);
*/
listWorkerPools(
request: protos.google.devtools.cloudbuild.v1.IListWorkerPoolsRequest,
request?: protos.google.devtools.cloudbuild.v1.IListWorkerPoolsRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1543,7 +1543,7 @@ export class CloudBuildClient {
}

createBuild(
request: protos.google.devtools.cloudbuild.v1.ICreateBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.ICreateBuildRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1608,7 +1608,7 @@ export class CloudBuildClient {
* const [response] = await operation.promise();
*/
createBuild(
request: protos.google.devtools.cloudbuild.v1.ICreateBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.ICreateBuildRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1694,7 +1694,7 @@ export class CloudBuildClient {
>;
}
retryBuild(
request: protos.google.devtools.cloudbuild.v1.IRetryBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.IRetryBuildRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1781,7 +1781,7 @@ export class CloudBuildClient {
* const [response] = await operation.promise();
*/
retryBuild(
request: protos.google.devtools.cloudbuild.v1.IRetryBuildRequest,
request?: protos.google.devtools.cloudbuild.v1.IRetryBuildRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1867,7 +1867,7 @@ export class CloudBuildClient {
>;
}
runBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IRunBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IRunBuildTriggerRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1927,7 +1927,7 @@ export class CloudBuildClient {
* const [response] = await operation.promise();
*/
runBuildTrigger(
request: protos.google.devtools.cloudbuild.v1.IRunBuildTriggerRequest,
request?: protos.google.devtools.cloudbuild.v1.IRunBuildTriggerRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -2012,7 +2012,7 @@ export class CloudBuildClient {
>;
}
listBuilds(
request: protos.google.devtools.cloudbuild.v1.IListBuildsRequest,
request?: protos.google.devtools.cloudbuild.v1.IListBuildsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -2083,7 +2083,7 @@ export class CloudBuildClient {
* for more details and examples.
*/
listBuilds(
request: protos.google.devtools.cloudbuild.v1.IListBuildsRequest,
request?: protos.google.devtools.cloudbuild.v1.IListBuildsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down Expand Up @@ -2248,7 +2248,7 @@ export class CloudBuildClient {
) as AsyncIterable<protos.google.devtools.cloudbuild.v1.IBuild>;
}
listBuildTriggers(
request: protos.google.devtools.cloudbuild.v1.IListBuildTriggersRequest,
request?: protos.google.devtools.cloudbuild.v1.IListBuildTriggersRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -2305,7 +2305,7 @@ export class CloudBuildClient {
* for more details and examples.
*/
listBuildTriggers(
request: protos.google.devtools.cloudbuild.v1.IListBuildTriggersRequest,
request?: protos.google.devtools.cloudbuild.v1.IListBuildTriggersRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down

0 comments on commit c96003a

Please sign in to comment.