[BindServiceMethod(typeof(ServiceMonitoringService), "BindService")]
public abstract class ServiceMonitoringServiceBase
Reference documentation and code samples for the Google Cloud Monitoring v3 API class ServiceMonitoringService.ServiceMonitoringServiceBase.
Base 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 | CreateServiceRequest The request received from the client. |
context | ServerCallContext The 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 | CreateServiceLevelObjectiveRequest The request received from the client. |
context | ServerCallContext The 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 | DeleteServiceRequest The request received from the client. |
context | ServerCallContext The 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 | DeleteServiceLevelObjectiveRequest The request received from the client. |
context | ServerCallContext The 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 | GetServiceRequest The request received from the client. |
context | ServerCallContext The 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 | GetServiceLevelObjectiveRequest The request received from the client. |
context | ServerCallContext The 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 ServiceLevelObjective
s 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 |
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 Service
s for this workspace.
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 |
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 | UpdateServiceRequest The request received from the client. |
context | ServerCallContext The 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 | UpdateServiceLevelObjectiveRequest The request received from the client. |
context | ServerCallContext The 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). |