Output only. Specifies the high level reason why a Job was created.
Code
Indicates the high level reason why a job was created.
Enums
CODE_UNSPECIFIED
Reason is not specified.
REQUESTED
Job creation was requested.
LONG_RUNNING
The query request ran beyond a system defined timeout specified by the timeoutMs field in the QueryRequest. As a result it was considered a long running operation for which a job was created.
LARGE_RESULTS
The results from the query cannot fit in the response.
OTHER
BigQuery has determined that the query needs to be executed as a Job.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[],null,["# JobCreationReason\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Code](#Code)\n\nReason about why a Job was created from a [`jobs.query`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query) method when used with `JOB_CREATION_OPTIONAL` Job creation mode.\n\nFor [`jobs.insert`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert) method calls it will always be `REQUESTED`.\n\nCode\n----\n\nIndicates the high level reason why a job was created."]]