Permite obtener la política de control de acceso de un recurso. Muestra una política vacía si el recurso existe y no cuenta con un conjunto de políticas.
Solicitud HTTP
GET https://clouddeploy.googleapis.com/v1/{resource=projects/*/locations/*/targets/*}:getIamPolicy
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2024-06-25 (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."]]],[]]