Skip to main content

jobs

Overview

Namejobs
TypeResource
Idgoogle.bigquery.jobs

Fields

NameDatatypeDescription
idstring[Output-only] Opaque ID field of the job
jobReferenceobject
statusobject
user_emailstring[Output-only] Email address of the user who ran the job.
configurationobject
selfLinkstring[Output-only] A URL that can be used to access this resource again.
statisticsobject
kindstring[Output-only] The type of the resource.
etagstring[Output-only] A hash of this resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTjobId, projectIdReturns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role.
listSELECTprojectIdLists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.
insertINSERTprojectIdStarts a new asynchronous job. Requires the Can View project role.
deleteDELETE+jobId, projectIdRequests the deletion of the metadata of a job. This call returns when the job's metadata is deleted.
_listEXECprojectIdLists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.
cancelEXECjobId, projectIdRequests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.
queryEXECprojectIdRuns a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.