Class DenyRuleExplanation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation
- All Implemented Interfaces:
DenyRuleExplanationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DenyRuleExplanation
extends com.google.protobuf.GeneratedMessage
implements DenyRuleExplanationOrBuilder
Details about how a deny rule in a deny policy affects a principal's ability to use a permission.Protobuf type
google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails about whether the principal in the request is listed as a denied principal in the deny rule, either directly or through membership in a principal set.static interfacestatic final classDetails about whether the permission in the request is denied by the deny rule.static interfacestatic final classDetails about how a deny rule in a deny policy affects a principal's ability to use a permission.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
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.booleanIndicates 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.static DenyRuleExplanationDeprecated.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.static final com.google.protobuf.Descriptors.DescriptorDeprecated.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.com.google.protobuf.Parser<DenyRuleExplanation>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.intbooleanIndicates 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.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic DenyRuleExplanation.Builderstatic DenyRuleExplanation.BuildernewBuilder(DenyRuleExplanation prototype) protected DenyRuleExplanation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DenyRuleExplanationparseDelimitedFrom(InputStream input) static DenyRuleExplanationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DenyRuleExplanationparseFrom(byte[] data) static DenyRuleExplanationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DenyRuleExplanationparseFrom(com.google.protobuf.ByteString data) static DenyRuleExplanationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DenyRuleExplanationparseFrom(com.google.protobuf.CodedInputStream input) static DenyRuleExplanationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DenyRuleExplanationparseFrom(InputStream input) static DenyRuleExplanationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DenyRuleExplanationparseFrom(ByteBuffer data) static DenyRuleExplanationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DenyRuleExplanation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DENY_ACCESS_STATE_FIELD_NUMBER
public static final int DENY_ACCESS_STATE_FIELD_NUMBER- See Also:
-
COMBINED_DENIED_PERMISSION_FIELD_NUMBER
public static final int COMBINED_DENIED_PERMISSION_FIELD_NUMBER- See Also:
-
DENIED_PERMISSIONS_FIELD_NUMBER
public static final int DENIED_PERMISSIONS_FIELD_NUMBER- See Also:
-
COMBINED_EXCEPTION_PERMISSION_FIELD_NUMBER
public static final int COMBINED_EXCEPTION_PERMISSION_FIELD_NUMBER- See Also:
-
EXCEPTION_PERMISSIONS_FIELD_NUMBER
public static final int EXCEPTION_PERMISSIONS_FIELD_NUMBER- See Also:
-
COMBINED_DENIED_PRINCIPAL_FIELD_NUMBER
public static final int COMBINED_DENIED_PRINCIPAL_FIELD_NUMBER- See Also:
-
DENIED_PRINCIPALS_FIELD_NUMBER
public static final int DENIED_PRINCIPALS_FIELD_NUMBER- See Also:
-
COMBINED_EXCEPTION_PRINCIPAL_FIELD_NUMBER
public static final int COMBINED_EXCEPTION_PRINCIPAL_FIELD_NUMBER- See Also:
-
EXCEPTION_PRINCIPALS_FIELD_NUMBER
public static final int EXCEPTION_PRINCIPALS_FIELD_NUMBER- See Also:
-
RELEVANCE_FIELD_NUMBER
public static final int RELEVANCE_FIELD_NUMBER- See Also:
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER- See Also:
-
CONDITION_EXPLANATION_FIELD_NUMBER
public static final int CONDITION_EXPLANATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDenyAccessStateValue
public 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];- Specified by:
getDenyAccessStateValuein interfaceDenyRuleExplanationOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getDenyAccessStatein interfaceDenyRuleExplanationOrBuilder- Returns:
- The denyAccessState.
-
hasCombinedDeniedPermission
public 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;- Specified by:
hasCombinedDeniedPermissionin interfaceDenyRuleExplanationOrBuilder- 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;- Specified by:
getCombinedDeniedPermissionin interfaceDenyRuleExplanationOrBuilder- Returns:
- The combinedDeniedPermission.
-
getCombinedDeniedPermissionOrBuilder
public 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;- Specified by:
getCombinedDeniedPermissionOrBuilderin interfaceDenyRuleExplanationOrBuilder
-
getDeniedPermissionsCount
public int getDeniedPermissionsCount()Description copied from interface:DenyRuleExplanationOrBuilderLists 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;- Specified by:
getDeniedPermissionsCountin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
containsDeniedPermissionsin interfaceDenyRuleExplanationOrBuilder
-
getDeniedPermissions
@Deprecated public Map<String,DenyRuleExplanation.AnnotatedPermissionMatching> getDeniedPermissions()Deprecated.UsegetDeniedPermissionsMap()instead.- Specified by:
getDeniedPermissionsin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getDeniedPermissionsMapin interfaceDenyRuleExplanationOrBuilder
-
getDeniedPermissionsOrDefault
public 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;- Specified by:
getDeniedPermissionsOrDefaultin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getDeniedPermissionsOrThrowin interfaceDenyRuleExplanationOrBuilder
-
hasCombinedExceptionPermission
public 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;- Specified by:
hasCombinedExceptionPermissionin interfaceDenyRuleExplanationOrBuilder- Returns:
- Whether the combinedExceptionPermission field is set.
-
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;- Specified by:
getCombinedExceptionPermissionin interfaceDenyRuleExplanationOrBuilder- Returns:
- The combinedExceptionPermission.
-
getCombinedExceptionPermissionOrBuilder
public 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;- Specified by:
getCombinedExceptionPermissionOrBuilderin interfaceDenyRuleExplanationOrBuilder
-
getExceptionPermissionsCount
public int getExceptionPermissionsCount()Description copied from interface:DenyRuleExplanationOrBuilderLists 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;- Specified by:
getExceptionPermissionsCountin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
containsExceptionPermissionsin interfaceDenyRuleExplanationOrBuilder
-
getExceptionPermissions
@Deprecated public Map<String,DenyRuleExplanation.AnnotatedPermissionMatching> getExceptionPermissions()Deprecated.UsegetExceptionPermissionsMap()instead.- Specified by:
getExceptionPermissionsin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getExceptionPermissionsMapin interfaceDenyRuleExplanationOrBuilder
-
getExceptionPermissionsOrDefault
public 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;- Specified by:
getExceptionPermissionsOrDefaultin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getExceptionPermissionsOrThrowin interfaceDenyRuleExplanationOrBuilder
-
hasCombinedDeniedPrincipal
public 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;- Specified by:
hasCombinedDeniedPrincipalin interfaceDenyRuleExplanationOrBuilder- 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;- Specified by:
getCombinedDeniedPrincipalin interfaceDenyRuleExplanationOrBuilder- Returns:
- The combinedDeniedPrincipal.
-
getCombinedDeniedPrincipalOrBuilder
public 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;- Specified by:
getCombinedDeniedPrincipalOrBuilderin interfaceDenyRuleExplanationOrBuilder
-
getDeniedPrincipalsCount
public int getDeniedPrincipalsCount()Description copied from interface:DenyRuleExplanationOrBuilderLists 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;- Specified by:
getDeniedPrincipalsCountin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
containsDeniedPrincipalsin interfaceDenyRuleExplanationOrBuilder
-
getDeniedPrincipals
@Deprecated public Map<String,DenyRuleExplanation.AnnotatedDenyPrincipalMatching> getDeniedPrincipals()Deprecated.UsegetDeniedPrincipalsMap()instead.- Specified by:
getDeniedPrincipalsin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getDeniedPrincipalsMapin interfaceDenyRuleExplanationOrBuilder
-
getDeniedPrincipalsOrDefault
public 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;- Specified by:
getDeniedPrincipalsOrDefaultin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getDeniedPrincipalsOrThrowin interfaceDenyRuleExplanationOrBuilder
-
hasCombinedExceptionPrincipal
public 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;- Specified by:
hasCombinedExceptionPrincipalin interfaceDenyRuleExplanationOrBuilder- 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;- Specified by:
getCombinedExceptionPrincipalin interfaceDenyRuleExplanationOrBuilder- Returns:
- The combinedExceptionPrincipal.
-
getCombinedExceptionPrincipalOrBuilder
public 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;- Specified by:
getCombinedExceptionPrincipalOrBuilderin interfaceDenyRuleExplanationOrBuilder
-
getExceptionPrincipalsCount
public int getExceptionPrincipalsCount()Description copied from interface:DenyRuleExplanationOrBuilderLists 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;- Specified by:
getExceptionPrincipalsCountin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
containsExceptionPrincipalsin interfaceDenyRuleExplanationOrBuilder
-
getExceptionPrincipals
@Deprecated public Map<String,DenyRuleExplanation.AnnotatedDenyPrincipalMatching> getExceptionPrincipals()Deprecated.UsegetExceptionPrincipalsMap()instead.- Specified by:
getExceptionPrincipalsin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getExceptionPrincipalsMapin interfaceDenyRuleExplanationOrBuilder
-
getExceptionPrincipalsOrDefault
public 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;- Specified by:
getExceptionPrincipalsOrDefaultin interfaceDenyRuleExplanationOrBuilder
-
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;- Specified by:
getExceptionPrincipalsOrThrowin interfaceDenyRuleExplanationOrBuilder
-
getRelevanceValue
public int getRelevanceValue()The relevance of this role binding to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;- Specified by:
getRelevanceValuein interfaceDenyRuleExplanationOrBuilder- Returns:
- The enum numeric value on the wire for relevance.
-
getRelevance
The relevance of this role binding to the overall determination for the entire policy.
.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;- Specified by:
getRelevancein interfaceDenyRuleExplanationOrBuilder- Returns:
- The relevance.
-
hasCondition
public 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;- Specified by:
hasConditionin interfaceDenyRuleExplanationOrBuilder- Returns:
- Whether the condition field is set.
-
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;- Specified by:
getConditionin interfaceDenyRuleExplanationOrBuilder- Returns:
- The condition.
-
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;- Specified by:
getConditionOrBuilderin interfaceDenyRuleExplanationOrBuilder
-
hasConditionExplanation
public boolean hasConditionExplanation()Condition evaluation state for this role binding.
.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;- Specified by:
hasConditionExplanationin interfaceDenyRuleExplanationOrBuilder- Returns:
- Whether the conditionExplanation field is set.
-
getConditionExplanation
Condition evaluation state for this role binding.
.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;- Specified by:
getConditionExplanationin interfaceDenyRuleExplanationOrBuilder- Returns:
- The conditionExplanation.
-
getConditionExplanationOrBuilder
Condition evaluation state for this role binding.
.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;- Specified by:
getConditionExplanationOrBuilderin interfaceDenyRuleExplanationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DenyRuleExplanation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DenyRuleExplanation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DenyRuleExplanation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DenyRuleExplanation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DenyRuleExplanation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DenyRuleExplanation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DenyRuleExplanation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DenyRuleExplanation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DenyRuleExplanation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DenyRuleExplanation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DenyRuleExplanation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-