Google Cloud Monitoring v3 API - Class ServiceMonitoringService.ServiceMonitoringServiceBase (3.9.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
Name Description
request CreateServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request CreateServiceLevelObjectiveRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request DeleteServiceLevelObjectiveRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetServiceLevelObjectiveRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListServiceLevelObjectivesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListServicesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request UpdateServiceLevelObjectiveRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskServiceLevelObjective

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