Interface BatchGetEffectiveIamPoliciesResponseOrBuilder (3.45.0)

public interface BatchGetEffectiveIamPoliciesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicyResults(int index)

public abstract BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index)

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.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

getPolicyResultsCount()

public abstract int getPolicyResultsCount()

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.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Returns
TypeDescription
int

getPolicyResultsList()

public abstract List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> getPolicyResultsList()

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.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Returns
TypeDescription
List<EffectiveIamPolicy>

getPolicyResultsOrBuilder(int index)

public abstract BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder(int index)

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.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder

getPolicyResultsOrBuilderList()

public abstract List<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> getPolicyResultsOrBuilderList()

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.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder>