Returns the caller's permissions on the WorkforcePool. If the pool doesn't exist, this call returns an empty set of permissions. It doesn't return a NOT_FOUND error.
HTTP request
POST https://iam.googleapis.com/v1/{resource=locations/*/workforcePools/*}:testIamPermissions
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-01-16 UTC."],[[["This endpoint tests the caller's permissions on a specified WorkforcePool resource, returning an empty set if the pool does not exist."],["The HTTP request is a POST method to a URL that follows gRPC Transcoding syntax, requiring a `resource` path parameter indicating the target WorkforcePool."],["The request body should contain a JSON object with a `permissions` array to check the caller's permissions against the specified resource."],["A successful request will result in a response body containing an instance of `TestIamPermissionsResponse`, and a permissions test can not contain wildcards."],["Authorization for this endpoint requires one of the specified OAuth scopes: `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/iam`."]]],[]]