# Policy Troubleshooter v3 API - Class AccessTuple (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.AccessTuple)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.2.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.AccessTuple)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.1.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.AccessTuple)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/1.0.0/Google.Cloud.PolicyTroubleshooter.Iam.V3.AccessTuple)

    public sealed class AccessTuple : IMessage<AccessTuple>, IEquatable<AccessTuple>, IDeepCloneable<AccessTuple>, IBufferMessage, IMessage

Reference documentation and code samples for the Policy Troubleshooter v3 API class AccessTuple.

Information about the principal, resource, and permission to check.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AccessTuple](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.AccessTuple), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AccessTuple](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.AccessTuple), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AccessTuple](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.AccessTuple), [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)

## 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.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

## Constructors

### AccessTuple()

    public AccessTuple()

### AccessTuple(AccessTuple)

    public AccessTuple(AccessTuple other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.AccessTuple` |

## Properties

### ConditionContext

    public ConditionContext ConditionContext { get; set; }

Optional. Additional context for the request, such as the request time or
IP address. This context allows Policy Troubleshooter to troubleshoot
conditional role bindings and deny rules.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicyTroubleshooter.Iam.V3/latest/Google.Cloud.PolicyTroubleshooter.Iam.V3.ConditionContext` |   |

### FullResourceName

    public string FullResourceName { get; set; }

Required. The full resource name that identifies the resource. For example,
`//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`.

For examples of full resource names for Google Cloud services, see
<https://cloud.google.com/iam/help/troubleshooter/full-resource-names>.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Permission

    public string Permission { get; set; }

Required. The IAM permission to check for, either in the `v1` permission
format or the `v2` permission format.

For a complete list of IAM permissions in the `v1` format, see
<https://cloud.google.com/iam/help/permissions/reference>.

For a list of IAM permissions in the `v2` format, see
<https://cloud.google.com/iam/help/deny/supported-permissions>.

For a complete list of predefined IAM roles and the permissions in each
role, see <https://cloud.google.com/iam/help/roles/reference>.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PermissionFqdn

    public string PermissionFqdn { get; set; }

Output only. The permission that Policy Troubleshooter checked for, in
the `v2` format.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Principal

    public string Principal { get; set; }

Required. The email address of the principal whose access you want to
check. For example, `alice@example.com` or
`my-service-account@my-project.iam.gserviceaccount.com`.

The principal must be a Google Account or a service account. Other types of
principals are not supported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |