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.
-
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) createDashboard(CreateDashboardRequest request) Creates a new custom dashboard.com.google.protobuf.EmptydeleteDashboard(DeleteDashboardRequest request) Deletes an existing custom dashboard.getDashboard(GetDashboardRequest request) Fetches a specific dashboard.listDashboards(ListDashboardsRequest request) Lists the existing dashboards.updateDashboard(UpdateDashboardRequest request) Replaces an existing custom dashboard with a new definition.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.DashboardsServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DashboardsServiceGrpc.DashboardsServiceBlockingV2Stub>
-
createDashboard
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
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
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
-