Maps Platform Datasets API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
mapsplatformdatasets.googleapis.com API。
方法 |
create |
POST /v1/{parent=projects/*}/datasets ( )
为指定的项目创建新数据集。 |
delete |
DELETE /v1/{name=projects/*/datasets/*} ( )
删除指定的数据集。 |
fetchDatasetErrors |
GET /v1/{dataset=projects/*/datasets/*}:fetchDatasetErrors ( )
获取数据集的所有错误。 |
get |
GET /v1/{name=projects/*/datasets/*} ( )
获取数据集。 |
list |
GET /v1/{parent=projects/*}/datasets ( )
列出指定项目的所有数据集。 |
patch |
PATCH /v1/{dataset.name=projects/*/datasets/*} ( )
更新数据集的元数据。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[[["\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. |"]]