class Permissions extends Resource (View source)

The "permissions" collection of methods.

Typical usage is:

 $iamService = new Google\Service\Iam(...);
 $permissions = $iamService->permissions;

Methods

queryTestablePermissions(QueryTestablePermissionsRequest $postBody, array $optParams = [])

Lists every permission that you can test on a resource. A permission is testable if you can check whether a principal has that permission on the resource. (permissions.queryTestablePermissions)

Details

QueryTestablePermissionsResponse queryTestablePermissions(QueryTestablePermissionsRequest $postBody, array $optParams = [])

Lists every permission that you can test on a resource. A permission is testable if you can check whether a principal has that permission on the resource. (permissions.queryTestablePermissions)

Parameters

QueryTestablePermissionsRequest $postBody
array $optParams

Optional parameters.

Return Value

QueryTestablePermissionsResponse