AI-generated Key Takeaways
-
The Maps Platform Datasets API provides a RESTful interface with a base URL of
https://mapsplatformdatasets.googleapis.comfor managing geographical datasets. -
You can create, retrieve, update, delete, and list datasets using dedicated methods for
v1alpha.projects.datasetsresource. -
Datasets can be imported and downloaded using the provided methods for the
v1alpha.mediaresource. -
Dataset errors, particularly for DDS use cases, can be retrieved using the
v1alpha.projects.datasets.errorsresource.
- REST Resource: v1alpha.media
- REST Resource: v1alpha.projects.datasets
- REST Resource: v1alpha.projects.datasets.errors
Service endpoint
A 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:
https://mapsplatformdatasets.googleapis.com
REST Resource: v1alpha.media
| Methods | |
|---|---|
download |
GET /v1alpha/{name=projects/*/datasets/*}:download Downloads a dataset. |
upload |
POST /v1alpha/{name=projects/*/datasets/*}:import POST /upload/v1alpha/{name=projects/*/datasets/*}:import Imports a new version of the data for the dataset. |
REST Resource: v1alpha.projects.datasets
| Methods | |
|---|---|
create |
POST /v1alpha/{parent=projects/*}/datasets Create a new dataset for the specified project. |
delete |
DELETE /v1alpha/{name=projects/*/datasets/*} Delete the specified dataset . |
get |
GET /v1alpha/{name=projects/*/datasets/*} Get the dataset. |
list |
GET /v1alpha/{parent=projects/*}/datasets List all the datasets for the specified project. |
patch |
PATCH /v1alpha/{dataset.name=projects/*/datasets/*} Update the metadata for the dataset. |
REST Resource: v1alpha.projects.datasets.errors
| Methods | |
|---|---|
list |
GET /v1alpha/{name=projects/*/datasets/*}/errors Get all the errors of a Dataset (currently this only works for DDS use case). |