[BindServiceMethod(typeof(TargetPools), "BindService")]
public abstract class TargetPools.TargetPoolsBaseReference documentation and code samples for the Compute Engine v1 API class TargetPools.TargetPoolsBase.
Base class for server-side implementations of TargetPools
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
|---|---|
| Name | Description |
request |
AddHealthCheckTargetPoolRequestThe 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). |
AddInstance(AddInstanceTargetPoolRequest, ServerCallContext)
public virtual Task<Operation> AddInstance(AddInstanceTargetPoolRequest request, ServerCallContext context)Adds an instance to a target pool.
| Parameters | |
|---|---|
| Name | Description |
request |
AddInstanceTargetPoolRequestThe 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). |
AggregatedList(AggregatedListTargetPoolsRequest, ServerCallContext)
public virtual Task<TargetPoolAggregatedList> AggregatedList(AggregatedListTargetPoolsRequest request, ServerCallContext context)Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListTargetPoolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetPoolAggregatedList |
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 | |
|---|---|
| Name | Description |
request |
DeleteTargetPoolRequestThe 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(GetTargetPoolRequest, ServerCallContext)
public virtual Task<TargetPool> Get(GetTargetPoolRequest request, ServerCallContext context)Returns the specified target pool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetPool |
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 | |
|---|---|
| Name | Description |
request |
GetHealthTargetPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetPoolInstanceHealth |
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 | |
|---|---|
| Name | Description |
request |
InsertTargetPoolRequestThe 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(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 | |
|---|---|
| Name | Description |
request |
ListTargetPoolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetPoolList |
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 | |
|---|---|
| Name | Description |
request |
RemoveHealthCheckTargetPoolRequestThe 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). |
RemoveInstance(RemoveInstanceTargetPoolRequest, ServerCallContext)
public virtual Task<Operation> RemoveInstance(RemoveInstanceTargetPoolRequest request, ServerCallContext context)Removes instance URL from a target pool.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveInstanceTargetPoolRequestThe 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). |
SetBackup(SetBackupTargetPoolRequest, ServerCallContext)
public virtual Task<Operation> SetBackup(SetBackupTargetPoolRequest request, ServerCallContext context)Changes a backup target pool's configurations.
| Parameters | |
|---|---|
| Name | Description |
request |
SetBackupTargetPoolRequestThe 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). |
SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest, ServerCallContext)
public virtual Task<Operation> SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest request, ServerCallContext context)Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview
| Parameters | |
|---|---|
| Name | Description |
request |
SetSecurityPolicyTargetPoolRequestThe 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). |
TestIamPermissions(TestIamPermissionsTargetPoolRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsTargetPoolRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsTargetPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
The response to send back to the client (wrapped by a task). |