Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class ServiceAccountDelegationInfo.
Identity delegation history of an authenticated service account.
Generated from protobuf message google.cloud.securitycenter.v1.ServiceAccountDelegationInfo
Namespace
Google \ Cloud \ SecurityCenter \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ principal_email
string
The email address of a Google account.
↳ principal_subject
string
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}]
getPrincipalEmail
The email address of a Google account.
Returns
Type
Description
string
setPrincipalEmail
The email address of a Google account.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPrincipalSubject
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}]
Returns
Type
Description
string
setPrincipalSubject
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-09-09 UTC."],[],[],null,["# Google Cloud Security Command Center V1 Client - Class ServiceAccountDelegationInfo (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V1.ServiceAccountDelegationInfo)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V1.ServiceAccountDelegationInfo)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V1.ServiceAccountDelegationInfo)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V1.ServiceAccountDelegationInfo)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V1.ServiceAccountDelegationInfo)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V1.ServiceAccountDelegationInfo)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V1.ServiceAccountDelegationInfo)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V1.ServiceAccountDelegationInfo)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V1.ServiceAccountDelegationInfo)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V1.ServiceAccountDelegationInfo)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V1.ServiceAccountDelegationInfo)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V1.ServiceAccountDelegationInfo)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V1.ServiceAccountDelegationInfo)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V1.ServiceAccountDelegationInfo)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V1.ServiceAccountDelegationInfo)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V1.ServiceAccountDelegationInfo)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V1.ServiceAccountDelegationInfo)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V1.ServiceAccountDelegationInfo) \nReference documentation and code samples for the Google Cloud Security Command Center V1 Client class ServiceAccountDelegationInfo.\n\nIdentity delegation history of an authenticated service account.\n\nGenerated from protobuf message `google.cloud.securitycenter.v1.ServiceAccountDelegationInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPrincipalEmail\n\nThe email address of a Google account.\n\n### setPrincipalEmail\n\nThe email address of a Google account.\n\n### getPrincipalSubject\n\nA string representing the principal_subject associated with the identity.\n\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}]`\n\n### setPrincipalSubject\n\nA string representing the principal_subject associated with the identity.\n\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}]`"]]