Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub (3.31.0)

public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub extends AbstractBlockingStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createService(CreateServiceRequest request)

public Service createService(CreateServiceRequest request)

Create a Service.

Parameter
NameDescription
requestCreateServiceRequest
Returns
TypeDescription
Service

createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

public ServiceLevelObjective createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

Create a ServiceLevelObjective for the given Service.

Parameter
NameDescription
requestCreateServiceLevelObjectiveRequest
Returns
TypeDescription
ServiceLevelObjective

deleteService(DeleteServiceRequest request)

public Empty deleteService(DeleteServiceRequest request)

Soft delete this Service.

Parameter
NameDescription
requestDeleteServiceRequest
Returns
TypeDescription
Empty

deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

public Empty deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

Delete the given ServiceLevelObjective.

Parameter
NameDescription
requestDeleteServiceLevelObjectiveRequest
Returns
TypeDescription
Empty

getService(GetServiceRequest request)

public Service getService(GetServiceRequest request)

Get the named Service.

Parameter
NameDescription
requestGetServiceRequest
Returns
TypeDescription
Service

getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

public ServiceLevelObjective getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

Get a ServiceLevelObjective by name.

Parameter
NameDescription
requestGetServiceLevelObjectiveRequest
Returns
TypeDescription
ServiceLevelObjective

listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

public ListServiceLevelObjectivesResponse listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

List the ServiceLevelObjectives for the given Service.

Parameter
NameDescription
requestListServiceLevelObjectivesRequest
Returns
TypeDescription
ListServiceLevelObjectivesResponse

listServices(ListServicesRequest request)

public ListServicesResponse listServices(ListServicesRequest request)

List Services for this workspace.

Parameter
NameDescription
requestListServicesRequest
Returns
TypeDescription
ListServicesResponse

updateService(UpdateServiceRequest request)

public Service updateService(UpdateServiceRequest request)

Update this Service.

Parameter
NameDescription
requestUpdateServiceRequest
Returns
TypeDescription
Service

updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

public ServiceLevelObjective updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

Update the given ServiceLevelObjective.

Parameter
NameDescription
requestUpdateServiceLevelObjectiveRequest
Returns
TypeDescription
ServiceLevelObjective