Compute Engine v1 API - Class HealthChecks.HealthChecksBase (2.14.0)

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

Reference documentation and code samples for the Compute Engine v1 API class HealthChecks.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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListHealthChecksRequest

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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