Interface ServiceAccountDelegationInfoOrBuilder (2.32.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
TypeDescription
String

The principalEmail.

getPrincipalEmailBytes()

public abstract ByteString getPrincipalEmailBytes()

The email address of a Google account.

string principal_email = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for principalSubject.