Method: media.download

  • Downloads a dataset via a GET request to the specified URL.

  • Requires the name path parameter to identify the dataset for download using the format: projects/${project}/datasets/${dataset_id}.

  • Needs authorization with the cloud-platform scope and the mapsplatformdatasets.datasets.export IAM permission on the specified dataset.

  • Utilizes an empty request body and returns an empty response body upon successful completion.

Downloads a dataset.

HTTP request

GET https://mapsplatformdatasets.googleapis.com/v1alpha/{name=projects/*/datasets/*}:download

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The dataset to fetch. Format: projects/${project}/datasets/${dataset_id}

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.