1.0.0 (latest) 1.0.0-beta06

    public class StorageBatchOperations.StorageBatchOperationsClient : ClientBase<StorageBatchOperations.StorageBatchOperationsClient>

Reference documentation and code samples for the Storage Batch Operations v1 API class StorageBatchOperations.StorageBatchOperationsClient.

Client for StorageBatchOperations

## 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)[StorageBatchOperations](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.StorageBatchOperations.md.txt)[StorageBatchOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.StorageBatchOperations.StorageBatchOperationsClient.md.txt) \> StorageBatchOperations.StorageBatchOperationsClient

## Inherited Members

[ClientBase\<StorageBatchOperations.StorageBatchOperationsClient\>.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.StorageBatchOperations.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.md.txt)

## Assembly

Google.Cloud.StorageBatchOperations.V1.dll

## Constructors

### StorageBatchOperationsClient()

    protected StorageBatchOperationsClient()

Protected parameterless constructor to allow creation of test doubles.

### StorageBatchOperationsClient(CallInvoker)

    public StorageBatchOperationsClient(CallInvoker callInvoker)

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

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

### StorageBatchOperationsClient(ChannelBase)

    public StorageBatchOperationsClient(ChannelBase channel)

Creates a new client for StorageBatchOperations

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

### StorageBatchOperationsClient(ClientBaseConfiguration)

    protected StorageBatchOperationsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

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

## Methods

### CancelJob(CancelJobRequest, CallOptions)

    public virtual CancelJobResponse CancelJob(CancelJobRequest request, CallOptions options)

Cancels a batch job.

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

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

### CancelJob(CancelJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual CancelJobResponse CancelJob(CancelJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancels a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelJobRequest` 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** |
| `CancelJobResponse` | The response received from the server. |

### CancelJobAsync(CancelJobRequest, CallOptions)

    public virtual AsyncUnaryCall<CancelJobResponse> CancelJobAsync(CancelJobRequest request, CallOptions options)

Cancels a batch job.

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

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

### CancelJobAsync(CancelJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<CancelJobResponse> CancelJobAsync(CancelJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Cancels a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CancelJobRequest` 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** |
| `AsyncUnaryCallCancelJobResponse` | The call object. |

### CreateJob(CreateJobRequest, CallOptions)

    public virtual Operation CreateJob(CreateJobRequest request, CallOptions options)

Creates a batch job.

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

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

### CreateJob(CreateJobRequest, Metadata, DateTime?, CancellationToken)

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

Creates a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateJobRequest` 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. |

### CreateJobAsync(CreateJobRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateJobAsync(CreateJobRequest request, CallOptions options)

Creates a batch job.

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

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

### CreateJobAsync(CreateJobRequest, Metadata, DateTime?, CancellationToken)

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

Creates a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateJobRequest` 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. |

### CreateLocationsClient()

    public virtual Locations.LocationsClient CreateLocationsClient()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `LocationsLocationsClient` | A new [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) for the same target as this client. |

### 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. |

### DeleteJob(DeleteJobRequest, CallOptions)

    public virtual Empty DeleteJob(DeleteJobRequest request, CallOptions options)

Deletes a batch job.

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

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

### DeleteJob(DeleteJobRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteJobRequest` 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. |

### DeleteJobAsync(DeleteJobRequest, CallOptions)

    public virtual AsyncUnaryCall<Empty> DeleteJobAsync(DeleteJobRequest request, CallOptions options)

Deletes a batch job.

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

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

### DeleteJobAsync(DeleteJobRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteJobRequest` 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. |

### GetBucketOperation(GetBucketOperationRequest, CallOptions)

    public virtual BucketOperation GetBucketOperation(GetBucketOperationRequest request, CallOptions options)

Gets a BucketOperation.

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

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

### GetBucketOperation(GetBucketOperationRequest, Metadata, DateTime?, CancellationToken)

    public virtual BucketOperation GetBucketOperation(GetBucketOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a BucketOperation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetBucketOperationRequest` 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** |
| `BucketOperation` | The response received from the server. |

### GetBucketOperationAsync(GetBucketOperationRequest, CallOptions)

    public virtual AsyncUnaryCall<BucketOperation> GetBucketOperationAsync(GetBucketOperationRequest request, CallOptions options)

Gets a BucketOperation.

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

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

### GetBucketOperationAsync(GetBucketOperationRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<BucketOperation> GetBucketOperationAsync(GetBucketOperationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a BucketOperation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetBucketOperationRequest` 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** |
| `AsyncUnaryCallBucketOperation` | The call object. |

### GetJob(GetJobRequest, CallOptions)

    public virtual Job GetJob(GetJobRequest request, CallOptions options)

Gets a batch job.

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

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

### GetJob(GetJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual Job GetJob(GetJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetJobRequest` 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** |
| `Job` | The response received from the server. |

### GetJobAsync(GetJobRequest, CallOptions)

    public virtual AsyncUnaryCall<Job> GetJobAsync(GetJobRequest request, CallOptions options)

Gets a batch job.

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

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

### GetJobAsync(GetJobRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Job> GetJobAsync(GetJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a batch job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetJobRequest` 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** |
| `AsyncUnaryCallJob` | The call object. |

### ListBucketOperations(ListBucketOperationsRequest, CallOptions)

    public virtual ListBucketOperationsResponse ListBucketOperations(ListBucketOperationsRequest request, CallOptions options)

Lists BucketOperations in a given project and job.

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

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

### ListBucketOperations(ListBucketOperationsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListBucketOperationsResponse ListBucketOperations(ListBucketOperationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists BucketOperations in a given project and job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListBucketOperationsRequest` 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** |
| `ListBucketOperationsResponse` | The response received from the server. |

### ListBucketOperationsAsync(ListBucketOperationsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListBucketOperationsResponse> ListBucketOperationsAsync(ListBucketOperationsRequest request, CallOptions options)

Lists BucketOperations in a given project and job.

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

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

### ListBucketOperationsAsync(ListBucketOperationsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListBucketOperationsResponse> ListBucketOperationsAsync(ListBucketOperationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists BucketOperations in a given project and job.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListBucketOperationsRequest` 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** |
| `AsyncUnaryCallListBucketOperationsResponse` | The call object. |

### ListJobs(ListJobsRequest, CallOptions)

    public virtual ListJobsResponse ListJobs(ListJobsRequest request, CallOptions options)

Lists Jobs in a given project.

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

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

### ListJobs(ListJobsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListJobsResponse ListJobs(ListJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Jobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListJobsRequest` 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** |
| `ListJobsResponse` | The response received from the server. |

### ListJobsAsync(ListJobsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListJobsResponse> ListJobsAsync(ListJobsRequest request, CallOptions options)

Lists Jobs in a given project.

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

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

### ListJobsAsync(ListJobsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListJobsResponse> ListJobsAsync(ListJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Jobs in a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListJobsRequest` 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** |
| `AsyncUnaryCallListJobsResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override StorageBatchOperations.StorageBatchOperationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

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

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StorageBatchOperationsStorageBatchOperationsClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.StorageBatchOperations.V1.StorageBatchOperations.StorageBatchOperationsClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)