[BindServiceMethod(typeof(ServiceMonitoringService), "BindService")]
public abstract class ServiceMonitoringServiceBaseBase class for server-side implementations of ServiceMonitoringService
Namespace
Google.Cloud.Monitoring.V3Assembly
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 |
CreateServiceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Service> |
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 |
CreateServiceLevelObjectiveRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ServiceLevelObjective> |
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 |
DeleteServiceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Empty> |
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 |
DeleteServiceLevelObjectiveRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Empty> |
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 |
GetServiceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Service> |
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 |
GetServiceLevelObjectiveRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ServiceLevelObjective> |
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 |
ListServiceLevelObjectivesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListServiceLevelObjectivesResponse> |
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 workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListServicesResponse> |
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 |
UpdateServiceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Service> |
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 |
UpdateServiceLevelObjectiveRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ServiceLevelObjective> |
The response to send back to the client (wrapped by a task). |