Interface DenyRuleExplanationOrBuilder

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

@Generated public interface DenyRuleExplanationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDenyAccessStateValue

      int getDenyAccessStateValue()
       Required. Indicates whether _this rule_ denies the specified permission to
       the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal is actually denied on
       the permission for the resource. There might be another rule that overrides
       this rule. To determine whether the principal actually has the permission,
       use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for denyAccessState.
    • getDenyAccessState

      DenyAccessState getDenyAccessState()
       Required. Indicates whether _this rule_ denies the specified permission to
       the specified principal for the specified resource.
      
       This field does _not_ indicate whether the principal is actually denied on
       the permission for the resource. There might be another rule that overrides
       this rule. To determine whether the principal actually has the permission,
       use the `overall_access_state` field in the
       [TroubleshootIamPolicyResponse][google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse].
       
      .google.cloud.policytroubleshooter.iam.v3.DenyAccessState deny_access_state = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The denyAccessState.
    • hasCombinedDeniedPermission

      boolean hasCombinedDeniedPermission()
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
      Returns:
      Whether the combinedDeniedPermission field is set.
    • getCombinedDeniedPermission

       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
      Returns:
      The combinedDeniedPermission.
    • getCombinedDeniedPermissionOrBuilder

      DenyRuleExplanation.AnnotatedPermissionMatchingOrBuilder getCombinedDeniedPermissionOrBuilder()
       Indicates whether the permission in the request is listed as a denied
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;
    • getDeniedPermissionsCount

      int getDeniedPermissionsCount()
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • containsDeniedPermissions

      boolean containsDeniedPermissions(String key)
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • getDeniedPermissions

      Deprecated.
    • getDeniedPermissionsMap

       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • getDeniedPermissionsOrDefault

       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • getDeniedPermissionsOrThrow

      DenyRuleExplanation.AnnotatedPermissionMatching getDeniedPermissionsOrThrow(String key)
       Lists all denied permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a denied permission in the rule, and each value
       indicates whether the denied permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;
    • hasCombinedExceptionPermission

      boolean hasCombinedExceptionPermission()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
      Returns:
      Whether the combinedExceptionPermission field is set.
    • getCombinedExceptionPermission

      DenyRuleExplanation.AnnotatedPermissionMatching getCombinedExceptionPermission()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
      Returns:
      The combinedExceptionPermission.
    • getCombinedExceptionPermissionOrBuilder

      DenyRuleExplanation.AnnotatedPermissionMatchingOrBuilder getCombinedExceptionPermissionOrBuilder()
       Indicates whether the permission in the request is listed as an exception
       permission in the deny rule.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;
    • getExceptionPermissionsCount

      int getExceptionPermissionsCount()
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • containsExceptionPermissions

      boolean containsExceptionPermissions(String key)
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • getExceptionPermissions

      Deprecated.
    • getExceptionPermissionsMap

       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • getExceptionPermissionsOrDefault

       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • getExceptionPermissionsOrThrow

      DenyRuleExplanation.AnnotatedPermissionMatching getExceptionPermissionsOrThrow(String key)
       Lists all exception permissions in the deny rule and indicates whether each
       permission matches the permission in the request.
      
       Each key identifies a exception permission in the rule, and each value
       indicates whether the exception permission matches the permission in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;
    • hasCombinedDeniedPrincipal

      boolean hasCombinedDeniedPrincipal()
       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
      Returns:
      Whether the combinedDeniedPrincipal field is set.
    • getCombinedDeniedPrincipal

       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
      Returns:
      The combinedDeniedPrincipal.
    • getCombinedDeniedPrincipalOrBuilder

       Indicates whether the principal is listed as a denied principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;
    • getDeniedPrincipalsCount

      int getDeniedPrincipalsCount()
       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • containsDeniedPrincipals

      boolean containsDeniedPrincipals(String key)
       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • getDeniedPrincipals

      Deprecated.
    • getDeniedPrincipalsMap

       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • getDeniedPrincipalsOrDefault

       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • getDeniedPrincipalsOrThrow

       Lists all denied principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a denied principal in the rule, and each value
       indicates whether the denied principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;
    • hasCombinedExceptionPrincipal

      boolean hasCombinedExceptionPrincipal()
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
      Returns:
      Whether the combinedExceptionPrincipal field is set.
    • getCombinedExceptionPrincipal

       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
      Returns:
      The combinedExceptionPrincipal.
    • getCombinedExceptionPrincipalOrBuilder

      DenyRuleExplanation.AnnotatedDenyPrincipalMatchingOrBuilder getCombinedExceptionPrincipalOrBuilder()
       Indicates whether the principal is listed as an exception principal in the
       deny rule, either directly or through membership in a principal set.
       
      .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;
    • getExceptionPrincipalsCount

      int getExceptionPrincipalsCount()
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • containsExceptionPrincipals

      boolean containsExceptionPrincipals(String key)
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • getExceptionPrincipals

      Deprecated.
    • getExceptionPrincipalsMap

       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • getExceptionPrincipalsOrDefault

       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • getExceptionPrincipalsOrThrow

      DenyRuleExplanation.AnnotatedDenyPrincipalMatching getExceptionPrincipalsOrThrow(String key)
       Lists all exception principals in the deny rule and indicates whether each
       principal matches the principal in the request, either directly or through
       membership in a principal set.
      
       Each key identifies a exception principal in the rule, and each value
       indicates whether the exception principal matches the principal in the
       request.
       
      map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;
    • getRelevanceValue

      int getRelevanceValue()
       The relevance of this role binding to the overall determination for the
       entire policy.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;
      Returns:
      The enum numeric value on the wire for relevance.
    • getRelevance

      HeuristicRelevance getRelevance()
       The relevance of this role binding to the overall determination for the
       entire policy.
       
      .google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;
      Returns:
      The relevance.
    • hasCondition

      boolean hasCondition()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
      Returns:
      Whether the condition field is set.
    • getCondition

      Expr getCondition()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
      Returns:
      The condition.
    • getConditionOrBuilder

      ExprOrBuilder getConditionOrBuilder()
       A condition expression that specifies when the deny rule denies the
       principal access.
      
       To learn about IAM Conditions, see
       https://cloud.google.com/iam/help/conditions/overview.
       
      .google.type.Expr condition = 11;
    • hasConditionExplanation

      boolean hasConditionExplanation()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
      Returns:
      Whether the conditionExplanation field is set.
    • getConditionExplanation

      ConditionExplanation getConditionExplanation()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;
      Returns:
      The conditionExplanation.
    • getConditionExplanationOrBuilder

      ConditionExplanationOrBuilder getConditionExplanationOrBuilder()
       Condition evaluation state for this role binding.
       
      .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;