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 tests the permissions a caller has on a specified resource within a given project.\u003c/p\u003e\n"],["\u003cp\u003eIt requires authorization with either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/ndev.cloudman\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request includes a list of specific permissions to check, without any wildcards, and identifies the project and resource with path parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe API call returns a list of permissions from the request that the caller is allowed to perform.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the api explorer to test this with live data.\u003c/p\u003e\n"]]],[],null,["# Deployments: testIamPermissions\n\n**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/v2/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 ([read more about authentication and authorization](/deployment-manager/latest/authorization)).\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.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/deploymentmanager/v2/deploymentmanager.deployments.testIamPermissions)."]]