public sealed class BindingExplanation.Types.AnnotatedMembership : IMessage<BindingExplanation.Types.AnnotatedMembership>, IEquatable<BindingExplanation.Types.AnnotatedMembership>, IDeepCloneable<BindingExplanation.Types.AnnotatedMembership>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Troubleshooter v1 API class BindingExplanation.Types.AnnotatedMembership.
Details about whether the binding includes the principal.
[[["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\u003eThe \u003ccode\u003eBindingExplanation.Types.AnnotatedMembership\u003c/code\u003e class, part of the Policy Troubleshooter v1 API, provides details on whether a binding includes a specific principal.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, indicating its functionality for message handling, equality checks, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotatedMembership\u003c/code\u003e class has two constructors, a parameterless one and another that accepts another \u003ccode\u003eAnnotatedMembership\u003c/code\u003e instance for copying.\u003c/p\u003e\n"],["\u003cp\u003eIt exposes properties like \u003ccode\u003eMembership\u003c/code\u003e, which determines if the binding contains the principal, and \u003ccode\u003eRelevance\u003c/code\u003e, indicating the principal's status relevance to the binding.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this \u003ccode\u003eAnnotatedMembership\u003c/code\u003e class in the Policy Troubleshooter V1 API is 2.5.0.\u003c/p\u003e\n"]]],[],null,["# Policy Troubleshooter v1 API - Class BindingExplanation.Types.AnnotatedMembership (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.4.0/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.3.0/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.2.0/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.1.0/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/2.0.0/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/1.2.0/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/1.1.0/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership) \n\n public sealed class BindingExplanation.Types.AnnotatedMembership : IMessage\u003cBindingExplanation.Types.AnnotatedMembership\u003e, IEquatable\u003cBindingExplanation.Types.AnnotatedMembership\u003e, IDeepCloneable\u003cBindingExplanation.Types.AnnotatedMembership\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Policy Troubleshooter v1 API class BindingExplanation.Types.AnnotatedMembership.\n\nDetails about whether the binding includes the principal. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BindingExplanation.Types.AnnotatedMembership \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BindingExplanation](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation)[Types](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types)[AnnotatedMembership](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BindingExplanation](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation)[Types](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types)[AnnotatedMembership](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BindingExplanation](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation)[Types](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types)[AnnotatedMembership](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1.BindingExplanation.Types.AnnotatedMembership), [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.V1](/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.V1/latest/Google.Cloud.PolicyTroubleshooter.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.PolicyTroubleshooter.V1.dll\n\nConstructors\n------------\n\n### AnnotatedMembership()\n\n public AnnotatedMembership()\n\n### AnnotatedMembership(AnnotatedMembership)\n\n public AnnotatedMembership(BindingExplanation.Types.AnnotatedMembership other)\n\nProperties\n----------\n\n### Membership\n\n public BindingExplanation.Types.Membership Membership { get; set; }\n\nIndicates whether the binding includes the principal.\n\n### Relevance\n\n public HeuristicRelevance Relevance { get; set; }\n\nThe relevance of the principal's status to the overall determination for\nthe binding."]]