Represents a JobController
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dataproc.v1beta2.JobControllerPackage
@google-cloud/dataproc!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new JobController service.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Methods
cancelJob(request, callback)
public cancelJob(request: google.cloud.dataproc.v1beta2.ICancelJobRequest, callback: google.cloud.dataproc.v1beta2.JobController.CancelJobCallback): void;
Calls CancelJob.
Type | Name | Description |
---|---|---|
ICancelJobRequest | request |
CancelJobRequest message or plain object |
google.cloud.dataproc.v1beta2.JobController.CancelJobCallback | callback |
Node-style callback called with the error, if any, and Job |
Type | Description |
---|---|
void |
cancelJob(request)
public cancelJob(request: google.cloud.dataproc.v1beta2.ICancelJobRequest): Promise<google.cloud.dataproc.v1beta2.Job>;
Calls CancelJob.
Type | Name | Description |
---|---|---|
ICancelJobRequest | request |
CancelJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.dataproc.v1beta2.Job> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): JobController;
Creates new JobController service using the specified rpc implementation.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Type | Description |
---|---|
JobController | RPC service. Useful where requests and/or responses are streamed. |
deleteJob(request, callback)
public deleteJob(request: google.cloud.dataproc.v1beta2.IDeleteJobRequest, callback: google.cloud.dataproc.v1beta2.JobController.DeleteJobCallback): void;
Calls DeleteJob.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IDeleteJobRequest | request |
DeleteJobRequest message or plain object |
google.cloud.dataproc.v1beta2.JobController.DeleteJobCallback | callback |
Node-style callback called with the error, if any, and Empty |
Type | Description |
---|---|
void |
deleteJob(request)
public deleteJob(request: google.cloud.dataproc.v1beta2.IDeleteJobRequest): Promise<google.protobuf.Empty>;
Calls DeleteJob.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IDeleteJobRequest | request |
DeleteJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.protobuf.Empty> | Promise |
getJob(request, callback)
public getJob(request: google.cloud.dataproc.v1beta2.IGetJobRequest, callback: google.cloud.dataproc.v1beta2.JobController.GetJobCallback): void;
Calls GetJob.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IGetJobRequest | request |
GetJobRequest message or plain object |
google.cloud.dataproc.v1beta2.JobController.GetJobCallback | callback |
Node-style callback called with the error, if any, and Job |
Type | Description |
---|---|
void |
getJob(request)
public getJob(request: google.cloud.dataproc.v1beta2.IGetJobRequest): Promise<google.cloud.dataproc.v1beta2.Job>;
Calls GetJob.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IGetJobRequest | request |
GetJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.dataproc.v1beta2.Job> | Promise |
listJobs(request, callback)
public listJobs(request: google.cloud.dataproc.v1beta2.IListJobsRequest, callback: google.cloud.dataproc.v1beta2.JobController.ListJobsCallback): void;
Calls ListJobs.
Type | Name | Description |
---|---|---|
IListJobsRequest | request |
ListJobsRequest message or plain object |
google.cloud.dataproc.v1beta2.JobController.ListJobsCallback | callback |
Node-style callback called with the error, if any, and ListJobsResponse |
Type | Description |
---|---|
void |
listJobs(request)
public listJobs(request: google.cloud.dataproc.v1beta2.IListJobsRequest): Promise<google.cloud.dataproc.v1beta2.ListJobsResponse>;
Calls ListJobs.
Type | Name | Description |
---|---|---|
IListJobsRequest | request |
ListJobsRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.dataproc.v1beta2.ListJobsResponse> | Promise |
submitJob(request, callback)
public submitJob(request: google.cloud.dataproc.v1beta2.ISubmitJobRequest, callback: google.cloud.dataproc.v1beta2.JobController.SubmitJobCallback): void;
Calls SubmitJob.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.ISubmitJobRequest | request |
SubmitJobRequest message or plain object |
google.cloud.dataproc.v1beta2.JobController.SubmitJobCallback | callback |
Node-style callback called with the error, if any, and Job |
Type | Description |
---|---|
void |
submitJob(request)
public submitJob(request: google.cloud.dataproc.v1beta2.ISubmitJobRequest): Promise<google.cloud.dataproc.v1beta2.Job>;
Calls SubmitJob.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.ISubmitJobRequest | request |
SubmitJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.dataproc.v1beta2.Job> | Promise |
submitJobAsOperation(request, callback)
public submitJobAsOperation(request: google.cloud.dataproc.v1beta2.ISubmitJobRequest, callback: google.cloud.dataproc.v1beta2.JobController.SubmitJobAsOperationCallback): void;
Calls SubmitJobAsOperation.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.ISubmitJobRequest | request |
SubmitJobRequest message or plain object |
google.cloud.dataproc.v1beta2.JobController.SubmitJobAsOperationCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
submitJobAsOperation(request)
public submitJobAsOperation(request: google.cloud.dataproc.v1beta2.ISubmitJobRequest): Promise<google.longrunning.Operation>;
Calls SubmitJobAsOperation.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.ISubmitJobRequest | request |
SubmitJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.longrunning.Operation> | Promise |
updateJob(request, callback)
public updateJob(request: google.cloud.dataproc.v1beta2.IUpdateJobRequest, callback: google.cloud.dataproc.v1beta2.JobController.UpdateJobCallback): void;
Calls UpdateJob.
Type | Name | Description |
---|---|---|
IUpdateJobRequest | request |
UpdateJobRequest message or plain object |
google.cloud.dataproc.v1beta2.JobController.UpdateJobCallback | callback |
Node-style callback called with the error, if any, and Job |
Type | Description |
---|---|
void |
updateJob(request)
public updateJob(request: google.cloud.dataproc.v1beta2.IUpdateJobRequest): Promise<google.cloud.dataproc.v1beta2.Job>;
Calls UpdateJob.
Type | Name | Description |
---|---|---|
IUpdateJobRequest | request |
UpdateJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.dataproc.v1beta2.Job> | Promise |