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 Type
    Method
    Description
    Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
    int
    Indicates whether the principal has the specified permission for the specified resource, based on evaluating all applicable IAM allow policies.
    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.
    int
    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 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.
    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.
    int
    The relevance of the allow policy type to the overall access state.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      ExplainedAllowPolicy 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.
      
       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

      ExplainedAllowPolicyOrBuilder 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.
      
       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.