Class DashboardsServiceGrpc.DashboardsServiceBlockingStub

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

public static final class DashboardsServiceGrpc.DashboardsServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<DashboardsServiceGrpc.DashboardsServiceBlockingStub>
A stub to allow clients to do limited synchronous 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.DashboardsServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<DashboardsServiceGrpc.DashboardsServiceBlockingStub>
    • createDashboard

      public 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 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 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.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 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).