public class TargetPoolsClient : ClientBase<TargetPools.TargetPoolsClient>
Reference documentation and code samples for the Compute Engine v1 API class TargetPools.TargetPoolsClient.
Client for TargetPools
Inheritance
Object > ClientBase > ClientBase<TargetPools.TargetPoolsClient> > TargetPools.TargetPoolsClientNamespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
TargetPoolsClient(ChannelBase)
public TargetPoolsClient(ChannelBase channel)
Creates a new client for TargetPools
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddHealthCheck(AddHealthCheckTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation AddHealthCheck(AddHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Adds health check URLs to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
AddHealthCheckAsync(AddHealthCheckTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddHealthCheckAsync(AddHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Adds health check URLs to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
AddInstance(AddInstanceTargetPoolRequest, CallOptions)
public virtual Operation AddInstance(AddInstanceTargetPoolRequest request, CallOptions options)
Adds an instance to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddInstance(AddInstanceTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation AddInstance(AddInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Adds an instance to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
AddInstanceAsync(AddInstanceTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddInstanceAsync(AddInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Adds an instance to a target pool.
Parameters | |
---|---|
Name | Description |
request | AddInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
AggregatedList(AggregatedListTargetPoolsRequest, CallOptions)
public virtual TargetPoolAggregatedList AggregatedList(AggregatedListTargetPoolsRequest request, CallOptions options)
Retrieves an aggregated list of target pools.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPoolAggregatedList | The response received from the server. |
AggregatedList(AggregatedListTargetPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TargetPoolAggregatedList AggregatedList(AggregatedListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of target pools.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TargetPoolAggregatedList> | The call object. |
AggregatedListAsync(AggregatedListTargetPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetPoolAggregatedList> AggregatedListAsync(AggregatedListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves an aggregated list of target pools.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Delete(DeleteTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified target pool.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified target pool.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPool | The response received from the server. |
Get(GetTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TargetPool Get(GetTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified target pool. Gets a list of available target pools by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TargetPool> | The call object. |
GetAsync(GetTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetPool> GetAsync(GetTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified target pool. Gets a list of available target pools by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetHealthTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPoolInstanceHealth | The response received from the server. |
GetHealth(GetHealthTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TargetPoolInstanceHealth GetHealth(GetHealthTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetHealthTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetHealthTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TargetPoolInstanceHealth> | The call object. |
GetHealthAsync(GetHealthTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetPoolInstanceHealth> GetHealthAsync(GetHealthTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetHealthTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Insert(InsertTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a target pool in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a target pool in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetPoolList | The response received from the server. |
List(ListTargetPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual TargetPoolList List(ListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves a list of target pools available to the specified project and region.
Parameters | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<TargetPoolList> | The call object. |
ListAsync(ListTargetPoolsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetPoolList> ListAsync(ListTargetPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves a list of target pools available to the specified project and region.
Parameters | |
---|---|
Name | Description |
request | ListTargetPoolsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TargetPools.TargetPoolsClient |
RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, CallOptions)
public virtual Operation RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, CallOptions options)
Removes health check URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveHealthCheck(RemoveHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Removes health check URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveHealthCheckAsync(RemoveHealthCheckTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Removes health check URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveHealthCheckTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RemoveInstance(RemoveInstanceTargetPoolRequest, CallOptions)
public virtual Operation RemoveInstance(RemoveInstanceTargetPoolRequest request, CallOptions options)
Removes instance URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveInstance(RemoveInstanceTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveInstance(RemoveInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Removes instance URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RemoveInstanceAsync(RemoveInstanceTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveInstanceAsync(RemoveInstanceTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Removes instance URL from a target pool.
Parameters | |
---|---|
Name | Description |
request | RemoveInstanceTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
SetBackup(SetBackupTargetPoolRequest, CallOptions)
public virtual Operation SetBackup(SetBackupTargetPoolRequest request, CallOptions options)
Changes a backup target pool's configurations.
Parameters | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetBackup(SetBackupTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation SetBackup(SetBackupTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Changes a backup target pool's configurations.
Parameters | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
SetBackupAsync(SetBackupTargetPoolRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetBackupAsync(SetBackupTargetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Changes a backup target pool's configurations.
Parameters | |
---|---|
Name | Description |
request | SetBackupTargetPoolRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |