Google Cloud Asset V1 Client - Class BatchGetEffectiveIamPoliciesResponse (1.16.3)

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<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
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<Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy>
Returns
Type Description
$this