Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub (3.8.0)

public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub extends AbstractAsyncStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createService(CreateServiceRequest request, StreamObserver<Service> responseObserver)

public void createService(CreateServiceRequest request, StreamObserver<Service> responseObserver)

Create a Service.

Parameters
NameDescription
requestCreateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Service>

createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

public void createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

Create a ServiceLevelObjective for the given Service.

Parameters
NameDescription
requestCreateServiceLevelObjectiveRequest
responseObserverio.grpc.stub.StreamObserver<ServiceLevelObjective>

deleteService(DeleteServiceRequest request, StreamObserver<Empty> responseObserver)

public void deleteService(DeleteServiceRequest request, StreamObserver<Empty> responseObserver)

Soft delete this Service.

Parameters
NameDescription
requestDeleteServiceRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, StreamObserver<Empty> responseObserver)

public void deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, StreamObserver<Empty> responseObserver)

Delete the given ServiceLevelObjective.

Parameters
NameDescription
requestDeleteServiceLevelObjectiveRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

public void getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

Get the named Service.

Parameters
NameDescription
requestGetServiceRequest
responseObserverio.grpc.stub.StreamObserver<Service>

getServiceLevelObjective(GetServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

public void getServiceLevelObjective(GetServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

Get a ServiceLevelObjective by name.

Parameters
NameDescription
requestGetServiceLevelObjectiveRequest
responseObserverio.grpc.stub.StreamObserver<ServiceLevelObjective>

listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, StreamObserver<ListServiceLevelObjectivesResponse> responseObserver)

public void listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, StreamObserver<ListServiceLevelObjectivesResponse> responseObserver)

List the ServiceLevelObjectives for the given Service.

Parameters
NameDescription
requestListServiceLevelObjectivesRequest
responseObserverio.grpc.stub.StreamObserver<ListServiceLevelObjectivesResponse>

listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

public void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

List Services for this workspace.

Parameters
NameDescription
requestListServicesRequest
responseObserverio.grpc.stub.StreamObserver<ListServicesResponse>

updateService(UpdateServiceRequest request, StreamObserver<Service> responseObserver)

public void updateService(UpdateServiceRequest request, StreamObserver<Service> responseObserver)

Update this Service.

Parameters
NameDescription
requestUpdateServiceRequest
responseObserverio.grpc.stub.StreamObserver<Service>

updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

public void updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

Update the given ServiceLevelObjective.

Parameters
NameDescription
requestUpdateServiceLevelObjectiveRequest
responseObserverio.grpc.stub.StreamObserver<ServiceLevelObjective>