Package com.google.cloud.audit
Interface ServiceAccountDelegationInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceAccountDelegationInfo
,ServiceAccountDelegationInfo.Builder
public interface ServiceAccountDelegationInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceAccountDelegationInfo.AuthorityCase
getAuthorityCase()
ServiceAccountDelegationInfo.FirstPartyPrincipal
getFirstPartyPrincipal()
First party (Google) identity as the real authority.ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
getFirstPartyPrincipalOrBuilder()
First party (Google) identity as the real authority.java.lang.String
getPrincipalSubject()
A string representing the principal_subject associated with the identity.com.google.protobuf.ByteString
getPrincipalSubjectBytes()
A string representing the principal_subject associated with the identity.ServiceAccountDelegationInfo.ThirdPartyPrincipal
getThirdPartyPrincipal()
Third party identity as the real authority.ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder
getThirdPartyPrincipalOrBuilder()
Third party identity as the real authority.boolean
hasFirstPartyPrincipal()
First party (Google) identity as the real authority.boolean
hasThirdPartyPrincipal()
Third party identity as the real authority.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPrincipalSubject
java.lang.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:
- The principalSubject.
-
getPrincipalSubjectBytes
com.google.protobuf.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:
- The bytes for principalSubject.
-
hasFirstPartyPrincipal
boolean hasFirstPartyPrincipal()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
- Returns:
- Whether the firstPartyPrincipal field is set.
-
getFirstPartyPrincipal
ServiceAccountDelegationInfo.FirstPartyPrincipal getFirstPartyPrincipal()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
- Returns:
- The firstPartyPrincipal.
-
getFirstPartyPrincipalOrBuilder
ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder getFirstPartyPrincipalOrBuilder()
First party (Google) identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal first_party_principal = 1;
-
hasThirdPartyPrincipal
boolean hasThirdPartyPrincipal()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
- Returns:
- Whether the thirdPartyPrincipal field is set.
-
getThirdPartyPrincipal
ServiceAccountDelegationInfo.ThirdPartyPrincipal getThirdPartyPrincipal()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
- Returns:
- The thirdPartyPrincipal.
-
getThirdPartyPrincipalOrBuilder
ServiceAccountDelegationInfo.ThirdPartyPrincipalOrBuilder getThirdPartyPrincipalOrBuilder()
Third party identity as the real authority.
.google.cloud.audit.ServiceAccountDelegationInfo.ThirdPartyPrincipal third_party_principal = 2;
-
getAuthorityCase
ServiceAccountDelegationInfo.AuthorityCase getAuthorityCase()
-
-