Interface TroubleshootIamPolicyResponseOrBuilder (1.16.0)

public interface TroubleshootIamPolicyResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccess()

public abstract Explanations.AccessState getAccess()

Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.

.google.cloud.policytroubleshooter.v1.AccessState access = 1;

Returns
TypeDescription
Explanations.AccessState

The access.

getAccessValue()

public abstract int getAccessValue()

Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.

.google.cloud.policytroubleshooter.v1.AccessState access = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for access.

getExplainedPolicies(int index)

public abstract Explanations.ExplainedPolicy getExplainedPolicies(int index)

List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Explanations.ExplainedPolicy

getExplainedPoliciesCount()

public abstract int getExplainedPoliciesCount()

List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;

Returns
TypeDescription
int

getExplainedPoliciesList()

public abstract List<Explanations.ExplainedPolicy> getExplainedPoliciesList()

List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;

Returns
TypeDescription
List<ExplainedPolicy>

getExplainedPoliciesOrBuilder(int index)

public abstract Explanations.ExplainedPolicyOrBuilder getExplainedPoliciesOrBuilder(int index)

List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Explanations.ExplainedPolicyOrBuilder

getExplainedPoliciesOrBuilderList()

public abstract List<? extends Explanations.ExplainedPolicyOrBuilder> getExplainedPoliciesOrBuilderList()

List of IAM policies that were evaluated to check the member's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project. To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

repeated .google.cloud.policytroubleshooter.v1.ExplainedPolicy explained_policies = 2;

Returns
TypeDescription
List<? extends google.cloud.policytroubleshooter.v1.Explanations.ExplainedPolicyOrBuilder>