Method: projects.datasets.delete
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Löscht das angegebene Dataset.
HTTP-Anfrage
DELETE https://mapsplatformdatasets.googleapis.com/v1/{name=projects/*/datasets/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Der Name des zu löschenden Datasets. Format: projects/{project}/datasets/{datasetId}
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
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.delete
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: 2025-08-31 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-08-31 (UTC)."],[[["\u003cp\u003eThis operation deletes a specified dataset within a Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a \u003ccode\u003eDELETE\u003c/code\u003e request to a specific URL, including the project and dataset IDs in the path.\u003c/p\u003e\n"],["\u003cp\u003eUsers need appropriate authorization with the \u003ccode\u003ecloud-platform\u003c/code\u003e scope and \u003ccode\u003emapsplatformdatasets.datasets.delete\u003c/code\u003e permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful deletion results in an empty response body.\u003c/p\u003e\n"]]],[],null,["# Method: projects.datasets.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nDeletes the specified dataset.\n\n### HTTP request\n\n`DELETE https://mapsplatformdatasets.googleapis.com/v1/{name=projects/*/datasets/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the dataset to delete. Format: projects/{project}/datasets/{datasetId} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `mapsplatformdatasets.datasets.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]