public sealed class DenyRuleExplanation.Types.AnnotatedPermissionMatching : IMessage<DenyRuleExplanation.Types.AnnotatedPermissionMatching>, IEquatable<DenyRuleExplanation.Types.AnnotatedPermissionMatching>, IDeepCloneable<DenyRuleExplanation.Types.AnnotatedPermissionMatching>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Troubleshooter v3 API class DenyRuleExplanation.Types.AnnotatedPermissionMatching.
Details about whether the permission in the request is denied by the
deny rule.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eDenyRuleExplanation.Types.AnnotatedPermissionMatching\u003c/code\u003e class within the Google Cloud Policy Troubleshooter v3 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides details about whether a requested permission is denied by a specific deny rule, which is a part of the Policy Troubleshooter service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotatedPermissionMatching\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003ePermissionMatchingState\u003c/code\u003e, which indicates the permission denial status, and \u003ccode\u003eRelevance\u003c/code\u003e, which represents the importance of this status in the overall rule determination.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two constructors, \u003ccode\u003eAnnotatedPermissionMatching()\u003c/code\u003e which creates a new instance of the class and \u003ccode\u003eAnnotatedPermissionMatching(DenyRuleExplanation.Types.AnnotatedPermissionMatching other)\u003c/code\u003e which creates a copy of an existing instance.\u003c/p\u003e\n"]]],[],null,["# Policy Troubleshooter v3 API - Class DenyRuleExplanation.Types.AnnotatedPermissionMatching (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types.AnnotatedPermissionMatching)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.1.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types.AnnotatedPermissionMatching)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.0.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types.AnnotatedPermissionMatching) \n\n public sealed class DenyRuleExplanation.Types.AnnotatedPermissionMatching : IMessage\u003cDenyRuleExplanation.Types.AnnotatedPermissionMatching\u003e, IEquatable\u003cDenyRuleExplanation.Types.AnnotatedPermissionMatching\u003e, IDeepCloneable\u003cDenyRuleExplanation.Types.AnnotatedPermissionMatching\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Policy Troubleshooter v3 API class DenyRuleExplanation.Types.AnnotatedPermissionMatching.\n\nDetails about whether the permission in the request is denied by the\ndeny rule. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DenyRuleExplanation.Types.AnnotatedPermissionMatching \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DenyRuleExplanation](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation)[Types](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types)[AnnotatedPermissionMatching](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types.AnnotatedPermissionMatching), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DenyRuleExplanation](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation)[Types](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types)[AnnotatedPermissionMatching](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types.AnnotatedPermissionMatching), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DenyRuleExplanation](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation)[Types](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types)[AnnotatedPermissionMatching](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.DenyRuleExplanation.Types.AnnotatedPermissionMatching), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.PolicyTroubleshooter.Iam.V3](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.PolicyTroubleshooter.Iam.V3.dll\n\nConstructors\n------------\n\n### AnnotatedPermissionMatching()\n\n public AnnotatedPermissionMatching()\n\n### AnnotatedPermissionMatching(AnnotatedPermissionMatching)\n\n public AnnotatedPermissionMatching(DenyRuleExplanation.Types.AnnotatedPermissionMatching other)\n\nProperties\n----------\n\n### PermissionMatchingState\n\n public PermissionPatternMatchingState PermissionMatchingState { get; set; }\n\nIndicates whether the permission in the request is denied by the deny\nrule.\n\n### Relevance\n\n public HeuristicRelevance Relevance { get; set; }\n\nThe relevance of the permission status to the overall determination for\nthe rule."]]