Google Cloud Dataproc v1 API - Class BatchController.BatchControllerBase (5.16.0)

[BindServiceMethod(typeof(BatchController), "BindService")]
public abstract class BatchController.BatchControllerBase

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

Base class for server-side implementations of BatchController

Inheritance

object > BatchController.BatchControllerBase

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Methods

CreateBatch(CreateBatchRequest, ServerCallContext)

public virtual Task<Operation> CreateBatch(CreateBatchRequest request, ServerCallContext context)

Creates a batch workload that executes asynchronously.

Parameters
Name Description
request CreateBatchRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteBatch(DeleteBatchRequest, ServerCallContext)

public virtual Task<Empty> DeleteBatch(DeleteBatchRequest request, ServerCallContext context)

Deletes the batch workload resource. If the batch is not in terminal state, the delete fails and the response returns FAILED_PRECONDITION.

Parameters
Name Description
request DeleteBatchRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

GetBatch(GetBatchRequest, ServerCallContext)

public virtual Task<Batch> GetBatch(GetBatchRequest request, ServerCallContext context)

Gets the batch workload resource representation.

Parameters
Name Description
request GetBatchRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBatch

The response to send back to the client (wrapped by a task).

ListBatches(ListBatchesRequest, ServerCallContext)

public virtual Task<ListBatchesResponse> ListBatches(ListBatchesRequest request, ServerCallContext context)

Lists batch workloads.

Parameters
Name Description
request ListBatchesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListBatchesResponse

The response to send back to the client (wrapped by a task).