Interface ServiceAccountDelegationInfoOrBuilder (2.44.0)

public interface ServiceAccountDelegationInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthorityCase()

public abstract ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the thirdPartyPrincipal field is set.