Compute Engine v1 API - Class TargetPools.TargetPoolsClient (2.15.0)

public class TargetPools.TargetPoolsClient : ClientBase<TargetPools.TargetPoolsClient>

Reference documentation and code samples for the Compute Engine v1 API class TargetPools.TargetPoolsClient.

Client for TargetPools

Inheritance

object > ClientBase > ClientBaseTargetPoolsTargetPoolsClient > TargetPools.TargetPoolsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

TargetPoolsClient()

protected TargetPoolsClient()

Protected parameterless constructor to allow creation of test doubles.

TargetPoolsClient(CallInvoker)

public TargetPoolsClient(CallInvoker callInvoker)

Creates a new client for TargetPools that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TargetPoolsClient(ChannelBase)

public TargetPoolsClient(ChannelBase channel)

Creates a new client for TargetPools

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

TargetPoolsClient(ClientBaseConfiguration)

protected TargetPoolsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AddHealthCheck(AddHealthCheckTargetPoolRequest, CallOptions)

public virtual Operation AddHealthCheck(AddHealthCheckTargetPoolRequest request, CallOptions options)

Adds health check URLs to a target pool.

Parameters
NameDescription
requestAddHealthCheckTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AddHealthCheck(AddHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation AddHealthCheck(AddHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds health check URLs to a target pool.

Parameters
NameDescription
requestAddHealthCheckTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

AddHealthCheckAsync(AddHealthCheckTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AddHealthCheckAsync(AddHealthCheckTargetPoolRequest request, CallOptions options)

Adds health check URLs to a target pool.

Parameters
NameDescription
requestAddHealthCheckTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AddHealthCheckAsync(AddHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> AddHealthCheckAsync(AddHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds health check URLs to a target pool.

Parameters
NameDescription
requestAddHealthCheckTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AddInstance(AddInstanceTargetPoolRequest, CallOptions)

public virtual Operation AddInstance(AddInstanceTargetPoolRequest request, CallOptions options)

Adds an instance to a target pool.

Parameters
NameDescription
requestAddInstanceTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AddInstance(AddInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation AddInstance(AddInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds an instance to a target pool.

Parameters
NameDescription
requestAddInstanceTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

AddInstanceAsync(AddInstanceTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AddInstanceAsync(AddInstanceTargetPoolRequest request, CallOptions options)

Adds an instance to a target pool.

Parameters
NameDescription
requestAddInstanceTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AddInstanceAsync(AddInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> AddInstanceAsync(AddInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds an instance to a target pool.

Parameters
NameDescription
requestAddInstanceTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AggregatedList(AggregatedListTargetPoolsRequest, CallOptions)

public virtual TargetPoolAggregatedList AggregatedList(AggregatedListTargetPoolsRequest request, CallOptions options)

Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetPoolAggregatedList

The response received from the server.

AggregatedList(AggregatedListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetPoolAggregatedList AggregatedList(AggregatedListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TargetPoolAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListTargetPoolsRequest, CallOptions)

public virtual AsyncUnaryCall<TargetPoolAggregatedList> AggregatedListAsync(AggregatedListTargetPoolsRequest request, CallOptions options)

Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetPoolAggregatedList

The call object.

AggregatedListAsync(AggregatedListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetPoolAggregatedList> AggregatedListAsync(AggregatedListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTargetPoolAggregatedList

The call object.

CreateOperationsClientForRegionOperations()

public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteTargetPoolRequest, CallOptions)

public virtual Operation Delete(DeleteTargetPoolRequest request, CallOptions options)

Deletes the specified target pool.

Parameters
NameDescription
requestDeleteTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified target pool.

Parameters
NameDescription
requestDeleteTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAsync(DeleteTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetPoolRequest request, CallOptions options)

Deletes the specified target pool.

Parameters
NameDescription
requestDeleteTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified target pool.

Parameters
NameDescription
requestDeleteTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Get(GetTargetPoolRequest, CallOptions)

public virtual TargetPool Get(GetTargetPoolRequest request, CallOptions options)

Returns the specified target pool.

Parameters
NameDescription
requestGetTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetPool

The response received from the server.

Get(GetTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetPool Get(GetTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified target pool.

Parameters
NameDescription
requestGetTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TargetPool

The response received from the server.

GetAsync(GetTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<TargetPool> GetAsync(GetTargetPoolRequest request, CallOptions options)

Returns the specified target pool.

Parameters
NameDescription
requestGetTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetPool

The call object.

GetAsync(GetTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetPool> GetAsync(GetTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified target pool.

Parameters
NameDescription
requestGetTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTargetPool

The call object.

GetHealth(GetHealthTargetPoolRequest, CallOptions)

public virtual TargetPoolInstanceHealth GetHealth(GetHealthTargetPoolRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetPoolInstanceHealth

The response received from the server.

GetHealth(GetHealthTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetPoolInstanceHealth GetHealth(GetHealthTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TargetPoolInstanceHealth

The response received from the server.

GetHealthAsync(GetHealthTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<TargetPoolInstanceHealth> GetHealthAsync(GetHealthTargetPoolRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetPoolInstanceHealth

The call object.

GetHealthAsync(GetHealthTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetPoolInstanceHealth> GetHealthAsync(GetHealthTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTargetPoolInstanceHealth

The call object.

Insert(InsertTargetPoolRequest, CallOptions)

public virtual Operation Insert(InsertTargetPoolRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestInsertTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

InsertAsync(InsertTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetPoolRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestInsertTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

List(ListTargetPoolsRequest, CallOptions)

public virtual TargetPoolList List(ListTargetPoolsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListTargetPoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetPoolList

The response received from the server.

List(ListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetPoolList List(ListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListTargetPoolsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TargetPoolList

The response received from the server.

ListAsync(ListTargetPoolsRequest, CallOptions)

public virtual AsyncUnaryCall<TargetPoolList> ListAsync(ListTargetPoolsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListTargetPoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetPoolList

The call object.

ListAsync(ListTargetPoolsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetPoolList> ListAsync(ListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListTargetPoolsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTargetPoolList

The call object.

NewInstance(ClientBaseConfiguration)

protected override TargetPools.TargetPoolsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
TargetPoolsTargetPoolsClient
Overrides

RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, CallOptions)

public virtual Operation RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, CallOptions options)

Removes health check URL from a target pool.

Parameters
NameDescription
requestRemoveHealthCheckTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Removes health check URL from a target pool.

Parameters
NameDescription
requestRemoveHealthCheckTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest request, CallOptions options)

Removes health check URL from a target pool.

Parameters
NameDescription
requestRemoveHealthCheckTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Removes health check URL from a target pool.

Parameters
NameDescription
requestRemoveHealthCheckTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

RemoveInstance(RemoveInstanceTargetPoolRequest, CallOptions)

public virtual Operation RemoveInstance(RemoveInstanceTargetPoolRequest request, CallOptions options)

Removes instance URL from a target pool.

Parameters
NameDescription
requestRemoveInstanceTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

RemoveInstance(RemoveInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation RemoveInstance(RemoveInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Removes instance URL from a target pool.

Parameters
NameDescription
requestRemoveInstanceTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

RemoveInstanceAsync(RemoveInstanceTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RemoveInstanceAsync(RemoveInstanceTargetPoolRequest request, CallOptions options)

Removes instance URL from a target pool.

Parameters
NameDescription
requestRemoveInstanceTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

RemoveInstanceAsync(RemoveInstanceTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> RemoveInstanceAsync(RemoveInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Removes instance URL from a target pool.

Parameters
NameDescription
requestRemoveInstanceTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetBackup(SetBackupTargetPoolRequest, CallOptions)

public virtual Operation SetBackup(SetBackupTargetPoolRequest request, CallOptions options)

Changes a backup target pool's configurations.

Parameters
NameDescription
requestSetBackupTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetBackup(SetBackupTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetBackup(SetBackupTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes a backup target pool's configurations.

Parameters
NameDescription
requestSetBackupTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

SetBackupAsync(SetBackupTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetBackupAsync(SetBackupTargetPoolRequest request, CallOptions options)

Changes a backup target pool's configurations.

Parameters
NameDescription
requestSetBackupTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetBackupAsync(SetBackupTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetBackupAsync(SetBackupTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes a backup target pool's configurations.

Parameters
NameDescription
requestSetBackupTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest, CallOptions)

public virtual Operation SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest request, CallOptions options)

Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest request, CallOptions options)

Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetSecurityPolicyAsync(SetSecurityPolicyTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyTargetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.