Class HealthChecks.HealthChecksBase (2.1.0)

[BindServiceMethod(typeof(HealthChecks), "BindService")]
public abstract class HealthChecksBase

Base class for server-side implementations of HealthChecks

Inheritance

Object > HealthChecks.HealthChecksBase

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
requestAggregatedListHealthChecksRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteHealthCheckRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetHealthCheckRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestInsertHealthCheckRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListHealthChecksRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestPatchHealthCheckRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateHealthCheckRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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