Class TargetPools.TargetPoolsClient (1.3.0)

public class TargetPoolsClient : ClientBase<TargetPools.TargetPoolsClient>

Client for TargetPools

Inheritance

Object > ClientBase > ClientBase<TargetPools.TargetPoolsClient> > 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(ClientBase.ClientBaseConfiguration)

protected TargetPoolsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

AddHealthCheckAsync(AddHealthCheckTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

AddInstanceAsync(AddInstanceTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

AggregatedList(AggregatedListTargetPoolsRequest, CallOptions)

public virtual TargetPoolAggregatedList AggregatedList(AggregatedListTargetPoolsRequest request, CallOptions options)

Retrieves an aggregated list of target pools.

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, Nullable<DateTime>, CancellationToken)

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

Retrieves an aggregated list of target pools.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TargetPoolAggregatedList>

The call object.

AggregatedListAsync(AggregatedListTargetPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Retrieves an aggregated list of target pools.

Parameters
NameDescription
requestAggregatedListTargetPoolsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetPoolAggregatedList>

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

Get(GetTargetPoolRequest, CallOptions)

public virtual TargetPool Get(GetTargetPoolRequest request, CallOptions options)

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

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, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetTargetPoolRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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. Gets a list of available target pools by making a list() request.

Parameters
NameDescription
requestGetTargetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TargetPool>

The call object.

GetAsync(GetTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetTargetPoolRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetPool>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetPoolInstanceHealth>

The call object.

GetHealthAsync(GetHealthTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetPoolInstanceHealth>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetPoolList>

The call object.

ListAsync(ListTargetPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetPoolList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
TargetPools.TargetPoolsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.TargetPools.TargetPoolsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

RemoveInstanceAsync(RemoveInstanceTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

SetBackupAsync(SetBackupTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.