public sealed class ServiceAccountDelegationInfo.Types.FirstPartyPrincipal : IMessage<ServiceAccountDelegationInfo.Types.FirstPartyPrincipal>, IEquatable<ServiceAccountDelegationInfo.Types.FirstPartyPrincipal>, IDeepCloneable<ServiceAccountDelegationInfo.Types.FirstPartyPrincipal>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Audit API class ServiceAccountDelegationInfo.Types.FirstPartyPrincipal.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eServiceAccountDelegationInfo.Types.FirstPartyPrincipal\u003c/code\u003e class within the Google Cloud Audit API, covering versions from 1.0.0 to the latest 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirstPartyPrincipal\u003c/code\u003e class represents a first-party identity principal and implements several interfaces including \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\u003eThe class \u003ccode\u003eServiceAccountDelegationInfo.Types.FirstPartyPrincipal\u003c/code\u003e inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, and it contains two constructors: a default one and one that accepts another instance of \u003ccode\u003eFirstPartyPrincipal\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccountDelegationInfo.Types.FirstPartyPrincipal\u003c/code\u003e class has two properties, \u003ccode\u003ePrincipalEmail\u003c/code\u003e (a string) which represents the email address of a Google account and \u003ccode\u003eServiceMetadata\u003c/code\u003e which contains metadata about the service that utilizes the account.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Audit API - Class ServiceAccountDelegationInfo.Types.FirstPartyPrincipal (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Audit/2.4.0/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Audit/2.3.0/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Audit/2.2.0/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Audit/2.1.0/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Audit/2.0.0/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Audit/1.1.0/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Audit/1.0.0/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal) \n\n public sealed class ServiceAccountDelegationInfo.Types.FirstPartyPrincipal : IMessage\u003cServiceAccountDelegationInfo.Types.FirstPartyPrincipal\u003e, IEquatable\u003cServiceAccountDelegationInfo.Types.FirstPartyPrincipal\u003e, IDeepCloneable\u003cServiceAccountDelegationInfo.Types.FirstPartyPrincipal\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Audit API class ServiceAccountDelegationInfo.Types.FirstPartyPrincipal.\n\nFirst party identity principal. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServiceAccountDelegationInfo.Types.FirstPartyPrincipal \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ServiceAccountDelegationInfo](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types)[FirstPartyPrincipal](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServiceAccountDelegationInfo](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types)[FirstPartyPrincipal](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServiceAccountDelegationInfo](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo)[Types](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types)[FirstPartyPrincipal](/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.ServiceAccountDelegationInfo.Types.FirstPartyPrincipal), [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### FirstPartyPrincipal()\n\n public FirstPartyPrincipal()\n\n### FirstPartyPrincipal(FirstPartyPrincipal)\n\n public FirstPartyPrincipal(ServiceAccountDelegationInfo.Types.FirstPartyPrincipal other)\n\nProperties\n----------\n\n### PrincipalEmail\n\n public string PrincipalEmail { get; set; }\n\nThe email address of a Google account.\n\n### ServiceMetadata\n\n public Struct ServiceMetadata { get; set; }\n\nMetadata about the service that uses the service account."]]