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
Modifier and TypeMethodDescriptionFirst party (Google) identity as the real authority.First party (Google) identity as the real authority.A string representing the principal_subject associated with the identity.com.google.protobuf.ByteString
A string representing the principal_subject associated with the identity.Third party identity as the real authority.Third party identity as the real authority.boolean
First party (Google) identity as the real authority.boolean
Third party identity as the real authority.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPrincipalSubject
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()
-