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.
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.
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.
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:
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Audit API's \u003ccode\u003eAuthenticationInfo\u003c/code\u003e class is 2.5.0, with previous versions ranging from 1.0.0 to 2.4.0 also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAuthenticationInfo\u003c/code\u003e is a sealed class that provides authentication information for operations and implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides various properties, including \u003ccode\u003eAuthoritySelector\u003c/code\u003e, \u003ccode\u003ePrincipalEmail\u003c/code\u003e, \u003ccode\u003ePrincipalSubject\u003c/code\u003e, \u003ccode\u003eServiceAccountDelegationInfo\u003c/code\u003e, \u003ccode\u003eServiceAccountKeyName\u003c/code\u003e, and \u003ccode\u003eThirdPartyPrincipal\u003c/code\u003e, to detail the authentication of the request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAuthenticationInfo\u003c/code\u003e has two constructors available: one for a standard creation, and one that can be assigned to a previously existing \u003ccode\u003eAuthenticationInfo\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthenticationInfo\u003c/code\u003e class inherits members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class, offering fundamental object-related methods.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Audit API - Class AuthenticationInfo (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.AuthenticationInfo)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Audit/2.4.0/Google.Cloud.Audit.AuthenticationInfo)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Audit/2.3.0/Google.Cloud.Audit.AuthenticationInfo)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Audit/2.2.0/Google.Cloud.Audit.AuthenticationInfo)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Audit/2.1.0/Google.Cloud.Audit.AuthenticationInfo)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Audit/2.0.0/Google.Cloud.Audit.AuthenticationInfo)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Audit/1.1.0/Google.Cloud.Audit.AuthenticationInfo)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Audit/1.0.0/Google.Cloud.Audit.AuthenticationInfo) \n\n public sealed class AuthenticationInfo : IMessage\u003cAuthenticationInfo\u003e, IEquatable\u003cAuthenticationInfo\u003e, IDeepCloneable\u003cAuthenticationInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Audit API class AuthenticationInfo.\n\nAuthentication information for the operation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AuthenticationInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AuthenticationInfo](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.AuthenticationInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AuthenticationInfo](/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](/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) \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.Audit](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit)\n\nAssembly\n--------\n\nGoogle.Cloud.Audit.dll\n\nConstructors\n------------\n\n### AuthenticationInfo()\n\n public AuthenticationInfo()\n\n### AuthenticationInfo(AuthenticationInfo)\n\n public AuthenticationInfo(AuthenticationInfo other)\n\nProperties\n----------\n\n### AuthoritySelector\n\n public string AuthoritySelector { get; set; }\n\nThe authority selector specified by the requestor, if any.\nIt is not guaranteed that the principal was allowed to use this authority.\n\n### PrincipalEmail\n\n public string PrincipalEmail { get; set; }\n\nThe email address of the authenticated user (or service account on behalf\nof third party principal) making the request. For third party identity\ncallers, the `principal_subject` field is populated instead of this field.\nFor privacy reasons, the principal email address is sometimes redacted.\nFor more information, see [Caller identities in audit\nlogs](https://cloud.google.com/logging/docs/audit#user-id).\n\n### PrincipalSubject\n\n public string PrincipalSubject { get; set; }\n\nString representation of identity of requesting party.\nPopulated for both first and third party identities.\n\n### ServiceAccountDelegationInfo\n\n public RepeatedField\u003cServiceAccountDelegationInfo\u003e ServiceAccountDelegationInfo { get; }\n\nIdentity delegation history of an authenticated service account that makes\nthe request. It contains information on the real authorities that try to\naccess GCP resources by delegating on a service account. When multiple\nauthorities present, they are guaranteed to be sorted based on the original\nordering of the identity delegation events.\n\n### ServiceAccountKeyName\n\n public string ServiceAccountKeyName { get; set; }\n\nThe name of the service account key used to create or exchange\ncredentials for authenticating the service account making the request.\nThis is a scheme-less URI full resource name. For example:\n\n\"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\"\n\n### ThirdPartyPrincipal\n\n public Struct ThirdPartyPrincipal { get; set; }\n\nThe third party identification (if any) of the authenticated user making\nthe request.\nWhen the JSON object represented here has a proto equivalent, the proto\nname will be indicated in the `@type` property."]]