Interface ServiceAccountDelegationInfoOrBuilder (2.52.0)

public interface ServiceAccountDelegationInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrincipalEmail()

public abstract String getPrincipalEmail()

The email address of a Google account.

string principal_email = 1;

Returns
Type Description
String

The principalEmail.

getPrincipalEmailBytes()

public abstract ByteString getPrincipalEmailBytes()

The email address of a Google account.

string principal_email = 1;

Returns
Type Description
ByteString

The bytes for principalEmail.

getPrincipalSubject()

public abstract String 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}]

string principal_subject = 2;

Returns
Type Description
String

The principalSubject.

getPrincipalSubjectBytes()

public abstract ByteString getPrincipalSubjectBytes()

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

string principal_subject = 2;

Returns
Type Description
ByteString

The bytes for principalSubject.