class EffectiveIamPolicies extends Resource (View source)

The "effectiveIamPolicies" collection of methods.

Typical usage is:

 $cloudassetService = new Google\Service\CloudAsset(...);
 $effectiveIamPolicies = $cloudassetService->effectiveIamPolicies;

Methods

batchGet(string $scope, array $optParams = [])

Gets effective IAM policies for a batch of resources.

Details

BatchGetEffectiveIamPoliciesResponse batchGet(string $scope, array $optParams = [])

Gets effective IAM policies for a batch of resources.

(effectiveIamPolicies.batchGet)

Parameters

string $scope

Required. Only IAM policies on or below the scope will be returned. This can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345"). To know how to get organization ID, visit here . To know how to get folder or project ID, visit here .

array $optParams

Optional parameters.

Return Value

BatchGetEffectiveIamPoliciesResponse

Exceptions

Exception