Class DashboardsServiceGrpc.DashboardsServiceBlockingV2Stub

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

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

      public Dashboard createDashboard(CreateDashboardRequest request) throws io.grpc.StatusException
       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).
       
      Throws:
      io.grpc.StatusException
    • listDashboards

      public ListDashboardsResponse listDashboards(ListDashboardsRequest request) throws io.grpc.StatusException
       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).
       
      Throws:
      io.grpc.StatusException
    • getDashboard

      public Dashboard getDashboard(GetDashboardRequest request) throws io.grpc.StatusException
       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).
       
      Throws:
      io.grpc.StatusException
    • deleteDashboard

      public com.google.protobuf.Empty deleteDashboard(DeleteDashboardRequest request) throws io.grpc.StatusException
       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).
       
      Throws:
      io.grpc.StatusException
    • updateDashboard

      public Dashboard updateDashboard(UpdateDashboardRequest request) throws io.grpc.StatusException
       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).
       
      Throws:
      io.grpc.StatusException