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 Summary
Modifier and TypeMethodDescriptionbooleanLists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request.booleanLists 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.booleanLists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request.booleanLists 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.Indicates whether the permission in the request is listed as a denied permission in the deny rule.Indicates whether the permission in the request is listed as a denied permission in the deny rule.Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set.Indicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set.Indicates whether the permission in the request is listed as an exception permission in the deny rule.Indicates whether the permission in the request is listed as an exception permission in the deny rule.Indicates whether the principal is listed as an exception principal in the deny rule, either directly or through membership in a principal set.Indicates whether the principal is listed as an exception principal in the deny rule, either directly or through membership in a principal set.A condition expression that specifies when the deny rule denies the principal access.Condition evaluation state for this role binding.Condition evaluation state for this role binding.A condition expression that specifies when the deny rule denies the principal access.Deprecated.intLists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request.Lists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request.getDeniedPermissionsOrDefault(String key, DenyRuleExplanation.AnnotatedPermissionMatching defaultValue) Lists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request.Lists all denied permissions in the deny rule and indicates whether each permission matches the permission in the request.Deprecated.intLists 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.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.getDeniedPrincipalsOrDefault(String key, DenyRuleExplanation.AnnotatedDenyPrincipalMatching defaultValue) 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.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.Required.intRequired.Deprecated.intLists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request.Lists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request.getExceptionPermissionsOrDefault(String key, DenyRuleExplanation.AnnotatedPermissionMatching defaultValue) Lists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request.Lists all exception permissions in the deny rule and indicates whether each permission matches the permission in the request.Deprecated.intLists 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.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.getExceptionPrincipalsOrDefault(String key, DenyRuleExplanation.AnnotatedDenyPrincipalMatching defaultValue) 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.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.The relevance of this role binding to the overall determination for the entire policy.intThe relevance of this role binding to the overall determination for the entire policy.booleanIndicates whether the permission in the request is listed as a denied permission in the deny rule.booleanIndicates whether the principal is listed as a denied principal in the deny rule, either directly or through membership in a principal set.booleanIndicates whether the permission in the request is listed as an exception permission in the deny rule.booleanIndicates whether the principal is listed as an exception principal in the deny rule, either directly or through membership in a principal set.booleanA condition expression that specifies when the deny rule denies the principal access.booleanCondition evaluation state for this role binding.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
-
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
DenyRuleExplanation.AnnotatedPermissionMatching 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
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.UsegetDeniedPermissionsMap()instead. -
getDeniedPermissionsMap
Map<String,DenyRuleExplanation.AnnotatedPermissionMatching> 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
DenyRuleExplanation.AnnotatedPermissionMatching getDeniedPermissionsOrDefault(String key, DenyRuleExplanation.AnnotatedPermissionMatching defaultValue) 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
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
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.UsegetExceptionPermissionsMap()instead. -
getExceptionPermissionsMap
Map<String,DenyRuleExplanation.AnnotatedPermissionMatching> 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
DenyRuleExplanation.AnnotatedPermissionMatching getExceptionPermissionsOrDefault(String key, DenyRuleExplanation.AnnotatedPermissionMatching defaultValue) 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
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
DenyRuleExplanation.AnnotatedDenyPrincipalMatching 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
DenyRuleExplanation.AnnotatedDenyPrincipalMatchingOrBuilder 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
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.UsegetDeniedPrincipalsMap()instead. -
getDeniedPrincipalsMap
Map<String,DenyRuleExplanation.AnnotatedDenyPrincipalMatching> 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
DenyRuleExplanation.AnnotatedDenyPrincipalMatching getDeniedPrincipalsOrDefault(String key, DenyRuleExplanation.AnnotatedDenyPrincipalMatching defaultValue) 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
DenyRuleExplanation.AnnotatedDenyPrincipalMatching 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
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.UsegetExceptionPrincipalsMap()instead. -
getExceptionPrincipalsMap
Map<String,DenyRuleExplanation.AnnotatedDenyPrincipalMatching> 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
DenyRuleExplanation.AnnotatedDenyPrincipalMatching getExceptionPrincipalsOrDefault(String key, DenyRuleExplanation.AnnotatedDenyPrincipalMatching defaultValue) 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
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;
-