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 is used to delete a single service within the metastore.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDELETE\u003c/code\u003e HTTP method is used, targeting a specific service resource identified by its \u003ccode\u003ename\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a service requires the \u003ccode\u003emetastore.services.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003erequestId\u003c/code\u003e query parameter can be provided to ensure idempotency.\u003c/p\u003e\n"],["\u003cp\u003eThe response from the deletion is an operation object, indicating an action in progress.\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/v1/{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/)."]]