Để gọi dịch vụ này, bạn nên sử dụng thư viện ứng dụng do Google cung cấp. Nếu ứng dụng cần sử dụng thư viện của riêng bạn để gọi dịch vụ này, hãy sử dụng thông tin sau khi bạn yêu cầu API.
Điểm cuối dịch vụ
Điểm cuối của dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối dịch vụ sau đây và tất cả các URI bên dưới đều liên quan đến điểm cuối dịch vụ này:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-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. |"]]