TestIamPermissionsRequest
Stay organized with collections
Save and categorize content based on your preferences.
Request message for locations.testIamPermissions
method.
JSON representation |
{
"resource": string,
"permissions": [
string
]
} |
Fields |
resource |
string
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation 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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-17 UTC.
[[["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 2019-12-17 UTC."],[[["This content details the JSON representation for the `locations.testIamPermissions` method request."],["The request requires a `resource` field, which is a string specifying the resource for policy detail requests."],["The `permissions` field, an array of strings, outlines the permissions to check for the specified resource."],["Wildcards are not supported in the `permissions` field, according to the guidelines in the IAM Overview."]]],[]]