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

[BindServiceMethod(typeof(BatchController), "BindService")]
public abstract class 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
NameDescription
requestCreateBatchRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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
NameDescription
requestDeleteBatchRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Empty>

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
NameDescription
requestGetBatchRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Batch>

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
NameDescription
requestListBatchesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListBatchesResponse>

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