public sealed class ServiceAccountDelegationInfo : IMessage<ServiceAccountDelegationInfo>, IEquatable<ServiceAccountDelegationInfo>, IDeepCloneable<ServiceAccountDelegationInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class ServiceAccountDelegationInfo.
Identity delegation history of an authenticated service account.
A string representing the principal_subject associated with the identity.
As compared to principal_email, supports principals that aren't
associated with email addresses, such as third party principals. For most
identities, the format will be principal://iam.googleapis.com/{identity
pool name}/subjects/{subject} except for some GKE identities
(GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy
format serviceAccount:{identity pool name}[{subject}]
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eServiceAccountDelegationInfo\u003c/code\u003e class within the Google Cloud Security Center v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAccountDelegationInfo\u003c/code\u003e class tracks the identity delegation history of an authenticated service account.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, extending functionality and integration capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors and two properties: \u003ccode\u003ePrincipalEmail\u003c/code\u003e which holds the email of a Google account, and \u003ccode\u003ePrincipalSubject\u003c/code\u003e, which supports various principal formats.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e1.1.0\u003c/code\u003e, and it can be found in the namespace \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class ServiceAccountDelegationInfo (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo) \n\n public sealed class ServiceAccountDelegationInfo : IMessage\u003cServiceAccountDelegationInfo\u003e, IEquatable\u003cServiceAccountDelegationInfo\u003e, IDeepCloneable\u003cServiceAccountDelegationInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class ServiceAccountDelegationInfo.\n\nIdentity delegation history of an authenticated service account. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServiceAccountDelegationInfo \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.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ServiceAccountDelegationInfo](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ServiceAccountDelegationInfo](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo), [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.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### ServiceAccountDelegationInfo()\n\n public ServiceAccountDelegationInfo()\n\n### ServiceAccountDelegationInfo(ServiceAccountDelegationInfo)\n\n public ServiceAccountDelegationInfo(ServiceAccountDelegationInfo other)\n\nProperties\n----------\n\n### PrincipalEmail\n\n public string PrincipalEmail { get; set; }\n\nThe email address of a Google account.\n\n### PrincipalSubject\n\n public string PrincipalSubject { get; set; }\n\nA string representing the principal_subject associated with the identity.\nAs compared to `principal_email`, supports principals that aren't\nassociated with email addresses, such as third party principals. For most\nidentities, the format will be `principal://iam.googleapis.com/{identity\npool name}/subjects/{subject}` except for some GKE identities\n(GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy\nformat `serviceAccount:{identity pool name}[{subject}]`"]]