Google Cloud Asset V1 Client - Class BatchGetEffectiveIamPoliciesResponse (1.10.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class BatchGetEffectiveIamPoliciesResponse.

A response message for AssetService.BatchGetEffectiveIamPolicies.

Generated from protobuf message google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ policy_results array<Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy>

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

getPolicyResults

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names.

When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPolicyResults

The effective policies for a batch of resources. Note that the results order is the same as the order of BatchGetEffectiveIamPoliciesRequest.names.

When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty EffectiveIamPolicy.policies.

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy>
Returns
TypeDescription
$this