DataSphere Jobs API v2, gRPC: ProjectJobService.Cancel
Статья создана
Обновлена 17 октября 2024 г.
Cancels running job.
gRPC request
rpc Cancel (CancelProjectJobRequest) returns (google.protobuf.Empty
CancelProjectJobRequest
{
"jobId": "string",
"reason": "string",
"graceful": "bool"
}
Field |
Description |
jobId |
string ID of the job. |
reason |
string Optional cancellation reason. |
graceful |
bool If the job is launched with graceful shutdown support, the shutdown will be performed gracefully |
google.protobuf.Empty
{}
Field |
Description |
Empty |