Request message for policy.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-05-30 UTC."],[[["\u003cp\u003eThe \u003ccode\u003epolicy.testIamPermissions\u003c/code\u003e method requires a JSON request message.\u003c/p\u003e\n"],["\u003cp\u003eThe request must specify a \u003ccode\u003eresource\u003c/code\u003e string, indicating the target resource for policy detail requests.\u003c/p\u003e\n"],["\u003cp\u003eThe request must include an array named \u003ccode\u003epermissions[]\u003c/code\u003e that lists the specific permissions to be checked for the designated resource.\u003c/p\u003e\n"],["\u003cp\u003eWildcard characters are not supported within the \u003ccode\u003epermissions[]\u003c/code\u003e array when checking for permissions.\u003c/p\u003e\n"]]],[],null,["# TestIamPermissionsRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRequest message for `policy.testIamPermissions` method."]]