Interface ServiceMonitoringServiceGrpc.AsyncService (3.45.0)

public static interface ServiceMonitoringServiceGrpc.AsyncService

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.

Methods

createService(CreateServiceRequest request, StreamObserver<Service> responseObserver)

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

Create a Service.

Parameters
Name Description
request CreateServiceRequest
responseObserver io.grpc.stub.StreamObserver<Service>

createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

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

Create a ServiceLevelObjective for the given Service.

Parameters
Name Description
request CreateServiceLevelObjectiveRequest
responseObserver io.grpc.stub.StreamObserver<ServiceLevelObjective>

deleteService(DeleteServiceRequest request, StreamObserver<Empty> responseObserver)

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

Soft delete this Service.

Parameters
Name Description
request DeleteServiceRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, StreamObserver<Empty> responseObserver)

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

Delete the given ServiceLevelObjective.

Parameters
Name Description
request DeleteServiceLevelObjectiveRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getService(GetServiceRequest request, StreamObserver<Service> responseObserver)

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

Get the named Service.

Parameters
Name Description
request GetServiceRequest
responseObserver io.grpc.stub.StreamObserver<Service>

getServiceLevelObjective(GetServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

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

Get a ServiceLevelObjective by name.

Parameters
Name Description
request GetServiceLevelObjectiveRequest
responseObserver io.grpc.stub.StreamObserver<ServiceLevelObjective>

listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, StreamObserver<ListServiceLevelObjectivesResponse> responseObserver)

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

List the ServiceLevelObjectives for the given Service.

Parameters
Name Description
request ListServiceLevelObjectivesRequest
responseObserver io.grpc.stub.StreamObserver<ListServiceLevelObjectivesResponse>

listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

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

List Services for this Metrics Scope.

Parameters
Name Description
request ListServicesRequest
responseObserver io.grpc.stub.StreamObserver<ListServicesResponse>

updateService(UpdateServiceRequest request, StreamObserver<Service> responseObserver)

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

Update this Service.

Parameters
Name Description
request UpdateServiceRequest
responseObserver io.grpc.stub.StreamObserver<Service>

updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)

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

Update the given ServiceLevelObjective.

Parameters
Name Description
request UpdateServiceLevelObjectiveRequest
responseObserver io.grpc.stub.StreamObserver<ServiceLevelObjective>