Otorisasi memerlukan izin IAM berikut pada resource name yang ditentukan:
metastore.services.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 deletes a single metastore service identified by its resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required and must follow the format: \u003ccode\u003eprojects/{projectNumber}/locations/{locationId}/services/{serviceId}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003erequestId\u003c/code\u003e query parameter allows for idempotent requests, preventing duplicate service deletions within a 60-minute window.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this DELETE operation to delete the service.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful deletion returns an \u003ccode\u003eOperation\u003c/code\u003e instance, and the operation requires the \u003ccode\u003emetastore.services.delete\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.services.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 service.\n\n### HTTP request\n\n`DELETE https://metastore.googleapis.com/v1alpha/{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/)."]]