# Policy Troubleshooter v3 API - Enum MembershipMatchingState (1.3.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.3.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.MembershipMatchingState)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.2.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.MembershipMatchingState)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.1.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.MembershipMatchingState)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.0.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.MembershipMatchingState)

    public enum MembershipMatchingState

Reference documentation and code samples for the Policy Troubleshooter v3 API enum MembershipMatchingState.

Whether the principal in the request matches the principal in the policy.

## Namespace

[Google.Cloud.PolicyTroubleshooter.Iam.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3)

## Assembly

Google.Cloud.PolicyTroubleshooter.Iam.V3.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `MembershipMatched` | The principal in the request matches the principal in the policy. The principal can be included directly or indirectly: - A principal is included directly if that principal is listed in the role binding. - A principal is included indirectly if that principal is in a Google group, Google Workspace account, or Cloud Identity domain that is listed in the policy. |
| `MembershipNotMatched` | The principal in the request doesn't match the principal in the policy. |
| `MembershipUnknownInfo` | The principal in the policy is a group or domain, and the sender of the request doesn't have permission to view whether the principal in the request is a member of the group or domain. |
| `MembershipUnknownUnsupported` | The principal is an unsupported type. |
| `Unspecified` | Not specified. |