# Google Cloud Dataproc v1 API - Class BatchControllerClientImpl (5.27.0)

5.27.0 (latest) 5.26.0 5.25.0 5.24.0 5.23.0 5.22.0 5.21.0 5.20.0 5.19.0 5.18.0 5.17.0 5.16.0 5.15.0 5.14.0 5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0.0 4.0.0 3.4.0 3.3.0 3.2.0 3.1.0

    public sealed class BatchControllerClientImpl : BatchControllerClient

Reference documentation and code samples for the Google Cloud Dataproc v1 API class BatchControllerClientImpl.

BatchController client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [BatchControllerClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient) \> BatchControllerClientImpl

## Inherited Members

[BatchControllerClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DefaultEndpoint) [BatchControllerClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DefaultScopes) [BatchControllerClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ServiceMetadata) [BatchControllerClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateAsync_System_Threading_CancellationToken_) [BatchControllerClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_Create) [BatchControllerClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ShutdownDefaultChannelsAsync) [BatchControllerClient.CreateBatchAsync(CreateBatchRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatchAsync_Google_Cloud_Dataproc_V1_CreateBatchRequest_System_Threading_CancellationToken_) [BatchControllerClient.PollOnceCreateBatch(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_PollOnceCreateBatch_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.PollOnceCreateBatchAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_PollOnceCreateBatchAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.CreateBatch(string, Batch, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatch_System_String_Google_Cloud_Dataproc_V1_Batch_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.CreateBatchAsync(string, Batch, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatchAsync_System_String_Google_Cloud_Dataproc_V1_Batch_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.CreateBatchAsync(string, Batch, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatchAsync_System_String_Google_Cloud_Dataproc_V1_Batch_System_String_System_Threading_CancellationToken_) [BatchControllerClient.CreateBatch(LocationName, Batch, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatch_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dataproc_V1_Batch_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.CreateBatchAsync(LocationName, Batch, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatchAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dataproc_V1_Batch_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.CreateBatchAsync(LocationName, Batch, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatchAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dataproc_V1_Batch_System_String_System_Threading_CancellationToken_) [BatchControllerClient.GetBatchAsync(GetBatchRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatchAsync_Google_Cloud_Dataproc_V1_GetBatchRequest_System_Threading_CancellationToken_) [BatchControllerClient.GetBatch(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatch_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.GetBatchAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatchAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.GetBatchAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatchAsync_System_String_System_Threading_CancellationToken_) [BatchControllerClient.GetBatch(BatchName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatch_Google_Cloud_Dataproc_V1_BatchName_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.GetBatchAsync(BatchName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatchAsync_Google_Cloud_Dataproc_V1_BatchName_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.GetBatchAsync(BatchName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatchAsync_Google_Cloud_Dataproc_V1_BatchName_System_Threading_CancellationToken_) [BatchControllerClient.ListBatches(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ListBatches_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.ListBatchesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ListBatchesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.ListBatches(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ListBatches_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.ListBatchesAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ListBatchesAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.DeleteBatchAsync(DeleteBatchRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatchAsync_Google_Cloud_Dataproc_V1_DeleteBatchRequest_System_Threading_CancellationToken_) [BatchControllerClient.DeleteBatch(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatch_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.DeleteBatchAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatchAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.DeleteBatchAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatchAsync_System_String_System_Threading_CancellationToken_) [BatchControllerClient.DeleteBatch(BatchName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatch_Google_Cloud_Dataproc_V1_BatchName_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.DeleteBatchAsync(BatchName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatchAsync_Google_Cloud_Dataproc_V1_BatchName_Google_Api_Gax_Grpc_CallSettings_) [BatchControllerClient.DeleteBatchAsync(BatchName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatchAsync_Google_Cloud_Dataproc_V1_BatchName_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.Dataproc.V1.dll

## Remarks

The BatchController provides methods to manage batch workloads.

## Constructors

### BatchControllerClientImpl(BatchControllerClient, BatchControllerSettings, ILogger)

    public BatchControllerClientImpl(BatchController.BatchControllerClient grpcClient, BatchControllerSettings settings, ILogger logger)

Constructs a client wrapper for the BatchController service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchController.BatchControllerClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerSettings` The base [BatchControllerSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### CreateBatchOperationsClient

    public override OperationsClient CreateBatchOperationsClient { get; }

The long-running operations client for `CreateBatch`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [BatchControllerClient.CreateBatchOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatchOperationsClient)

### GrpcClient

    public override BatchController.BatchControllerClient GrpcClient { get; }

The underlying gRPC BatchController client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchController.BatchControllerClient` |   |

**Overrides** [BatchControllerClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GrpcClient)

### IAMPolicyClient

    public override IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html` |   |

**Overrides** [BatchControllerClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_IAMPolicyClient)

## Methods

### CreateBatch(CreateBatchRequest, CallSettings)

    public override Operation<Batch, BatchOperationMetadata> CreateBatch(CreateBatchRequest request, CallSettings callSettings = null)

Creates a batch workload that executes asynchronously.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.CreateBatchRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batchhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchOperationMetadata` | The RPC response. |

**Overrides** [BatchControllerClient.CreateBatch(CreateBatchRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatch_Google_Cloud_Dataproc_V1_CreateBatchRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateBatchAsync(CreateBatchRequest, CallSettings)

    public override Task<Operation<Batch, BatchOperationMetadata>> CreateBatchAsync(CreateBatchRequest request, CallSettings callSettings = null)

Creates a batch workload that executes asynchronously.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.CreateBatchRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batchhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchOperationMetadata` | A Task containing the RPC response. |

**Overrides** [BatchControllerClient.CreateBatchAsync(CreateBatchRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_CreateBatchAsync_Google_Cloud_Dataproc_V1_CreateBatchRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteBatch(DeleteBatchRequest, CallSettings)

    public override void DeleteBatch(DeleteBatchRequest request, CallSettings callSettings = null)

Deletes the batch workload resource. If the batch is not in a
`CANCELLED`, `SUCCEEDED` or `FAILED`
\[`State`\]\[google.cloud.dataproc.v1.Batch.State\], the delete operation fails
and the response returns `FAILED_PRECONDITION`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DeleteBatchRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [BatchControllerClient.DeleteBatch(DeleteBatchRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatch_Google_Cloud_Dataproc_V1_DeleteBatchRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteBatchAsync(DeleteBatchRequest, CallSettings)

    public override Task DeleteBatchAsync(DeleteBatchRequest request, CallSettings callSettings = null)

Deletes the batch workload resource. If the batch is not in a
`CANCELLED`, `SUCCEEDED` or `FAILED`
\[`State`\]\[google.cloud.dataproc.v1.Batch.State\], the delete operation fails
and the response returns `FAILED_PRECONDITION`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DeleteBatchRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [BatchControllerClient.DeleteBatchAsync(DeleteBatchRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_DeleteBatchAsync_Google_Cloud_Dataproc_V1_DeleteBatchRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetBatch(GetBatchRequest, CallSettings)

    public override Batch GetBatch(GetBatchRequest request, CallSettings callSettings = null)

Gets the batch workload resource representation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GetBatchRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batch` | The RPC response. |

**Overrides** [BatchControllerClient.GetBatch(GetBatchRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatch_Google_Cloud_Dataproc_V1_GetBatchRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetBatchAsync(GetBatchRequest, CallSettings)

    public override Task<Batch> GetBatchAsync(GetBatchRequest request, CallSettings callSettings = null)

Gets the batch workload resource representation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.GetBatchRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batch` | A Task containing the RPC response. |

**Overrides** [BatchControllerClient.GetBatchAsync(GetBatchRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_GetBatchAsync_Google_Cloud_Dataproc_V1_GetBatchRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListBatches(ListBatchesRequest, CallSettings)

    public override PagedEnumerable<ListBatchesResponse, Batch> ListBatches(ListBatchesRequest request, CallSettings callSettings = null)

Lists batch workloads.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batch` | A pageable sequence of [Batch](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batch) resources. |

**Overrides** [BatchControllerClient.ListBatches(ListBatchesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ListBatches_Google_Cloud_Dataproc_V1_ListBatchesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListBatchesAsync(ListBatchesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListBatchesResponse, Batch> ListBatchesAsync(ListBatchesRequest request, CallSettings callSettings = null)

Lists batch workloads.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.ListBatchesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batch` | A pageable asynchronous sequence of [Batch](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.Batch) resources. |

**Overrides** [BatchControllerClient.ListBatchesAsync(ListBatchesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.BatchControllerClient#Google_Cloud_Dataproc_V1_BatchControllerClient_ListBatchesAsync_Google_Cloud_Dataproc_V1_ListBatchesRequest_Google_Api_Gax_Grpc_CallSettings_)