REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Request body
The request body contains data with the following structure:
JSON representation
{"permissions": [string]}
Fields
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-07-02 UTC."],[[["\u003cp\u003eThis endpoint utilizes a POST request to the specified URL to test permissions on a given resource within the Analytics Hub API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresource\u003c/code\u003e path parameter is a required string that indicates the specific resource for which permission details are being requested, adhering to Google's resource naming conventions.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be a JSON object containing an array of \u003ccode\u003epermissions\u003c/code\u003e (strings), specifying which permissions to check, and wildcards are not supported.\u003c/p\u003e\n"],["\u003cp\u003eThe API requires one of two OAuth scopes, \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e, for authorization.\u003c/p\u003e\n"],["\u003cp\u003eIf the request is successful, the endpoint returns an instance of a \u003ccode\u003eTestIamPermissionsResponse\u003c/code\u003e object, outlining the result of the permissions check.\u003c/p\u003e\n"]]],[],null,[]]