[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Method: googleapis.compute.beta.nodeTemplates.testIamPermissions\n\nReturns permissions that a caller has on the specified resource.\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`TestPermissionsResponse`](/workflows/docs/reference/googleapis/compute/beta/Overview#TestPermissionsResponse).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/nodeTemplates/testIamPermissions). \n\n### YAML\n\n```yaml\n- testIamPermissions:\n call: googleapis.compute.beta.nodeTemplates.testIamPermissions\n args:\n project: ...\n region: ...\n resource: ...\n body:\n permissions: ...\n result: testIamPermissionsResult\n```\n\n### JSON\n\n```json\n[\n {\n \"testIamPermissions\": {\n \"call\": \"googleapis.compute.beta.nodeTemplates.testIamPermissions\",\n \"args\": {\n \"project\": \"...\",\n \"region\": \"...\",\n \"resource\": \"...\",\n \"body\": {\n \"permissions\": \"...\"\n }\n },\n \"result\": \"testIamPermissionsResult\"\n }\n }\n]\n```"]]