Google Cloud Asset V1 Client - Class BatchGetEffectiveIamPoliciesResponse (2.1.1)

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ policy_results array<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
Type Description
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
Name Description
var array<BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy>
Returns
Type Description
$this