class Iam extends Resource (View source)

The "iam" collection of methods.

Typical usage is:

 $policytroubleshooterService = new Google\Service\PolicyTroubleshooter(...);
 $iam = $policytroubleshooterService->iam;

Methods

troubleshoot(GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest $postBody, array $optParams = [])

Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.

Details

GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse troubleshoot(GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest $postBody, array $optParams = [])

Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.

(iam.troubleshoot)

Parameters

GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse

Exceptions

Exception