Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex DataSphere
  • Getting started
  • Terraform reference
    • Overview
    • Authentication with the API
      • Overview
        • Overview
          • Overview
          • Create
          • Clone
          • Execute
          • Cancel
          • ReadStdLogs
          • ReadLogs
          • DownloadJobFiles
          • List
          • Get
          • Delete
          • DeleteData
          • DeleteAllData
          • SetDataTtl
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • CancelProjectJobRequest
  • google.protobuf.Empty
  1. API reference
  2. gRPC
  3. DataSphere Jobs API v2
  4. ProjectJob
  5. Cancel

DataSphere Jobs API v2, gRPC: ProjectJobService.Cancel

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • CancelProjectJobRequest
  • google.protobuf.Empty

Cancels running job.

gRPC requestgRPC request

rpc Cancel (CancelProjectJobRequest) returns (google.protobuf.Empty)

CancelProjectJobRequestCancelProjectJobRequest

{
  "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.Emptygoogle.protobuf.Empty

{}

Field

Description

Empty

Was the article helpful?

Previous
Execute
Next
ReadStdLogs
© 2025 Direct Cursus Technology L.L.C.