Ruft die Zugriffssteuerungsrichtlinie für eine Ressource ab. Gibt eine leere Richtlinie zurück, wenn die Ressource vorhanden und keine Richtlinie festgelegt ist.
HTTP-Anfrage
GET https://clouddeploy.googleapis.com/v1/{resource=projects/*/locations/*/targets/*}:getIamPolicy
[[["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: 2024-06-28 (UTC)."],[[["This API endpoint retrieves the access control policy for a specified resource, returning an empty policy if no policy is set."],["The request uses a `GET` method with a URL employing gRPC Transcoding syntax to access resources via path parameters."],["An optional `options` query parameter, utilizing a `GetPolicyOptions` object, can be included to specify options for the request."],["The request body must be empty, and a successful response will include an instance of the `Policy` object."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]