Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::ServiceAccountDelegationInfo.
Identity delegation history of an authenticated service account.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#principal_email
def principal_email() -> ::String
Returns
- (::String) — The email address of a Google account.
#principal_email=
def principal_email=(value) -> ::String
Parameter
- value (::String) — The email address of a Google account.
Returns
- (::String) — The email address of a Google account.
#principal_subject
def principal_subject() -> ::String
Returns
-
(::String) — A string representing the principal_subject associated with the identity.
As compared to
principal_email
, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will beprincipal://iam.googleapis.com/{identity pool name}/subjects/\\{subject}
except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy formatserviceAccount:{identity pool name}[{subject}]
#principal_subject=
def principal_subject=(value) -> ::String
Parameter
-
value (::String) — A string representing the principal_subject associated with the identity.
As compared to
principal_email
, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will beprincipal://iam.googleapis.com/{identity pool name}/subjects/\\{subject}
except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy formatserviceAccount:{identity pool name}[{subject}]
Returns
-
(::String) — A string representing the principal_subject associated with the identity.
As compared to
principal_email
, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will beprincipal://iam.googleapis.com/{identity pool name}/subjects/\\{subject}
except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy formatserviceAccount:{identity pool name}[{subject}]