Requires authorization
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports patch semantics. Try it now.
Warning: If you specify an access list, you will completely overwrite the existing access list. If you specify an empty access list, you will revoke access to everyone except yourself; you cannot remove all owners from a dataset. To add to the access list, use a read-modify-write cycle.
Request
HTTP request
PATCH https://www.googleapis.com/bigquery/v2/projects/projectId/datasets/datasetId
Parameters
| Parameter name | Value | Description |
|---|---|---|
| Path parameters | ||
datasetId |
string |
Dataset ID of the dataset being updated |
projectId |
string |
Project ID of the dataset being updated |
Authorization
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
| Scope |
|---|
https://www.googleapis.com/auth/bigquery |
https://www.googleapis.com/auth/cloud-platform |
Request body
In the request body, supply the relevant portions of a Datasets resource, according to the rules of patch semantics.
Response
If successful, this method returns a Datasets resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.