Package com.google.monitoring.v3
Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingV2Stub>
com.google.monitoring.v3.ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingV2Stub
- Enclosing class:
- ServiceMonitoringServiceGrpc
public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service ServiceMonitoringService.
The Cloud Monitoring Service-Oriented Monitoring API has endpoints for managing and querying aspects of a Metrics Scope's services. These include the `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy of categorized Health Metrics.
-
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) createService(CreateServiceRequest request) Create a `Service`.Create a `ServiceLevelObjective` for the given `Service`.com.google.protobuf.EmptydeleteService(DeleteServiceRequest request) Soft delete this `Service`.com.google.protobuf.EmptyDelete the given `ServiceLevelObjective`.getService(GetServiceRequest request) Get the named `Service`.Get a `ServiceLevelObjective` by name.List the `ServiceLevelObjective`s for the given `Service`.listServices(ListServicesRequest request) List `Service`s for this Metrics Scope.updateService(UpdateServiceRequest request) Update this `Service`.Update the given `ServiceLevelObjective`.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 ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingV2Stub>
-
createService
Create a `Service`.
- Throws:
io.grpc.StatusException
-
getService
Get the named `Service`.
- Throws:
io.grpc.StatusException
-
listServices
public ListServicesResponse listServices(ListServicesRequest request) throws io.grpc.StatusException List `Service`s for this Metrics Scope.
- Throws:
io.grpc.StatusException
-
updateService
Update this `Service`.
- Throws:
io.grpc.StatusException
-
deleteService
public com.google.protobuf.Empty deleteService(DeleteServiceRequest request) throws io.grpc.StatusException Soft delete this `Service`.
- Throws:
io.grpc.StatusException
-
createServiceLevelObjective
public ServiceLevelObjective createServiceLevelObjective(CreateServiceLevelObjectiveRequest request) throws io.grpc.StatusException Create a `ServiceLevelObjective` for the given `Service`.
- Throws:
io.grpc.StatusException
-
getServiceLevelObjective
public ServiceLevelObjective getServiceLevelObjective(GetServiceLevelObjectiveRequest request) throws io.grpc.StatusException Get a `ServiceLevelObjective` by name.
- Throws:
io.grpc.StatusException
-
listServiceLevelObjectives
public ListServiceLevelObjectivesResponse listServiceLevelObjectives(ListServiceLevelObjectivesRequest request) throws io.grpc.StatusException List the `ServiceLevelObjective`s for the given `Service`.
- Throws:
io.grpc.StatusException
-
updateServiceLevelObjective
public ServiceLevelObjective updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request) throws io.grpc.StatusException Update the given `ServiceLevelObjective`.
- Throws:
io.grpc.StatusException
-
deleteServiceLevelObjective
public com.google.protobuf.Empty deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request) throws io.grpc.StatusException Delete the given `ServiceLevelObjective`.
- Throws:
io.grpc.StatusException
-