[BindServiceMethod(typeof(JobController), "BindService")]
public abstract class JobController.JobControllerBaseReference documentation and code samples for the Google Cloud Dataproc v1 API class JobController.JobControllerBase.
Base class for server-side implementations of JobController
Namespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Methods
CancelJob(CancelJobRequest, ServerCallContext)
public virtual Task<Job> CancelJob(CancelJobRequest request, ServerCallContext context)Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list or regions/{region}/jobs.get.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CancelJobRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskJob | 
        The response to send back to the client (wrapped by a task).  | 
      
DeleteJob(DeleteJobRequest, ServerCallContext)
public virtual Task<Empty> DeleteJob(DeleteJobRequest request, ServerCallContext context)Deletes the job from the project. If the job is active, the delete fails,
and the response returns FAILED_PRECONDITION.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteJobRequestThe 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).  | 
      
GetJob(GetJobRequest, ServerCallContext)
public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)Gets the resource representation for a job in a project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetJobRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskJob | 
        The response to send back to the client (wrapped by a task).  | 
      
ListJobs(ListJobsRequest, ServerCallContext)
public virtual Task<ListJobsResponse> ListJobs(ListJobsRequest request, ServerCallContext context)Lists regions/{region}/jobs in a project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListJobsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskListJobsResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
SubmitJob(SubmitJobRequest, ServerCallContext)
public virtual Task<Job> SubmitJob(SubmitJobRequest request, ServerCallContext context)Submits a job to a cluster.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SubmitJobRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskJob | 
        The response to send back to the client (wrapped by a task).  | 
      
SubmitJobAsOperation(SubmitJobRequest, ServerCallContext)
public virtual Task<Operation> SubmitJobAsOperation(SubmitJobRequest request, ServerCallContext context)Submits job to a cluster.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        SubmitJobRequestThe 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).  | 
      
UpdateJob(UpdateJobRequest, ServerCallContext)
public virtual Task<Job> UpdateJob(UpdateJobRequest request, ServerCallContext context)Updates a job in a project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        UpdateJobRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskJob | 
        The response to send back to the client (wrapped by a task).  |