code: def delete_jobs(self,
                    user_ids,
                    job_ids,
                    task_ids,
                    labels,
                    create_time_min=None,
                    create_time_max=None):
      
      # Look up the job(s)
      tasks = list(
          self.lookup_job_tasks(
              {'RUNNING'},
              user_ids=user_ids,
              job_ids=job_ids,
              task_ids=task_ids,
              labels=labels,
              create_time_min=create_time_min,
              create_time_max=create_time_max))
  
      print('Found %d tasks to delete.' % len(tasks))
  
      return google_base.cancel(self._service.new_batch_http_request,
                                self._service.operations().cancel, tasks)
docs: Kills the operations associated with the specified job or job.task.
  
      Args:
        user_ids: List of user ids who "own" the job(s) to cancel.
        job_ids: List of job_ids to cancel.
        task_ids: List of task-ids to cancel.
        labels: List of LabelParam, each must match the job(s) to be canceled.
        create_time_min: a timezone-aware datetime value for the earliest create
                         time of a task, inclusive.
        create_time_max: a timezone-aware datetime value for the most recent
                         create time of a task, inclusive.
  
      Returns:
        A list of tasks canceled and a list of error messages.