Class DashboardsServiceGrpc.DashboardsServiceFutureStub (2.5.0)

public static final class DashboardsServiceGrpc.DashboardsServiceFutureStub extends AbstractFutureStub<DashboardsServiceGrpc.DashboardsServiceFutureStub>

Manages Stackdriver dashboards. A dashboard is an arrangement of data display widgets in a specific layout.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DashboardsServiceGrpc.DashboardsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected DashboardsServiceGrpc.DashboardsServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DashboardsServiceGrpc.DashboardsServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDashboard(CreateDashboardRequest request)

public ListenableFuture<Dashboard> createDashboard(CreateDashboardRequest request)

Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see Managing dashboards by API. This method requires the monitoring.dashboards.create permission on the specified project. For more information about permissions, see Cloud Identity and Access Management.

Parameter
NameDescription
requestCreateDashboardRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Dashboard>

deleteDashboard(DeleteDashboardRequest request)

public ListenableFuture<Empty> deleteDashboard(DeleteDashboardRequest request)

Deletes an existing custom dashboard. This method requires the monitoring.dashboards.delete permission on the specified dashboard. For more information, see Cloud Identity and Access Management.

Parameter
NameDescription
requestDeleteDashboardRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getDashboard(GetDashboardRequest request)

public ListenableFuture<Dashboard> getDashboard(GetDashboardRequest request)

Fetches a specific dashboard. This method requires the monitoring.dashboards.get permission on the specified dashboard. For more information, see Cloud Identity and Access Management.

Parameter
NameDescription
requestGetDashboardRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Dashboard>

listDashboards(ListDashboardsRequest request)

public ListenableFuture<ListDashboardsResponse> listDashboards(ListDashboardsRequest request)

Lists the existing dashboards. This method requires the monitoring.dashboards.list permission on the specified project. For more information, see Cloud Identity and Access Management.

Parameter
NameDescription
requestListDashboardsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDashboardsResponse>

updateDashboard(UpdateDashboardRequest request)

public ListenableFuture<Dashboard> updateDashboard(UpdateDashboardRequest request)

Replaces an existing custom dashboard with a new definition. This method requires the monitoring.dashboards.update permission on the specified dashboard. For more information, see Cloud Identity and Access Management.

Parameter
NameDescription
requestUpdateDashboardRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Dashboard>