1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    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 Simulator v1 API class BindingExplanation.Types.AnnotatedMembership.

Details about whether the binding includes the principal.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BindingExplanation.Types.AnnotatedMembership

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[BindingExplanation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.Types.md.txt)[AnnotatedMembership](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.Types.AnnotatedMembership.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BindingExplanation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.Types.md.txt)[AnnotatedMembership](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.Types.AnnotatedMembership.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[BindingExplanation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.Types.md.txt)[AnnotatedMembership](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.BindingExplanation.Types.AnnotatedMembership.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.PolicySimulator.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.md.txt)

## Assembly

Google.Cloud.PolicySimulator.V1.dll

## Constructors

### AnnotatedMembership()

    public AnnotatedMembership()

### AnnotatedMembership(AnnotatedMembership)

    public AnnotatedMembership(BindingExplanation.Types.AnnotatedMembership other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `BindingExplanationTypesAnnotatedMembership` |

## Properties

### Membership

    public BindingExplanation.Types.Membership Membership { get; set; }

Indicates whether the binding includes the principal.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `BindingExplanationTypesMembership` |   |

### Relevance

    public HeuristicRelevance Relevance { get; set; }

The relevance of the principal's status to the overall determination for
the binding.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `HeuristicRelevance` |   |