Class DashboardsServiceGrpc.DashboardsServiceStub (2.18.0)

public static final class DashboardsServiceGrpc.DashboardsServiceStub extends AbstractAsyncStub<DashboardsServiceGrpc.DashboardsServiceStub>

A stub to allow clients to do asynchronous rpc calls to service DashboardsService.

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.AbstractAsyncStub > DashboardsServiceGrpc.DashboardsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createDashboard(CreateDashboardRequest request, StreamObserver<Dashboard> responseObserver)

public void createDashboard(CreateDashboardRequest request, StreamObserver<Dashboard> responseObserver)

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.

Parameters
NameDescription
requestCreateDashboardRequest
responseObserverio.grpc.stub.StreamObserver<Dashboard>

deleteDashboard(DeleteDashboardRequest request, StreamObserver<Empty> responseObserver)

public void deleteDashboard(DeleteDashboardRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
NameDescription
requestDeleteDashboardRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getDashboard(GetDashboardRequest request, StreamObserver<Dashboard> responseObserver)

public void getDashboard(GetDashboardRequest request, StreamObserver<Dashboard> responseObserver)

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.

Parameters
NameDescription
requestGetDashboardRequest
responseObserverio.grpc.stub.StreamObserver<Dashboard>

listDashboards(ListDashboardsRequest request, StreamObserver<ListDashboardsResponse> responseObserver)

public void listDashboards(ListDashboardsRequest request, StreamObserver<ListDashboardsResponse> responseObserver)

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.

Parameters
NameDescription
requestListDashboardsRequest
responseObserverio.grpc.stub.StreamObserver<ListDashboardsResponse>

updateDashboard(UpdateDashboardRequest request, StreamObserver<Dashboard> responseObserver)

public void updateDashboard(UpdateDashboardRequest request, StreamObserver<Dashboard> responseObserver)

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.

Parameters
NameDescription
requestUpdateDashboardRequest
responseObserverio.grpc.stub.StreamObserver<Dashboard>