Method: projects.datasets.patch Stay organized with collections Save and categorize content based on your preferences.
AI-generated Key Takeaways
Updates the metadata for an existing dataset using a PATCH request.
The request requires specifying the dataset's resource name in the URL path.
You can optionally use the
updateMaskquery parameter to specify which fields to update.The request body should contain the updated Dataset object.
Proper authorization with OAuth scope
https://www.googleapis.com/auth/cloud-platformand IAM permissionmapsplatformdatasets.datasets.updateis necessary.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Updates the metadata for the dataset.
HTTP request
PATCH https://mapsplatformdatasets.googleapis.com/v1/{dataset.name=projects/*/datasets/*}
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
dataset.name |
Resource name. Format: projects/{project}/datasets/{datasetId} |
Query parameters
| Parameters | |
|---|---|
updateMask |
The list of fields to be updated. The value "*" is used for full replacement (default). |
Request body
The request body contains an instance ofDataset.
Response body
If successful, the response body contains an instance ofDataset.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the followingIAM permission on thename resource:
mapsplatformdatasets.datasets.update
For more information, see theIAM documentation.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.