Class TargetPools.TargetPoolsBase (2.1.0)

[BindServiceMethod(typeof(TargetPools), "BindService")]
public abstract class TargetPoolsBase

Base class for server-side implementations of TargetPools

Inheritance

Object > TargetPools.TargetPoolsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AddHealthCheck(AddHealthCheckTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> AddHealthCheck(AddHealthCheckTargetPoolRequest request, ServerCallContext context)

Adds health check URLs to a target pool.

Parameters
NameDescription
requestAddHealthCheckTargetPoolRequest

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).

AddInstance(AddInstanceTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> AddInstance(AddInstanceTargetPoolRequest request, ServerCallContext context)

Adds an instance to a target pool.

Parameters
NameDescription
requestAddInstanceTargetPoolRequest

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).

AggregatedList(AggregatedListTargetPoolsRequest, ServerCallContext)

public virtual Task<TargetPoolAggregatedList> AggregatedList(AggregatedListTargetPoolsRequest request, ServerCallContext context)

Retrieves an aggregated list of target pools.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TargetPoolAggregatedList>

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

Delete(DeleteTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteTargetPoolRequest request, ServerCallContext context)

Deletes the specified target pool.

Parameters
NameDescription
requestDeleteTargetPoolRequest

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(GetTargetPoolRequest, ServerCallContext)

public virtual Task<TargetPool> Get(GetTargetPoolRequest request, ServerCallContext context)

Returns the specified target pool. Gets a list of available target pools by making a list() request.

Parameters
NameDescription
requestGetTargetPoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TargetPool>

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

GetHealth(GetHealthTargetPoolRequest, ServerCallContext)

public virtual Task<TargetPoolInstanceHealth> GetHealth(GetHealthTargetPoolRequest request, ServerCallContext context)

Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.

Parameters
NameDescription
requestGetHealthTargetPoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TargetPoolInstanceHealth>

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

Insert(InsertTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertTargetPoolRequest request, ServerCallContext context)

Creates a target pool in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertTargetPoolRequest

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(ListTargetPoolsRequest, ServerCallContext)

public virtual Task<TargetPoolList> List(ListTargetPoolsRequest request, ServerCallContext context)

Retrieves a list of target pools available to the specified project and region.

Parameters
NameDescription
requestListTargetPoolsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TargetPoolList>

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

RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, ServerCallContext context)

Removes health check URL from a target pool.

Parameters
NameDescription
requestRemoveHealthCheckTargetPoolRequest

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).

RemoveInstance(RemoveInstanceTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> RemoveInstance(RemoveInstanceTargetPoolRequest request, ServerCallContext context)

Removes instance URL from a target pool.

Parameters
NameDescription
requestRemoveInstanceTargetPoolRequest

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).

SetBackup(SetBackupTargetPoolRequest, ServerCallContext)

public virtual Task<Operation> SetBackup(SetBackupTargetPoolRequest request, ServerCallContext context)

Changes a backup target pool's configurations.

Parameters
NameDescription
requestSetBackupTargetPoolRequest

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).