Skip to content

Commit 9c9c42c

Browse files
fix: make request optional in all cases (#185)
... 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
1 parent 16aa00e commit 9c9c42c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

packages/google-monitoring-dashboard/src/v1/dashboards_service_client.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export class DashboardsServiceClient {
313313
// -- Service calls --
314314
// -------------------
315315
createDashboard(
316-
request: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
316+
request?: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
317317
options?: CallOptions
318318
): Promise<
319319
[
@@ -372,7 +372,7 @@ export class DashboardsServiceClient {
372372
* const [response] = await client.createDashboard(request);
373373
*/
374374
createDashboard(
375-
request: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
375+
request?: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
376376
optionsOrCallback?:
377377
| CallOptions
378378
| Callback<
@@ -415,7 +415,7 @@ export class DashboardsServiceClient {
415415
return this.innerApiCalls.createDashboard(request, options, callback);
416416
}
417417
getDashboard(
418-
request: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
418+
request?: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
419419
options?: CallOptions
420420
): Promise<
421421
[
@@ -471,7 +471,7 @@ export class DashboardsServiceClient {
471471
* const [response] = await client.getDashboard(request);
472472
*/
473473
getDashboard(
474-
request: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
474+
request?: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
475475
optionsOrCallback?:
476476
| CallOptions
477477
| Callback<
@@ -514,7 +514,7 @@ export class DashboardsServiceClient {
514514
return this.innerApiCalls.getDashboard(request, options, callback);
515515
}
516516
deleteDashboard(
517-
request: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
517+
request?: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
518518
options?: CallOptions
519519
): Promise<
520520
[
@@ -568,7 +568,7 @@ export class DashboardsServiceClient {
568568
* const [response] = await client.deleteDashboard(request);
569569
*/
570570
deleteDashboard(
571-
request: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
571+
request?: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
572572
optionsOrCallback?:
573573
| CallOptions
574574
| Callback<
@@ -611,7 +611,7 @@ export class DashboardsServiceClient {
611611
return this.innerApiCalls.deleteDashboard(request, options, callback);
612612
}
613613
updateDashboard(
614-
request: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
614+
request?: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
615615
options?: CallOptions
616616
): Promise<
617617
[
@@ -663,7 +663,7 @@ export class DashboardsServiceClient {
663663
* const [response] = await client.updateDashboard(request);
664664
*/
665665
updateDashboard(
666-
request: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
666+
request?: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
667667
optionsOrCallback?:
668668
| CallOptions
669669
| Callback<
@@ -707,7 +707,7 @@ export class DashboardsServiceClient {
707707
}
708708

709709
listDashboards(
710-
request: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
710+
request?: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
711711
options?: CallOptions
712712
): Promise<
713713
[
@@ -771,7 +771,7 @@ export class DashboardsServiceClient {
771771
* for more details and examples.
772772
*/
773773
listDashboards(
774-
request: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
774+
request?: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
775775
optionsOrCallback?:
776776
| CallOptions
777777
| PaginationCallback<

0 commit comments

Comments
 (0)