Google Cloud Monitoring v3 API - Class ServiceMonitoringService.ServiceMonitoringServiceBase (3.8.0)

[BindServiceMethod(typeof(ServiceMonitoringService), "BindService")]
public abstract class ServiceMonitoringService.ServiceMonitoringServiceBase

Reference documentation and code samples for the Google Cloud Monitoring v3 API class ServiceMonitoringService.ServiceMonitoringServiceBase.

Base class for server-side implementations of ServiceMonitoringService

Inheritance

object > ServiceMonitoringService.ServiceMonitoringServiceBase

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Methods

CreateService(CreateServiceRequest, ServerCallContext)

public virtual Task<Service> CreateService(CreateServiceRequest request, ServerCallContext context)

Create a Service.

Parameters
NameDescription
requestCreateServiceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskService

The response to send back to the client (wrapped by a task).

CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest, ServerCallContext)

public virtual Task<ServiceLevelObjective> CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, ServerCallContext context)

Create a ServiceLevelObjective for the given Service.

Parameters
NameDescription
requestCreateServiceLevelObjectiveRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskServiceLevelObjective

The response to send back to the client (wrapped by a task).

DeleteService(DeleteServiceRequest, ServerCallContext)

public virtual Task<Empty> DeleteService(DeleteServiceRequest request, ServerCallContext context)

Soft delete this Service.

Parameters
NameDescription
requestDeleteServiceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest, ServerCallContext)

public virtual Task<Empty> DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, ServerCallContext context)

Delete the given ServiceLevelObjective.

Parameters
NameDescription
requestDeleteServiceLevelObjectiveRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

The response to send back to the client (wrapped by a task).

GetService(GetServiceRequest, ServerCallContext)

public virtual Task<Service> GetService(GetServiceRequest request, ServerCallContext context)

Get the named Service.

Parameters
NameDescription
requestGetServiceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskService

The response to send back to the client (wrapped by a task).

GetServiceLevelObjective(GetServiceLevelObjectiveRequest, ServerCallContext)

public virtual Task<ServiceLevelObjective> GetServiceLevelObjective(GetServiceLevelObjectiveRequest request, ServerCallContext context)

Get a ServiceLevelObjective by name.

Parameters
NameDescription
requestGetServiceLevelObjectiveRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskServiceLevelObjective

The response to send back to the client (wrapped by a task).

ListServiceLevelObjectives(ListServiceLevelObjectivesRequest, ServerCallContext)

public virtual Task<ListServiceLevelObjectivesResponse> ListServiceLevelObjectives(ListServiceLevelObjectivesRequest request, ServerCallContext context)

List the ServiceLevelObjectives for the given Service.

Parameters
NameDescription
requestListServiceLevelObjectivesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListServiceLevelObjectivesResponse

The response to send back to the client (wrapped by a task).

ListServices(ListServicesRequest, ServerCallContext)

public virtual Task<ListServicesResponse> ListServices(ListServicesRequest request, ServerCallContext context)

List Services for this Metrics Scope.

Parameters
NameDescription
requestListServicesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListServicesResponse

The response to send back to the client (wrapped by a task).

UpdateService(UpdateServiceRequest, ServerCallContext)

public virtual Task<Service> UpdateService(UpdateServiceRequest request, ServerCallContext context)

Update this Service.

Parameters
NameDescription
requestUpdateServiceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskService

The response to send back to the client (wrapped by a task).

UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest, ServerCallContext)

public virtual Task<ServiceLevelObjective> UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, ServerCallContext context)

Update the given ServiceLevelObjective.

Parameters
NameDescription
requestUpdateServiceLevelObjectiveRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskServiceLevelObjective

The response to send back to the client (wrapped by a task).