A data platform for customers to create, manage, share and query data.
- REST Resource: v2.datasets
- REST Resource: v2.jobs
- REST Resource: v2.models
- REST Resource: v2.projects
- REST Resource: v2.routines
- REST Resource: v2.rowAccessPolicies
- REST Resource: v2.tabledata
- REST Resource: v2.tables
Service: bigquery.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://bigquery.googleapis.com
REST Resource: v2.datasets
| Methods | |
|---|---|
| delete | DELETE /bigquery/v2/projects/{projectId}/datasets/{datasetId}Deletes the dataset specified by the datasetId value. | 
| get | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}Returns the dataset specified by datasetID. | 
| insert | POST /bigquery/v2/projects/{projectId}/datasetsCreates a new empty dataset. | 
| list | GET /bigquery/v2/projects/{projectId}/datasetsLists all datasets in the specified project to which the user has been granted the READER dataset role. | 
| patch | PATCH /bigquery/v2/projects/{projectId}/datasets/{datasetId}Updates information in an existing dataset. | 
| undelete | POST /bigquery/v2/projects/{projectId}/datasets/{datasetId}:undeleteUndeletes a dataset which is within time travel window based on datasetId. | 
| update | PUT /bigquery/v2/projects/{projectId}/datasets/{datasetId}Updates information in an existing dataset. | 
REST Resource: v2.jobs
| Methods | |
|---|---|
| cancel | POST /bigquery/v2/projects/{projectId}/jobs/{jobId}/cancelRequests that a job be cancelled. | 
| delete | DELETE /bigquery/v2/projects/{projectId}/jobs/{jobId}/deleteRequests the deletion of the metadata of a job. | 
| get | GET /bigquery/v2/projects/{projectId}/jobs/{jobId}Returns information about a specific job. | 
| getQueryResults | GET /bigquery/v2/projects/{projectId}/queries/{jobId}RPC to get the results of a query job. | 
| insert | POST /bigquery/v2/projects/{projectId}/jobsPOST /upload/bigquery/v2/projects/{projectId}/jobsStarts a new asynchronous job. | 
| list | GET /bigquery/v2/projects/{projectId}/jobsLists all jobs that you started in the specified project. | 
| query | POST /bigquery/v2/projects/{projectId}/queriesRuns a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout. | 
REST Resource: v2.models
| Methods | |
|---|---|
| delete | DELETE /bigquery/v2/projects/{projectId}/datasets/{datasetId}/models/{modelId}Deletes the model specified by modelId from the dataset. | 
| get | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/models/{modelId}Gets the specified model resource by model ID. | 
| list | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/modelsLists all models in the specified dataset. | 
| patch | PATCH /bigquery/v2/projects/{projectId}/datasets/{datasetId}/models/{modelId}Patch specific fields in the specified model. | 
REST Resource: v2.projects
| Methods | |
|---|---|
| getServiceAccount | GET /bigquery/v2/projects/{projectId}/serviceAccountRPC to get the service account for a project used for interactions with Google Cloud KMS | 
| list | GET /bigquery/v2/projectsRPC to list projects to which the user has been granted any project role. | 
REST Resource: v2.routines
| Methods | |
|---|---|
| delete | DELETE /bigquery/v2/projects/{projectId}/datasets/{datasetId}/routines/{routineId}Deletes the routine specified by routineId from the dataset. | 
| get | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/routines/{routineId}Gets the specified routine resource by routine ID. | 
| getIamPolicy | POST /bigquery/v2/{resource=projects/*/datasets/*/routines/*}:getIamPolicyGets the access control policy for a resource. | 
| insert | POST /bigquery/v2/projects/{projectId}/datasets/{datasetId}/routinesCreates a new routine in the dataset. | 
| list | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/routinesLists all routines in the specified dataset. | 
| setIamPolicy | POST /bigquery/v2/{resource=projects/*/datasets/*/routines/*}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /bigquery/v2/{resource=projects/*/datasets/*/routines/*}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
| update | PUT /bigquery/v2/projects/{projectId}/datasets/{datasetId}/routines/{routineId}Updates information in an existing routine. | 
REST Resource: v2.rowAccessPolicies
| Methods | |
|---|---|
| getIamPolicy | POST /bigquery/v2/{resource=projects/*/datasets/*/tables/*/rowAccessPolicies/*}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/rowAccessPoliciesLists all row access policies on the specified table. | 
| testIamPermissions | POST /bigquery/v2/{resource=projects/*/datasets/*/tables/*/rowAccessPolicies/*}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v2.tabledata
| Methods | |
|---|---|
| insertAll | POST /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAllStreams data into BigQuery one record at a time without needing to run a load job. | 
| list | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/dataList the content of a table in rows. | 
REST Resource: v2.tables
| Methods | |
|---|---|
| delete | DELETE /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}Deletes the table specified by tableId from the dataset. | 
| get | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}Gets the specified table resource by table ID. | 
| getIamPolicy | POST /bigquery/v2/{resource=projects/*/datasets/*/tables/*}:getIamPolicyGets the access control policy for a resource. | 
| insert | POST /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tablesCreates a new, empty table in the dataset. | 
| list | GET /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tablesLists all tables in the specified dataset. | 
| patch | PATCH /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}Updates information in an existing table. | 
| setIamPolicy | POST /bigquery/v2/{resource=projects/*/datasets/*/tables/*}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /bigquery/v2/{resource=projects/*/datasets/*/tables/*}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
| update | PUT /bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}Updates information in an existing table. |