2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public class StorageTransferService.StorageTransferServiceClient : ClientBase<StorageTransferService.StorageTransferServiceClient>

Reference documentation and code samples for the Storage Transfer v1 API class StorageTransferService.StorageTransferServiceClient.

Client for StorageTransferService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[StorageTransferService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageTransfer.V1/latest/Google.Cloud.StorageTransfer.V1.StorageTransferService.md.txt)[StorageTransferServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageTransfer.V1/latest/Google.Cloud.StorageTransfer.V1.StorageTransferService.StorageTransferServiceClient.md.txt) \> StorageTransferService.StorageTransferServiceClient

## Inherited Members

[ClientBase\<StorageTransferService.StorageTransferServiceClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.StorageTransfer.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageTransfer.V1/latest/Google.Cloud.StorageTransfer.V1.md.txt)

## Assembly

Google.Cloud.StorageTransfer.V1.dll

## Constructors

### StorageTransferServiceClient()

    protected StorageTransferServiceClient()

Protected parameterless constructor to allow creation of test doubles.

### StorageTransferServiceClient(CallInvoker)

    public StorageTransferServiceClient(CallInvoker callInvoker)

Creates a new client for StorageTransferService that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `CallInvoker` The callInvoker to use to make remote calls. |

### StorageTransferServiceClient(ChannelBase)

    public StorageTransferServiceClient(ChannelBase channel)

Creates a new client for StorageTransferService

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### StorageTransferServiceClient(ClientBaseConfiguration)

    protected StorageTransferServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### CreateAgentPool(CreateAgentPoolRequest, CallOptions)

    public virtual AgentPool CreateAgentPool(CreateAgentPoolRequest request, CallOptions options)

Creates an agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AgentPool` | The response received from the server. |

### CreateAgentPool(CreateAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual AgentPool CreateAgentPool(CreateAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AgentPool` | The response received from the server. |

### CreateAgentPoolAsync(CreateAgentPoolRequest, CallOptions)

    public virtual AsyncUnaryCall<AgentPool> CreateAgentPoolAsync(CreateAgentPoolRequest request, CallOptions options)

Creates an agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallAgentPool` | The call object. |

### CreateAgentPoolAsync(CreateAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<AgentPool> CreateAgentPoolAsync(CreateAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallAgentPool` | The call object. |

### CreateOperationsClient()

    public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of [Operations.OperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operations.OperationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationsOperationsClient` | A new Operations client for the same target as this client. |

### CreateTransferJob(CreateTransferJobRequest, CallOptions)

    public virtual TransferJob CreateTransferJob(CreateTransferJobRequest request, CallOptions options)

Creates a transfer job that runs periodically.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TransferJob` | The response received from the server. |

### CreateTransferJob(CreateTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual TransferJob CreateTransferJob(CreateTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a transfer job that runs periodically.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `TransferJob` | The response received from the server. |

### CreateTransferJobAsync(CreateTransferJobRequest, CallOptions)

    public virtual AsyncUnaryCall<TransferJob> CreateTransferJobAsync(CreateTransferJobRequest request, CallOptions options)

Creates a transfer job that runs periodically.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallTransferJob` | The call object. |

### CreateTransferJobAsync(CreateTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<TransferJob> CreateTransferJobAsync(CreateTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a transfer job that runs periodically.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallTransferJob` | The call object. |

### DeleteAgentPool(DeleteAgentPoolRequest, CallOptions)

    public virtual Empty DeleteAgentPool(DeleteAgentPoolRequest request, CallOptions options)

Deletes an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Empty` | The response received from the server. |

### DeleteAgentPool(DeleteAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual Empty DeleteAgentPool(DeleteAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `Empty` | The response received from the server. |

### DeleteAgentPoolAsync(DeleteAgentPoolRequest, CallOptions)

    public virtual AsyncUnaryCall<Empty> DeleteAgentPoolAsync(DeleteAgentPoolRequest request, CallOptions options)

Deletes an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEmpty` | The call object. |

### DeleteAgentPoolAsync(DeleteAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Empty> DeleteAgentPoolAsync(DeleteAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallEmpty` | The call object. |

### DeleteTransferJob(DeleteTransferJobRequest, CallOptions)

    public virtual Empty DeleteTransferJob(DeleteTransferJobRequest request, CallOptions options)

Deletes a transfer job. Deleting a transfer job sets its status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Empty` | The response received from the server. |

### DeleteTransferJob(DeleteTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual Empty DeleteTransferJob(DeleteTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a transfer job. Deleting a transfer job sets its status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `Empty` | The response received from the server. |

### DeleteTransferJobAsync(DeleteTransferJobRequest, CallOptions)

    public virtual AsyncUnaryCall<Empty> DeleteTransferJobAsync(DeleteTransferJobRequest request, CallOptions options)

Deletes a transfer job. Deleting a transfer job sets its status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEmpty` | The call object. |

### DeleteTransferJobAsync(DeleteTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Empty> DeleteTransferJobAsync(DeleteTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a transfer job. Deleting a transfer job sets its status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallEmpty` | The call object. |

### GetAgentPool(GetAgentPoolRequest, CallOptions)

    public virtual AgentPool GetAgentPool(GetAgentPoolRequest request, CallOptions options)

Gets an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AgentPool` | The response received from the server. |

### GetAgentPool(GetAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual AgentPool GetAgentPool(GetAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AgentPool` | The response received from the server. |

### GetAgentPoolAsync(GetAgentPoolRequest, CallOptions)

    public virtual AsyncUnaryCall<AgentPool> GetAgentPoolAsync(GetAgentPoolRequest request, CallOptions options)

Gets an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallAgentPool` | The call object. |

### GetAgentPoolAsync(GetAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<AgentPool> GetAgentPoolAsync(GetAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an agent pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallAgentPool` | The call object. |

### GetGoogleServiceAccount(GetGoogleServiceAccountRequest, CallOptions)

    public virtual GoogleServiceAccount GetGoogleServiceAccount(GetGoogleServiceAccountRequest request, CallOptions options)

Returns the Google service account that is used by Storage Transfer
Service to access buckets in the project where transfers
run or in other projects. Each Google service account is associated
with one Google Cloud project. Users
should add this service account to the Google Cloud Storage bucket
ACLs to grant access to Storage Transfer Service. This service
account is created and owned by Storage Transfer Service and can
only be used by Storage Transfer Service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetGoogleServiceAccountRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GoogleServiceAccount` | The response received from the server. |

### GetGoogleServiceAccount(GetGoogleServiceAccountRequest, Metadata, DateTime?, CancellationToken)

    public virtual GoogleServiceAccount GetGoogleServiceAccount(GetGoogleServiceAccountRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the Google service account that is used by Storage Transfer
Service to access buckets in the project where transfers
run or in other projects. Each Google service account is associated
with one Google Cloud project. Users
should add this service account to the Google Cloud Storage bucket
ACLs to grant access to Storage Transfer Service. This service
account is created and owned by Storage Transfer Service and can
only be used by Storage Transfer Service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetGoogleServiceAccountRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `GoogleServiceAccount` | The response received from the server. |

### GetGoogleServiceAccountAsync(GetGoogleServiceAccountRequest, CallOptions)

    public virtual AsyncUnaryCall<GoogleServiceAccount> GetGoogleServiceAccountAsync(GetGoogleServiceAccountRequest request, CallOptions options)

Returns the Google service account that is used by Storage Transfer
Service to access buckets in the project where transfers
run or in other projects. Each Google service account is associated
with one Google Cloud project. Users
should add this service account to the Google Cloud Storage bucket
ACLs to grant access to Storage Transfer Service. This service
account is created and owned by Storage Transfer Service and can
only be used by Storage Transfer Service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetGoogleServiceAccountRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallGoogleServiceAccount` | The call object. |

### GetGoogleServiceAccountAsync(GetGoogleServiceAccountRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<GoogleServiceAccount> GetGoogleServiceAccountAsync(GetGoogleServiceAccountRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the Google service account that is used by Storage Transfer
Service to access buckets in the project where transfers
run or in other projects. Each Google service account is associated
with one Google Cloud project. Users
should add this service account to the Google Cloud Storage bucket
ACLs to grant access to Storage Transfer Service. This service
account is created and owned by Storage Transfer Service and can
only be used by Storage Transfer Service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetGoogleServiceAccountRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallGoogleServiceAccount` | The call object. |

### GetTransferJob(GetTransferJobRequest, CallOptions)

    public virtual TransferJob GetTransferJob(GetTransferJobRequest request, CallOptions options)

Gets a transfer job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TransferJob` | The response received from the server. |

### GetTransferJob(GetTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual TransferJob GetTransferJob(GetTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a transfer job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `TransferJob` | The response received from the server. |

### GetTransferJobAsync(GetTransferJobRequest, CallOptions)

    public virtual AsyncUnaryCall<TransferJob> GetTransferJobAsync(GetTransferJobRequest request, CallOptions options)

Gets a transfer job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallTransferJob` | The call object. |

### GetTransferJobAsync(GetTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<TransferJob> GetTransferJobAsync(GetTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a transfer job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallTransferJob` | The call object. |

### ListAgentPools(ListAgentPoolsRequest, CallOptions)

    public virtual ListAgentPoolsResponse ListAgentPools(ListAgentPoolsRequest request, CallOptions options)

Lists agent pools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAgentPoolsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListAgentPoolsResponse` | The response received from the server. |

### ListAgentPools(ListAgentPoolsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListAgentPoolsResponse ListAgentPools(ListAgentPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists agent pools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAgentPoolsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `ListAgentPoolsResponse` | The response received from the server. |

### ListAgentPoolsAsync(ListAgentPoolsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListAgentPoolsResponse> ListAgentPoolsAsync(ListAgentPoolsRequest request, CallOptions options)

Lists agent pools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAgentPoolsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListAgentPoolsResponse` | The call object. |

### ListAgentPoolsAsync(ListAgentPoolsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListAgentPoolsResponse> ListAgentPoolsAsync(ListAgentPoolsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists agent pools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAgentPoolsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallListAgentPoolsResponse` | The call object. |

### ListTransferJobs(ListTransferJobsRequest, CallOptions)

    public virtual ListTransferJobsResponse ListTransferJobs(ListTransferJobsRequest request, CallOptions options)

Lists transfer jobs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListTransferJobsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListTransferJobsResponse` | The response received from the server. |

### ListTransferJobs(ListTransferJobsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListTransferJobsResponse ListTransferJobs(ListTransferJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists transfer jobs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListTransferJobsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `ListTransferJobsResponse` | The response received from the server. |

### ListTransferJobsAsync(ListTransferJobsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListTransferJobsResponse> ListTransferJobsAsync(ListTransferJobsRequest request, CallOptions options)

Lists transfer jobs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListTransferJobsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListTransferJobsResponse` | The call object. |

### ListTransferJobsAsync(ListTransferJobsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListTransferJobsResponse> ListTransferJobsAsync(ListTransferJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists transfer jobs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListTransferJobsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallListTransferJobsResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override StorageTransferService.StorageTransferServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StorageTransferServiceStorageTransferServiceClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.StorageTransfer.V1.StorageTransferService.StorageTransferServiceClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### PauseTransferOperation(PauseTransferOperationRequest, CallOptions)

    public virtual Empty PauseTransferOperation(PauseTransferOperationRequest request, CallOptions options)

Pauses a transfer operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `PauseTransferOperationRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Empty` | The response received from the server. |

### PauseTransferOperation(PauseTransferOperationRequest, Metadata, DateTime?, CancellationToken)

    public virtual Empty PauseTransferOperation(PauseTransferOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Pauses a transfer operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `PauseTransferOperationRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `Empty` | The response received from the server. |

### PauseTransferOperationAsync(PauseTransferOperationRequest, CallOptions)

    public virtual AsyncUnaryCall<Empty> PauseTransferOperationAsync(PauseTransferOperationRequest request, CallOptions options)

Pauses a transfer operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `PauseTransferOperationRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEmpty` | The call object. |

### PauseTransferOperationAsync(PauseTransferOperationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Empty> PauseTransferOperationAsync(PauseTransferOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Pauses a transfer operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `PauseTransferOperationRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallEmpty` | The call object. |

### ResumeTransferOperation(ResumeTransferOperationRequest, CallOptions)

    public virtual Empty ResumeTransferOperation(ResumeTransferOperationRequest request, CallOptions options)

Resumes a transfer operation that is paused.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResumeTransferOperationRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Empty` | The response received from the server. |

### ResumeTransferOperation(ResumeTransferOperationRequest, Metadata, DateTime?, CancellationToken)

    public virtual Empty ResumeTransferOperation(ResumeTransferOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resumes a transfer operation that is paused.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResumeTransferOperationRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `Empty` | The response received from the server. |

### ResumeTransferOperationAsync(ResumeTransferOperationRequest, CallOptions)

    public virtual AsyncUnaryCall<Empty> ResumeTransferOperationAsync(ResumeTransferOperationRequest request, CallOptions options)

Resumes a transfer operation that is paused.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResumeTransferOperationRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEmpty` | The call object. |

### ResumeTransferOperationAsync(ResumeTransferOperationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Empty> ResumeTransferOperationAsync(ResumeTransferOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resumes a transfer operation that is paused.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ResumeTransferOperationRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallEmpty` | The call object. |

### RunTransferJob(RunTransferJobRequest, CallOptions)

    public virtual Operation RunTransferJob(RunTransferJobRequest request, CallOptions options)

Starts a new operation for the specified transfer job.
A `TransferJob` has a maximum of one active `TransferOperation`. If this
method is called while a `TransferOperation` is active, an error is
returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RunTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### RunTransferJob(RunTransferJobRequest, Metadata, DateTime?, CancellationToken)

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

Starts a new operation for the specified transfer job.
A `TransferJob` has a maximum of one active `TransferOperation`. If this
method is called while a `TransferOperation` is active, an error is
returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RunTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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. |

### RunTransferJobAsync(RunTransferJobRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> RunTransferJobAsync(RunTransferJobRequest request, CallOptions options)

Starts a new operation for the specified transfer job.
A `TransferJob` has a maximum of one active `TransferOperation`. If this
method is called while a `TransferOperation` is active, an error is
returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RunTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### RunTransferJobAsync(RunTransferJobRequest, Metadata, DateTime?, CancellationToken)

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

Starts a new operation for the specified transfer job.
A `TransferJob` has a maximum of one active `TransferOperation`. If this
method is called while a `TransferOperation` is active, an error is
returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RunTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallOperation` | The call object. |

### UpdateAgentPool(UpdateAgentPoolRequest, CallOptions)

    public virtual AgentPool UpdateAgentPool(UpdateAgentPoolRequest request, CallOptions options)

Updates an existing agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AgentPool` | The response received from the server. |

### UpdateAgentPool(UpdateAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual AgentPool UpdateAgentPool(UpdateAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AgentPool` | The response received from the server. |

### UpdateAgentPoolAsync(UpdateAgentPoolRequest, CallOptions)

    public virtual AsyncUnaryCall<AgentPool> UpdateAgentPoolAsync(UpdateAgentPoolRequest request, CallOptions options)

Updates an existing agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAgentPoolRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallAgentPool` | The call object. |

### UpdateAgentPoolAsync(UpdateAgentPoolRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<AgentPool> UpdateAgentPoolAsync(UpdateAgentPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing agent pool resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateAgentPoolRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallAgentPool` | The call object. |

### UpdateTransferJob(UpdateTransferJobRequest, CallOptions)

    public virtual TransferJob UpdateTransferJob(UpdateTransferJobRequest request, CallOptions options)

Updates a transfer job. Updating a job's transfer spec does not affect
transfer operations that are running already.

**Note:** The job's \[status\]\[google.storagetransfer.v1.TransferJob.status\]
field can be modified using this RPC (for example, to set a job's status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\],
\[DISABLED\]\[google.storagetransfer.v1.TransferJob.Status.DISABLED\], or
\[ENABLED\]\[google.storagetransfer.v1.TransferJob.Status.ENABLED\]).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TransferJob` | The response received from the server. |

### UpdateTransferJob(UpdateTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual TransferJob UpdateTransferJob(UpdateTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a transfer job. Updating a job's transfer spec does not affect
transfer operations that are running already.

**Note:** The job's \[status\]\[google.storagetransfer.v1.TransferJob.status\]
field can be modified using this RPC (for example, to set a job's status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\],
\[DISABLED\]\[google.storagetransfer.v1.TransferJob.Status.DISABLED\], or
\[ENABLED\]\[google.storagetransfer.v1.TransferJob.Status.ENABLED\]).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `TransferJob` | The response received from the server. |

### UpdateTransferJobAsync(UpdateTransferJobRequest, CallOptions)

    public virtual AsyncUnaryCall<TransferJob> UpdateTransferJobAsync(UpdateTransferJobRequest request, CallOptions options)

Updates a transfer job. Updating a job's transfer spec does not affect
transfer operations that are running already.

**Note:** The job's \[status\]\[google.storagetransfer.v1.TransferJob.status\]
field can be modified using this RPC (for example, to set a job's status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\],
\[DISABLED\]\[google.storagetransfer.v1.TransferJob.Status.DISABLED\], or
\[ENABLED\]\[google.storagetransfer.v1.TransferJob.Status.ENABLED\]).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTransferJobRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallTransferJob` | The call object. |

### UpdateTransferJobAsync(UpdateTransferJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<TransferJob> UpdateTransferJobAsync(UpdateTransferJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a transfer job. Updating a job's transfer spec does not affect
transfer operations that are running already.

**Note:** The job's \[status\]\[google.storagetransfer.v1.TransferJob.status\]
field can be modified using this RPC (for example, to set a job's status to
\[DELETED\]\[google.storagetransfer.v1.TransferJob.Status.DELETED\],
\[DISABLED\]\[google.storagetransfer.v1.TransferJob.Status.DISABLED\], or
\[ENABLED\]\[google.storagetransfer.v1.TransferJob.Status.ENABLED\]).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateTransferJobRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.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** |
| `AsyncUnaryCallTransferJob` | The call object. |