[BindServiceMethod(typeof(HealthChecks), "BindService")]
public abstract class HealthChecks.HealthChecksBaseReference documentation and code samples for the Compute Engine v1 API class HealthChecks.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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListHealthChecksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHealthChecksAggregatedList |
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 |
DeleteHealthCheckRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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.
| Parameters | |
|---|---|
| Name | Description |
request |
GetHealthCheckRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHealthCheck |
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 |
InsertHealthCheckRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
ListHealthChecksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHealthCheckList |
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 |
PatchHealthCheckRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
UpdateHealthCheckRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |