DataSphere Jobs API v2, gRPC: ProjectJobService.Cancel
Статья создана
Обновлена 26 ноября 2024 г.
Cancels running job.
gRPC request
rpc Cancel (CancelProjectJobRequest) returns (google.protobuf.Empty
CancelProjectJobRequest
{
"job_id": "string",
"reason": "string",
"graceful": "bool"
}
Field |
Description |
job_id |
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 |