Method: projects.datasets.get
HTTP-Anfrage
GET https://mapsplatformdatasets.googleapis.com/v1/{name=projects/*/datasets/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Ressourcenname. Format: projects/{project}/datasets/{datasetId} Einige Sonderversionen können auch abgerufen werden, indem Sie „@“ und ein Tag anhängen. Format: projects/{project}/datasets/{datasetId}@{tag} Tag „active“: Die Informationen der neuesten fertigen Version werden eingeschlossen und NOT_FOUND, wenn im Dataset keine Version vorhanden ist.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Dataset
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/cloud-platform
IAM-Berechtigungen
Erfordert die folgende IAM-Berechtigung für die Ressource name
:
mapsplatformdatasets.datasets.get
Weitere Informationen finden Sie in der IAM-Dokumentation.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-06-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-06-26 (UTC)."],[[["Retrieves a specific dataset's information using its resource name, including optional version tags."],["Requires an empty request body and returns a `Dataset` object upon success."],["Needs `cloud-platform` OAuth scope and `mapsplatformdatasets.datasets.get` IAM permission for access."],["Utilizes gRPC Transcoding syntax in the HTTP request URL for resource identification."]]],["This outlines how to retrieve a dataset using a `GET` HTTP request to a specific URL, defined by a dataset `name` in the format `projects/{project}/datasets/{datasetId}`. The request body must be empty. A successful response returns a `Dataset` instance. Authorization requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the IAM permission `mapsplatformdatasets.datasets.get` on the dataset resource. You can fetch special versions by adding a tag.\n"]]