[BindServiceMethod(typeof(HealthChecks), "BindService")]
public abstract class HealthChecksBase
Base class for server-side implementations of HealthChecks
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListHealthChecksRequest, ServerCallContext)
public virtual Task<HealthChecksAggregatedList> AggregatedList(AggregatedListHealthChecksRequest request, ServerCallContext context)
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListHealthChecksRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<HealthChecksAggregatedList> | The response to send back to the client (wrapped by a task). |
Delete(DeleteHealthCheckRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteHealthCheckRequest request, ServerCallContext context)
Deletes the specified HealthCheck resource.
Parameters | |
---|---|
Name | Description |
request | DeleteHealthCheckRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
Get(GetHealthCheckRequest, ServerCallContext)
public virtual Task<HealthCheck> Get(GetHealthCheckRequest request, ServerCallContext context)
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetHealthCheckRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<HealthCheck> | The response to send back to the client (wrapped by a task). |
Insert(InsertHealthCheckRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertHealthCheckRequest request, ServerCallContext context)
Creates a HealthCheck resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertHealthCheckRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
List(ListHealthChecksRequest, ServerCallContext)
public virtual Task<HealthCheckList> List(ListHealthChecksRequest request, ServerCallContext context)
Retrieves the list of HealthCheck resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListHealthChecksRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<HealthCheckList> | The response to send back to the client (wrapped by a task). |
Patch(PatchHealthCheckRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchHealthCheckRequest request, ServerCallContext context)
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchHealthCheckRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
Update(UpdateHealthCheckRequest, ServerCallContext)
public virtual Task<Operation> Update(UpdateHealthCheckRequest request, ServerCallContext context)
Updates a HealthCheck resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateHealthCheckRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |