Interface ServiceAccountDelegationInfoOrBuilder (2.7.4)

public interface ServiceAccountDelegationInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthorityCase()

public abstract ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()
Returns
TypeDescription
ServiceAccountDelegationInfo.AuthorityCase

getFirstPartyPrincipal()

public abstract ServiceAccountDelegationInfo.FirstPartyPrincipal getFirstPartyPrincipal()

First party (Google) identity as the real authority.

.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipal

The firstPartyPrincipal.

getFirstPartyPrincipalOrBuilder()

public abstract ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder getFirstPartyPrincipalOrBuilder()

First party (Google) identity as the real authority.

.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder

getPrincipalSubject()

public abstract String getPrincipalSubject()

A string representing the principal_subject associated with the identity. For most identities, the format will be principal://iam.googleapis.com/{identity pool name}/subject/{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 = 3;

Returns
TypeDescription
String

The principalSubject.

getPrincipalSubjectBytes()

public abstract ByteString getPrincipalSubjectBytes()

A string representing the principal_subject associated with the identity. For most identities, the format will be principal://iam.googleapis.com/{identity pool name}/subject/{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 = 3;

Returns
TypeDescription
ByteString

The bytes for principalSubject.

getThirdPartyPrincipal()

public abstract ServiceAccountDelegationInfo.ThirdPartyPrincipal getThirdPartyPrincipal()

Third party identity as the real authority.

.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
ServiceAccountDelegationInfo.ThirdPartyPrincipal

The thirdPartyPrincipal.

getThirdPartyPrincipalOrBuilder()

public abstract ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder getThirdPartyPrincipalOrBuilder()

Third party identity as the real authority.

.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder

hasFirstPartyPrincipal()

public abstract boolean hasFirstPartyPrincipal()

First party (Google) identity as the real authority.

.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;

Returns
TypeDescription
boolean

Whether the firstPartyPrincipal field is set.

hasThirdPartyPrincipal()

public abstract boolean hasThirdPartyPrincipal()

Third party identity as the real authority.

.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;

Returns
TypeDescription
boolean

Whether the thirdPartyPrincipal field is set.