Interface AllowPolicyExplanationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllowPolicyExplanation,AllowPolicyExplanation.Builder
@Generated
public interface AllowPolicyExplanationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.intIndicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.getExplainedPolicies(int index) List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.intList of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.getExplainedPoliciesOrBuilder(int index) List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.List<? extends ExplainedAllowPolicyOrBuilder>List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result.The relevance of the allow policy type to the overall access state.intThe relevance of the allow policy type to the overall access state.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAllowAccessStateValue
int getAllowAccessStateValue()Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
.google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1;- Returns:
- The enum numeric value on the wire for allowAccessState.
-
getAllowAccessState
AllowAccessState getAllowAccessState()Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
.google.cloud.policytroubleshooter.iam.v3.AllowAccessState allow_access_state = 1;- Returns:
- The allowAccessState.
-
getExplainedPoliciesList
List<ExplainedAllowPolicy> getExplainedPoliciesList()List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies includes the policy for the resource itself, as well as allow 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.iam.v3.ExplainedAllowPolicy explained_policies = 2; -
getExplainedPolicies
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies includes the policy for the resource itself, as well as allow 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.iam.v3.ExplainedAllowPolicy explained_policies = 2; -
getExplainedPoliciesCount
int getExplainedPoliciesCount()List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies includes the policy for the resource itself, as well as allow 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.iam.v3.ExplainedAllowPolicy explained_policies = 2; -
getExplainedPoliciesOrBuilderList
List<? extends ExplainedAllowPolicyOrBuilder> getExplainedPoliciesOrBuilderList()List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies includes the policy for the resource itself, as well as allow 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.iam.v3.ExplainedAllowPolicy explained_policies = 2; -
getExplainedPoliciesOrBuilder
List of IAM allow policies that were evaluated to check the principal's permissions, with annotations to indicate how each policy contributed to the final result. The list of policies includes the policy for the resource itself, as well as allow 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.iam.v3.ExplainedAllowPolicy explained_policies = 2; -
getRelevanceValue
int getRelevanceValue()The relevance of the allow policy type to the overall access state.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;- Returns:
- The enum numeric value on the wire for relevance.
-
getRelevance
HeuristicRelevance getRelevance()The relevance of the allow policy type to the overall access state.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;- Returns:
- The relevance.
-