Request message for instances.testIamPermissions method.
JSON representation
{"resource": string,"permissions": [string]}
Fields
resource
string
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
permissions[]
string
The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview.
[[["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-06-20 UTC."],[[["\u003cp\u003eThe request to test permissions for instances requires a JSON object with specified fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresource\u003c/code\u003e field is a required string representing the resource for which policy details are requested.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epermissions\u003c/code\u003e field is an array of strings, each representing a specific permission to check for the specified resource.\u003c/p\u003e\n"],["\u003cp\u003eWildcard characters are not allowed within the \u003ccode\u003epermissions\u003c/code\u003e field strings.\u003c/p\u003e\n"]]],[],null,[]]