Class DashboardsServiceGrpc.DashboardsServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DashboardsServiceGrpc.DashboardsServiceStub>
com.google.monitoring.dashboard.v1.DashboardsServiceGrpc.DashboardsServiceStub
Enclosing class:
DashboardsServiceGrpc

public static final class DashboardsServiceGrpc.DashboardsServiceStub extends io.grpc.stub.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.
 
  • Method Details

    • build

      protected DashboardsServiceGrpc.DashboardsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<DashboardsServiceGrpc.DashboardsServiceStub>
    • createDashboard

      public void createDashboard(CreateDashboardRequest request, io.grpc.stub.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](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 void listDashboards(ListDashboardsRequest request, io.grpc.stub.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](https://cloud.google.com/iam).
       
    • getDashboard

      public void getDashboard(GetDashboardRequest request, io.grpc.stub.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](https://cloud.google.com/iam).
       
    • deleteDashboard

      public void deleteDashboard(DeleteDashboardRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.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](https://cloud.google.com/iam).
       
    • updateDashboard

      public void updateDashboard(UpdateDashboardRequest request, io.grpc.stub.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](https://cloud.google.com/iam).