Method: projects.datasets.patch
Stay organized with collections
Save and categorize content based on your preferences.
Update the metadata for the dataset.
HTTP request
PATCH https://mapsplatformdatasets.googleapis.com/v1alpha/{dataset.name=projects/*/datasets/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
dataset.name |
string
Resource name, projects/{project}/datasets/{dataset_id}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
The list of fields to be updated. Support the value "*" for full replacement. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of Dataset
. You can only update the displayName
and description
properties.
Response body
If successful, the response body contains an instance of Dataset
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the name
resource:
mapsplatformdatasets.datasets.update
For more information, see the IAM documentation.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eUpdate metadata for a dataset, including its display name and description, using a PATCH request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the dataset's resource name in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003eupdateMask\u003c/code\u003e query parameter to control which fields are updated, or use "*" for a full replacement.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ecloud-platform\u003c/code\u003e OAuth scope and the \u003ccode\u003emapsplatformdatasets.datasets.update\u003c/code\u003e IAM permission.\u003c/p\u003e\n"]]],[],null,[]]