[BindServiceMethod(typeof(BatchController), "BindService")]
public abstract class BatchController.BatchControllerBaseReference documentation and code samples for the Google Cloud Dataproc v1 API class BatchController.BatchControllerBase.
Base class for server-side implementations of BatchController
Namespace
Google.Cloud.Dataproc.V1Assembly
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 | CreateBatchRequestThe request received from the client. | 
| context | ServerCallContextThe 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 | DeleteBatchRequestThe request received from the client. | 
| context | ServerCallContextThe 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 | GetBatchRequestThe request received from the client. | 
| context | ServerCallContextThe 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 | ListBatchesRequestThe request received from the client. | 
| context | ServerCallContextThe 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). |