Google Cloud Dataproc v1 API - Class JobController.JobControllerBase (5.8.0)

[BindServiceMethod(typeof(JobController), "BindService")]
public abstract class JobController.JobControllerBase

Reference documentation and code samples for the Google Cloud Dataproc v1 API class JobController.JobControllerBase.

Base class for server-side implementations of JobController

Inheritance

object > JobController.JobControllerBase

Namespace

Google.Cloud.Dataproc.V1

Assembly

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

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListJobsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSubmitJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestSubmitJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskJob

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