Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub (3.49.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 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.AbstractBlockingStub > ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateServiceRequest
Returns
Type Description
Service

createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

public ServiceLevelObjective createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)

Create a ServiceLevelObjective for the given Service.

Parameter
Name Description
request CreateServiceLevelObjectiveRequest
Returns
Type Description
ServiceLevelObjective

deleteService(DeleteServiceRequest request)

public Empty deleteService(DeleteServiceRequest request)

Soft delete this Service.

Parameter
Name Description
request DeleteServiceRequest
Returns
Type Description
Empty

deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

public Empty deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)

Delete the given ServiceLevelObjective.

Parameter
Name Description
request DeleteServiceLevelObjectiveRequest
Returns
Type Description
Empty

getService(GetServiceRequest request)

public Service getService(GetServiceRequest request)

Get the named Service.

Parameter
Name Description
request GetServiceRequest
Returns
Type Description
Service

getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

public ServiceLevelObjective getServiceLevelObjective(GetServiceLevelObjectiveRequest request)

Get a ServiceLevelObjective by name.

Parameter
Name Description
request GetServiceLevelObjectiveRequest
Returns
Type Description
ServiceLevelObjective

listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

public ListServiceLevelObjectivesResponse listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)

List the ServiceLevelObjectives for the given Service.

Parameter
Name Description
request ListServiceLevelObjectivesRequest
Returns
Type Description
ListServiceLevelObjectivesResponse

listServices(ListServicesRequest request)

public ListServicesResponse listServices(ListServicesRequest request)

List Services for this Metrics Scope.

Parameter
Name Description
request ListServicesRequest
Returns
Type Description
ListServicesResponse

updateService(UpdateServiceRequest request)

public Service updateService(UpdateServiceRequest request)

Update this Service.

Parameter
Name Description
request UpdateServiceRequest
Returns
Type Description
Service

updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

public ServiceLevelObjective updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)

Update the given ServiceLevelObjective.

Parameter
Name Description
request UpdateServiceLevelObjectiveRequest
Returns
Type Description
ServiceLevelObjective