AI-generated Key Takeaways
-
Update metadata for a dataset, including its display name and description, using a PATCH request.
-
The request requires specifying the dataset's resource name in the URL path.
-
Use the
updateMaskquery parameter to control which fields are updated, or use "*" for a full replacement. -
Authorization requires the
cloud-platformOAuth scope and themapsplatformdatasets.datasets.updateIAM permission.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- IAM Permissions
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 |
Resource name, projects/{project}/datasets/{dataset_id} |
Query parameters
| Parameters | |
|---|---|
updateMask |
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: |
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.