# Google Cloud Audit API - Class AuthenticationInfo (2.6.0)

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

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.AuthenticationInfo)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/2.5.0/Google.Cloud.Audit.AuthenticationInfo)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/2.4.0/Google.Cloud.Audit.AuthenticationInfo)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/2.3.0/Google.Cloud.Audit.AuthenticationInfo)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/2.2.0/Google.Cloud.Audit.AuthenticationInfo)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/2.1.0/Google.Cloud.Audit.AuthenticationInfo)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/2.0.0/Google.Cloud.Audit.AuthenticationInfo)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/1.1.0/Google.Cloud.Audit.AuthenticationInfo)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/1.0.0/Google.Cloud.Audit.AuthenticationInfo)

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

Reference documentation and code samples for the Google Cloud Audit API class AuthenticationInfo.

Authentication information for the operation.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Audit.dll

## Constructors

### AuthenticationInfo()

    public AuthenticationInfo()

### AuthenticationInfo(AuthenticationInfo)

    public AuthenticationInfo(AuthenticationInfo other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.AuthenticationInfo` |

## Properties

### AuthoritySelector

    public string AuthoritySelector { get; set; }

The authority selector specified by the requestor, if any.
It is not guaranteed that the principal was allowed to use this authority.

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

### PrincipalEmail

    public string PrincipalEmail { get; set; }

The email address of the authenticated user (or service account on behalf
of third party principal) making the request. For third party identity
callers, the `principal_subject` field is populated instead of this field.
For privacy reasons, the principal email address is sometimes redacted.
For more information, see [Caller identities in audit
logs](https://cloud.google.com/logging/docs/audit#user-id).

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

### PrincipalSubject

    public string PrincipalSubject { get; set; }

String representation of identity of requesting party.
Populated for both first and third party identities.

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

### ServiceAccountDelegationInfo

    public RepeatedField<ServiceAccountDelegationInfo> ServiceAccountDelegationInfo { get; }

Identity delegation history of an authenticated service account that makes
the request. It contains information on the real authorities that try to
access GCP resources by delegating on a service account. When multiple
authorities present, they are guaranteed to be sorted based on the original
ordering of the identity delegation events.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo` |   |

### ServiceAccountKeyName

    public string ServiceAccountKeyName { get; set; }

The name of the service account key used to create or exchange
credentials for authenticating the service account making the request.
This is a scheme-less URI full resource name. For example:

"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"

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

### ThirdPartyPrincipal

    public Struct ThirdPartyPrincipal { get; set; }

The third party identification (if any) of the authenticated user making
the request.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the `@type` property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Struct.html` |   |