Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub (3.46.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 Metrics Scope'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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateServiceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Service>

createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

public ListenableFuture<ServiceLevelObjective> createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

Create a ServiceLevelObjective for the given Service.

Parameter
Name Description
request CreateServiceLevelObjectiveRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>

deleteService(DeleteServiceRequest request)

public ListenableFuture<Empty> deleteService(DeleteServiceRequest request)

Soft delete this Service.

Parameter
Name Description
request DeleteServiceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

public ListenableFuture<Empty> deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

Delete the given ServiceLevelObjective.

Parameter
Name Description
request DeleteServiceLevelObjectiveRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getService(GetServiceRequest request)

public ListenableFuture<Service> getService(GetServiceRequest request)

Get the named Service.

Parameter
Name Description
request GetServiceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Service>

getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

public ListenableFuture<ServiceLevelObjective> getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

Get a ServiceLevelObjective by name.

Parameter
Name Description
request GetServiceLevelObjectiveRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>

listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

public ListenableFuture<ListServiceLevelObjectivesResponse> listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

List the ServiceLevelObjectives for the given Service.

Parameter
Name Description
request ListServiceLevelObjectivesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListServiceLevelObjectivesResponse>

listServices(ListServicesRequest request)

public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)

List Services for this Metrics Scope.

Parameter
Name Description
request ListServicesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>

updateService(UpdateServiceRequest request)

public ListenableFuture<Service> updateService(UpdateServiceRequest request)

Update this Service.

Parameter
Name Description
request UpdateServiceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Service>

updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

public ListenableFuture<ServiceLevelObjective> updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

Update the given ServiceLevelObjective.

Parameter
Name Description
request UpdateServiceLevelObjectiveRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>