- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource.
HTTP request
PUT https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
projectId |
Required. Project ID of the table to update |
datasetId |
Required. Dataset ID of the table to update |
tableId |
Required. Table ID of the table to update |
Query parameters
Parameters | |
---|---|
autodetectSchema |
Optional. When true will autodetect schema, else will keep original schema. |
Request body
The request body contains an instance of Table
.
Response body
If successful, the response body contains an instance of Table
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigquery
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.