- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      Cancel a Dataplex Job running a particular task.
    description: |
      Cancel the operation that the given Dataplex Job is running task under a specific project,
      location, lake and task.

    examples: |
      To cancel an job `test-job` running task `test-task` within lake `test-lake` in location
      `us-central1`, run:

        $ {command} test-job --location=us-central1 --lake=test-lake --task=test-task
  request:
    ALPHA:
      api_version: v1
    collection: dataplex.projects.locations.lakes.tasks.jobs
    method: cancel
  arguments:
    resource:
      help_text: |
        Arguments and flags that define the Dataplex Job running a particular Task you want to cancel.
      spec: !REF googlecloudsdk.command_lib.dataplex.resources:job
