AI-generated Key Takeaways
-
Downloads a specified dataset using an HTTP GET request.
-
Requires the
cloud-platform
OAuth scope and themapsplatformdatasets.datasets.export
IAM permission on the requested dataset. -
Uses the dataset's resource name (
projects/{project}/datasets/{datasetId}
) as a path parameter in the request URL. -
The request body should be empty, and a successful response will also be empty, indicating the download has been initiated.
Downloads a dataset.
HTTP request
GET https://mapsplatformdatasets.googleapis.com/v1/{name=projects/*/datasets/*}:download
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Resource name of the dataset to fetch. Format: projects/{project}/datasets/{datasetId} |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
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.export
For more information, see the IAM documentation.