Entfernt die verknüpften IAM-Richtlinien für eine Ressource
HTTP-Anfrage
POST https://metastore.googleapis.com/v1beta/{resource}:removeIamPolicy
Pfadparameter
Parameter
resource
string
Pflichtangabe. Der relative Ressourcenname der Dataplane-Ressource, für die die IAM-Richtlinie entfernt werden soll, im folgenden Format:
projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id} oder projects/{projectId}/locations/{locationId}/services/{serviceId}/databases/{database_id}/tables/{table_id}.
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"asynchronous": boolean}
Felder
asynchronous
boolean
Optional. Entfernt die an die Datenbank oder Tabelle angehängte IAM-Richtlinie asynchron, wenn sie festgelegt ist. Der Standardwert lautet „falsch“.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-04 (UTC)."],[[["\u003cp\u003eThis endpoint facilitates the removal of attached IAM policies from a specified resource, such as a database or table, within the Dataproc Metastore.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST method directed to a specific URL, which includes a \u003ccode\u003eresource\u003c/code\u003e path parameter that uniquely identifies the target within a project, location, and service context.\u003c/p\u003e\n"],["\u003cp\u003eThe request body accepts an optional \u003ccode\u003easynchronous\u003c/code\u003e boolean field to dictate whether the IAM policy removal process should run synchronously or asynchronously.\u003c/p\u003e\n"],["\u003cp\u003eThe response body returns a \u003ccode\u003esuccess\u003c/code\u003e boolean field indicating whether the IAM policy removal was completed successfully.\u003c/p\u003e\n"],["\u003cp\u003eAuthenticating the request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope, ensuring the operation is performed with the necessary permissions.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.services.removeIamPolicy\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RemoveIamPolicyResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nRemoves the attached IAM policies for a resource\n\n### HTTP request\n\n`POST https://metastore.googleapis.com/v1beta/{resource}:removeIamPolicy`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nResponse message for [DataprocMetastore.RemoveIamPolicy](/dataproc-metastore/docs/reference/rest/v1beta/projects.locations.services/removeIamPolicy#google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy).\n\nIf successful, the response body contains data with the following structure:\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/)."]]