データセットの削除
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
データセットを削除する
データセットを削除するリクエストを送信します。
curl -X DELETE \
-H 'X-Goog-User-Project: PROJECT_NUMBER' \
-H "Authorization: Bearer $TOKEN" \
https://mapsplatformdatasets.googleapis.com/v1alpha/projects/PROJECT_NUMBER/datasets/DATASET_ID
リクエストの例
curl -X DELETE \
-H 'X-Goog-User-Project: PROJECT_NUMBER' \
-H "Authorization: Bearer $TOKEN" \
https://mapsplatformdatasets.googleapis.com/v1alpha/projects/802317041956/datasets/f57074a0-a8b6-403e-9df1-e8a9e4f9fc46
レスポンスの例
{}
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-10 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-11-10 UTC。"],[[["You can delete a dataset by sending a DELETE request to the specified endpoint with necessary authentication and project details."],["The request requires a Bearer token for authorization and a project number for identification."],["A successful deletion is indicated by an empty JSON response (`{}`)."]]],["To delete a dataset, send a DELETE request to the provided API endpoint. The request requires the `X-Goog-User-Project` header containing the project number and an `Authorization` header with a bearer token. The API endpoint includes the project number and the dataset ID. A successful deletion returns an empty JSON object (`{}`). An example request and its corresponding response are provided, showcasing a sample dataset deletion.\n"]]