principalEmail = $principalEmail; } /** * @return string */ public function getPrincipalEmail() { return $this->principalEmail; } /** * 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}]` * * @param string $principalSubject */ public function setPrincipalSubject($principalSubject) { $this->principalSubject = $principalSubject; } /** * @return string */ public function getPrincipalSubject() { return $this->principalSubject; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo');