Interface ServiceAccountDelegationInfoOrBuilder

    • 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.
      • 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.