Description
The cancel job function is not implemented for big query so I went about putting together a pull request. It should be straight forward but it's not because the url structure for all the other job api calls are slightly different...
To cancel a job:
POST https://www.googleapis.com/bigquery/v2/project/projectId/jobs/jobId/cancel
This is the correct URL because it works on the documentation site through the try it tester.
All the others have a pluralised 'projects' rather than 'project':
GET https://www.googleapis.com/bigquery/v2/projects/projectId/jobs/jobId
POST https://www.googleapis.com/bigquery/v2/projects/projectId/queries
GET https://www.googleapis.com/bigquery/v2/projects/projectId/jobs
...etc
I don't think this could be neatly worked around for the purposes of this library because that part of the url is baked into the service class. Is this a mistake in the Big Query REST api? If so where should I raise that issue?