Maps Platform Datasets API
Stay organized with collections
Save and categorize content based on your preferences.
mapsplatformdatasets.googleapis.com API.
Methods |
create |
POST /v1/{parent=projects/*}/datasets
Creates a new dataset for the specified project. |
delete |
DELETE /v1/{name=projects/*/datasets/*}
Deletes the specified dataset. |
fetchDatasetErrors |
GET /v1/{dataset=projects/*/datasets/*}:fetchDatasetErrors
Gets all the errors of a dataset. |
get |
GET /v1/{name=projects/*/datasets/*}
Gets the dataset. |
list |
GET /v1/{parent=projects/*}/datasets
Lists all the datasets for the specified project. |
patch |
PATCH /v1/{dataset.name=projects/*/datasets/*}
Updates the metadata for the dataset. |
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.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThe \u003ccode\u003emapsplatformdatasets.googleapis.com\u003c/code\u003e API provides programmatic access to manage and interact with datasets, using a RESTful interface with a base endpoint of \u003ccode\u003ehttps://mapsplatformdatasets.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe API allows for downloading and uploading dataset media through the \u003ccode\u003ev1.media\u003c/code\u003e resource, enabling data transfer and versioning.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can create, delete, retrieve, update, and list datasets using the \u003ccode\u003ev1.projects.datasets\u003c/code\u003e resource, offering comprehensive dataset management capabilities.\u003c/p\u003e\n"],["\u003cp\u003eIt's recommended to use Google-provided client libraries for easier integration, but direct API calls are also supported using the documented service endpoint and resource paths.\u003c/p\u003e\n"],["\u003cp\u003eDataset error information can be retrieved using the \u003ccode\u003efetchDatasetErrors\u003c/code\u003e method, aiding in troubleshooting and data validation.\u003c/p\u003e\n"]]],["The `mapsplatformdatasets.googleapis.com` API provides two main resources: `v1.media` and `v1.projects.datasets`. `v1.media` allows users to `download` datasets using a GET request and `upload` new data versions via POST requests. `v1.projects.datasets` manages dataset lifecycle, enabling users to `create`, `delete`, `get`, `list`, and `patch` datasets. Furthermore, it provides a way to `fetchDatasetErrors` for a specific dataset. The base URL for the service is `https://mapsplatformdatasets.googleapis.com`.\n"],null,["# Maps Platform Datasets API\n\nmapsplatformdatasets.googleapis.com API.\n\n- [REST Resource: v1.media](#v1.media)\n- [REST Resource: v1.projects.datasets](#v1.projects.datasets)\n\nService: mapsplatformdatasets.googleapis.com\n--------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://mapsplatformdatasets.googleapis.com`\n\nREST Resource: [v1.media](/maps/documentation/datasets/reference/rest/v1/media)\n-------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [download](/maps/documentation/datasets/reference/rest/v1/media/download) | `GET /v1/{name=projects/*/datasets/*}:download` Downloads a dataset. |\n| [upload](/maps/documentation/datasets/reference/rest/v1/media/upload) | `POST /v1/{name=projects/*/datasets/*}:import` `POST /upload/v1/{name=projects/*/datasets/*}:import` Imports a new version of the data for the dataset. |\n\nREST Resource: [v1.projects.datasets](/maps/documentation/datasets/reference/rest/v1/projects.datasets)\n-------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| [create](/maps/documentation/datasets/reference/rest/v1/projects.datasets/create) | `POST /v1/{parent=projects/*}/datasets` Creates a new dataset for the specified project. |\n| [delete](/maps/documentation/datasets/reference/rest/v1/projects.datasets/delete) | `DELETE /v1/{name=projects/*/datasets/*}` Deletes the specified dataset. |\n| [fetchDatasetErrors](/maps/documentation/datasets/reference/rest/v1/projects.datasets/fetchDatasetErrors) | `GET /v1/{dataset=projects/*/datasets/*}:fetchDatasetErrors` Gets all the errors of a dataset. |\n| [get](/maps/documentation/datasets/reference/rest/v1/projects.datasets/get) | `GET /v1/{name=projects/*/datasets/*}` Gets the dataset. |\n| [list](/maps/documentation/datasets/reference/rest/v1/projects.datasets/list) | `GET /v1/{parent=projects/*}/datasets` Lists all the datasets for the specified project. |\n| [patch](/maps/documentation/datasets/reference/rest/v1/projects.datasets/patch) | `PATCH /v1/{dataset.name=projects/*/datasets/*}` Updates the metadata for the dataset. |"]]