Interface DenyPolicyExplanationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DenyPolicyExplanation, DenyPolicyExplanation.Builder

@Generated public interface DenyPolicyExplanationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Indicates whether the principal is denied the specified permission for the specified resource, based on evaluating all applicable IAM deny policies.
    int
    Indicates whether the principal is denied the specified permission for the specified resource, based on evaluating all applicable IAM deny policies.
    List of resources with IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
    int
    List of resources with IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
    List of resources with IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
    List of resources with IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
    List of resources with IAM deny policies that were evaluated to check the principal's denied permissions, with annotations to indicate how each policy contributed to the final result.
    boolean
    Indicates whether the permission to troubleshoot is supported in deny policies.
    The relevance of the deny policy result to the overall access state.
    int
    The relevance of the deny policy result 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

    • getDenyAccessStateValue

      int getDenyAccessStateValue()
       Indicates whether the principal is denied the specified permission for
       the specified resource, based on evaluating all applicable IAM deny
       policies.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1;
      Returns:
      The enum numeric value on the wire for denyAccessState.
    • getDenyAccessState

      DenyAccessState getDenyAccessState()
       Indicates whether the principal is denied the specified permission for
       the specified resource, based on evaluating all applicable IAM deny
       policies.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1;
      Returns:
      The denyAccessState.
    • getExplainedResourcesList

      List<ExplainedDenyResource> getExplainedResourcesList()
       List of resources with IAM deny policies that were evaluated to check the
       principal's denied permissions, with annotations to indicate how each
       policy contributed to the final result.
      
       The list of resources includes the policy for the resource itself, as well
       as policies that are inherited from higher levels of the resource
       hierarchy, including the organization, the folder, and the project. The
       order of the resources starts from the resource and climbs up the resource
       hierarchy.
      
       To learn more about the resource hierarchy, see
       https://cloud.google.com/iam/help/resource-hierarchy.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyResource explained_resources = 2;
    • getExplainedResources

      ExplainedDenyResource getExplainedResources(int index)
       List of resources with IAM deny policies that were evaluated to check the
       principal's denied permissions, with annotations to indicate how each
       policy contributed to the final result.
      
       The list of resources includes the policy for the resource itself, as well
       as policies that are inherited from higher levels of the resource
       hierarchy, including the organization, the folder, and the project. The
       order of the resources starts from the resource and climbs up the resource
       hierarchy.
      
       To learn more about the resource hierarchy, see
       https://cloud.google.com/iam/help/resource-hierarchy.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyResource explained_resources = 2;
    • getExplainedResourcesCount

      int getExplainedResourcesCount()
       List of resources with IAM deny policies that were evaluated to check the
       principal's denied permissions, with annotations to indicate how each
       policy contributed to the final result.
      
       The list of resources includes the policy for the resource itself, as well
       as policies that are inherited from higher levels of the resource
       hierarchy, including the organization, the folder, and the project. The
       order of the resources starts from the resource and climbs up the resource
       hierarchy.
      
       To learn more about the resource hierarchy, see
       https://cloud.google.com/iam/help/resource-hierarchy.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyResource explained_resources = 2;
    • getExplainedResourcesOrBuilderList

      List<? extends ExplainedDenyResourceOrBuilder> getExplainedResourcesOrBuilderList()
       List of resources with IAM deny policies that were evaluated to check the
       principal's denied permissions, with annotations to indicate how each
       policy contributed to the final result.
      
       The list of resources includes the policy for the resource itself, as well
       as policies that are inherited from higher levels of the resource
       hierarchy, including the organization, the folder, and the project. The
       order of the resources starts from the resource and climbs up the resource
       hierarchy.
      
       To learn more about the resource hierarchy, see
       https://cloud.google.com/iam/help/resource-hierarchy.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyResource explained_resources = 2;
    • getExplainedResourcesOrBuilder

      ExplainedDenyResourceOrBuilder getExplainedResourcesOrBuilder(int index)
       List of resources with IAM deny policies that were evaluated to check the
       principal's denied permissions, with annotations to indicate how each
       policy contributed to the final result.
      
       The list of resources includes the policy for the resource itself, as well
       as policies that are inherited from higher levels of the resource
       hierarchy, including the organization, the folder, and the project. The
       order of the resources starts from the resource and climbs up the resource
       hierarchy.
      
       To learn more about the resource hierarchy, see
       https://cloud.google.com/iam/help/resource-hierarchy.
       
      repeated .google.cloud.policytroubleshooter.iam.v3.ExplainedDenyResource explained_resources = 2;
    • getRelevanceValue

      int getRelevanceValue()
       The relevance of the deny policy result 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 deny policy result to the overall access state.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 3;
      Returns:
      The relevance.
    • getPermissionDeniable

      boolean getPermissionDeniable()
       Indicates whether the permission to troubleshoot is supported in deny
       policies.
       
      bool permission_deniable = 4;
      Returns:
      The permissionDeniable.