# Security Command Center v2 API - Class ServiceAccountDelegationInfo (1.4.0)

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

- [1.4.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.3.0/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.2.0/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.ServiceAccountDelegationInfo)

    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.

## Inheritance

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

## Implements

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

## 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.SecurityCenter.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)

## Assembly

Google.Cloud.SecurityCenter.V2.dll

## Constructors

### ServiceAccountDelegationInfo()

    public ServiceAccountDelegationInfo()

### ServiceAccountDelegationInfo(ServiceAccountDelegationInfo)

    public ServiceAccountDelegationInfo(ServiceAccountDelegationInfo other)

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

## Properties

### PrincipalEmail

    public string PrincipalEmail { get; set; }

The email address of a Google account.

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

### PrincipalSubject

    public string PrincipalSubject { get; set; }

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}]`

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