lib/google/cloud/bigquery/service.rb in google-cloud-bigquery-1.35.1 vs lib/google/cloud/bigquery/service.rb in google-cloud-bigquery-1.36.0
- old
+ new
@@ -417,9 +417,17 @@
service.insert_job @project, query_job_gapi
end
end
##
+ # Deletes the job specified by jobId and location (required).
+ def delete_job job_id, location: nil
+ execute do
+ service.delete_job @project, job_id, location: location
+ end
+ end
+
+ ##
# Returns the query data for the job
def job_query_results job_id, location: nil, max: nil, token: nil, start: nil, timeout: nil
# The get operation is considered idempotent
execute backoff: true do
service.get_job_query_results @project, job_id,