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

Commit

Permalink
fix: make request optional in all cases (#185)
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 d76c342 commit 898bf5c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/v1/dashboards_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export class DashboardsServiceClient {
// -- Service calls --
// -------------------
createDashboard(
request: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -372,7 +372,7 @@ export class DashboardsServiceClient {
* const [response] = await client.createDashboard(request);
*/
createDashboard(
request: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.ICreateDashboardRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -415,7 +415,7 @@ export class DashboardsServiceClient {
return this.innerApiCalls.createDashboard(request, options, callback);
}
getDashboard(
request: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -471,7 +471,7 @@ export class DashboardsServiceClient {
* const [response] = await client.getDashboard(request);
*/
getDashboard(
request: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.IGetDashboardRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -514,7 +514,7 @@ export class DashboardsServiceClient {
return this.innerApiCalls.getDashboard(request, options, callback);
}
deleteDashboard(
request: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -568,7 +568,7 @@ export class DashboardsServiceClient {
* const [response] = await client.deleteDashboard(request);
*/
deleteDashboard(
request: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.IDeleteDashboardRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -611,7 +611,7 @@ export class DashboardsServiceClient {
return this.innerApiCalls.deleteDashboard(request, options, callback);
}
updateDashboard(
request: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -663,7 +663,7 @@ export class DashboardsServiceClient {
* const [response] = await client.updateDashboard(request);
*/
updateDashboard(
request: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
request?: protos.google.monitoring.dashboard.v1.IUpdateDashboardRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -707,7 +707,7 @@ export class DashboardsServiceClient {
}

listDashboards(
request: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
request?: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -771,7 +771,7 @@ export class DashboardsServiceClient {
* for more details and examples.
*/
listDashboards(
request: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
request?: protos.google.monitoring.dashboard.v1.IListDashboardsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down

0 comments on commit 898bf5c

Please sign in to comment.