Package com.google.monitoring.v3
Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>
-
- com.google.monitoring.v3.ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
-
- Enclosing class:
- ServiceMonitoringServiceGrpc
public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub extends io.grpc.stub.AbstractAsyncStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ServiceMonitoringService.The Cloud Monitoring Service-Oriented Monitoring API has endpoints for managing and querying aspects of a workspace's services. These include the `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy of categorized Health Metrics.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createService(CreateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Create a `Service`.void
createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver)
Create a `ServiceLevelObjective` for the given `Service`.void
deleteService(DeleteServiceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Soft delete this `Service`.void
deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Delete the given `ServiceLevelObjective`.void
getService(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Get the named `Service`.void
getServiceLevelObjective(GetServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver)
Get a `ServiceLevelObjective` by name.void
listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, io.grpc.stub.StreamObserver<ListServiceLevelObjectivesResponse> responseObserver)
List the `ServiceLevelObjective`s for the given `Service`.void
listServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver)
List `Service`s for this workspace.void
updateService(UpdateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Update this `Service`.void
updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver)
Update the given `ServiceLevelObjective`.
-
-
-
Method Detail
-
build
protected ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>
-
createService
public void createService(CreateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Create a `Service`.
-
getService
public void getService(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Get the named `Service`.
-
listServices
public void listServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver)
List `Service`s for this workspace.
-
updateService
public void updateService(UpdateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
Update this `Service`.
-
deleteService
public void deleteService(DeleteServiceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Soft delete this `Service`.
-
createServiceLevelObjective
public void createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver)
Create a `ServiceLevelObjective` for the given `Service`.
-
getServiceLevelObjective
public void getServiceLevelObjective(GetServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver)
Get a `ServiceLevelObjective` by name.
-
listServiceLevelObjectives
public void listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, io.grpc.stub.StreamObserver<ListServiceLevelObjectivesResponse> responseObserver)
List the `ServiceLevelObjective`s for the given `Service`.
-
updateServiceLevelObjective
public void updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver)
Update the given `ServiceLevelObjective`.
-
deleteServiceLevelObjective
public void deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Delete the given `ServiceLevelObjective`.
-
-