O Cloud Deployment Manager vai chegar ao fim do suporte em 31 de dezembro de 2025. Se você usa o Deployment Manager, migre para o Infrastructure Manager ou uma tecnologia de implantação alternativa até 31 de dezembro de 2025 para garantir que seus serviços continuem sem interrupções.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-03-04 UTC."],[[["\u003cp\u003eThis API call determines the permissions a caller has on a specified resource.\u003c/p\u003e\n"],["\u003cp\u003eIt requires authorization through one of the scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/ndev.cloudman\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL and must contain a body specifying the permissions to check.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a list of the permissions that the caller is allowed, from the set of permissions that were requested to be checked.\u003c/p\u003e\n"],["\u003cp\u003eThe only parameters required are the \u003ccode\u003eproject\u003c/code\u003e and the \u003ccode\u003eresource\u003c/code\u003e id/name.\u003c/p\u003e\n"]]],[],null,["# Deployments: testIamPermissions\n\n| **Note:** Requires [authorization](#auth).\n\nReturns permissions that a caller has on the specified resource.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/deploymentmanager/v2beta/projects/project/global/deployments/resource/testIamPermissions\n```\n\n### Parameters\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes:\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```text\n{\n \"permissions\": [\n string\n ]\n}\n```\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"permissions\": [\n string\n ]\n}\n```\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]