Otorisasi memerlukan izin IAM berikut pada resource name yang ditentukan:
metastore.backups.delete
Parameter kueri
Parameter
requestId
string
Opsional. ID permintaan. Tentukan ID permintaan unik untuk mengizinkan server mengabaikan permintaan jika telah selesai. Server akan mengabaikan permintaan berikutnya yang memberikan ID permintaan duplikat selama minimal 60 menit setelah permintaan pertama.
Misalnya, jika waktu permintaan awal habis, diikuti dengan permintaan lain dengan ID permintaan yang sama, server akan mengabaikan permintaan kedua untuk mencegah pembuatan komitmen duplikat.
ID permintaan harus berupa UUID yang valid. UUID nol (00000000-0000-0000-0000-000000000000) tidak didukung.
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance Operation.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-03-04 UTC."],[[["\u003cp\u003eThis API endpoint allows for the deletion of a single backup resource specified by its unique resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required and specifies the full resource path of the backup to be deleted, following the format \u003ccode\u003eprojects/{projectNumber}/locations/{locationId}/services/{serviceId}/backups/{backupId}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003erequestId\u003c/code\u003e query parameter can be included to ensure idempotency, preventing duplicate requests within a 60-minute window.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for deleting a backup must be empty, and upon success, the API returns an \u003ccode\u003eOperation\u003c/code\u003e instance in the response.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to delete a backup requires the \u003ccode\u003emetastore.backups.delete\u003c/code\u003e IAM permission on the specified resource and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.services.backups.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nDeletes a single backup.\n\n### HTTP request\n\n`DELETE https://metastore.googleapis.com/v1beta/{name}`\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/dataproc-metastore/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]