Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub (3.28.0)

public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub extends AbstractFutureStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createService(CreateServiceRequest request)

public ListenableFuture<Service> createService(CreateServiceRequest request)

Create a Service.

Parameter
NameDescription
requestCreateServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Service>

createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

public ListenableFuture<ServiceLevelObjective> createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

Create a ServiceLevelObjective for the given Service.

Parameter
NameDescription
requestCreateServiceLevelObjectiveRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>

deleteService(DeleteServiceRequest request)

public ListenableFuture<Empty> deleteService(DeleteServiceRequest request)

Soft delete this Service.

Parameter
NameDescription
requestDeleteServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

public ListenableFuture<Empty> deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

Delete the given ServiceLevelObjective.

Parameter
NameDescription
requestDeleteServiceLevelObjectiveRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getService(GetServiceRequest request)

public ListenableFuture<Service> getService(GetServiceRequest request)

Get the named Service.

Parameter
NameDescription
requestGetServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Service>

getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

public ListenableFuture<ServiceLevelObjective> getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

Get a ServiceLevelObjective by name.

Parameter
NameDescription
requestGetServiceLevelObjectiveRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>

listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

public ListenableFuture<ListServiceLevelObjectivesResponse> listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

List the ServiceLevelObjectives for the given Service.

Parameter
NameDescription
requestListServiceLevelObjectivesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListServiceLevelObjectivesResponse>

listServices(ListServicesRequest request)

public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)

List Services for this workspace.

Parameter
NameDescription
requestListServicesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>

updateService(UpdateServiceRequest request)

public ListenableFuture<Service> updateService(UpdateServiceRequest request)

Update this Service.

Parameter
NameDescription
requestUpdateServiceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Service>

updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

public ListenableFuture<ServiceLevelObjective> updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

Update the given ServiceLevelObjective.

Parameter
NameDescription
requestUpdateServiceLevelObjectiveRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>