Class DashboardsServiceGrpc.DashboardsServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DashboardsServiceGrpc.DashboardsServiceFutureStub>
com.google.monitoring.dashboard.v1.DashboardsServiceGrpc.DashboardsServiceFutureStub
- Enclosing class:
- DashboardsServiceGrpc
public static final class DashboardsServiceGrpc.DashboardsServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<DashboardsServiceGrpc.DashboardsServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DashboardsService.
Manages Stackdriver dashboards. A dashboard is an arrangement of data display widgets in a specific layout.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Dashboard>createDashboard(CreateDashboardRequest request) Creates a new custom dashboard.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteDashboard(DeleteDashboardRequest request) Deletes an existing custom dashboard.com.google.common.util.concurrent.ListenableFuture<Dashboard>getDashboard(GetDashboardRequest request) Fetches a specific dashboard.com.google.common.util.concurrent.ListenableFuture<ListDashboardsResponse>listDashboards(ListDashboardsRequest request) Lists the existing dashboards.com.google.common.util.concurrent.ListenableFuture<Dashboard>updateDashboard(UpdateDashboardRequest request) Replaces an existing custom dashboard with a new definition.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DashboardsServiceGrpc.DashboardsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DashboardsServiceGrpc.DashboardsServiceFutureStub>
-
createDashboard
public com.google.common.util.concurrent.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](https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the `monitoring.dashboards.create` permission on the specified project. For more information about permissions, see [Cloud Identity and Access Management](https://cloud.google.com/iam).
-
listDashboards
public com.google.common.util.concurrent.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](https://cloud.google.com/iam).
-
getDashboard
public com.google.common.util.concurrent.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](https://cloud.google.com/iam).
-
deleteDashboard
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.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](https://cloud.google.com/iam).
-
updateDashboard
public com.google.common.util.concurrent.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](https://cloud.google.com/iam).
-