Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::ServiceAccountDelegationInfo (v0.27.0)

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

  • Object

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 be principal://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 format serviceAccount:{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 be principal://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 format serviceAccount:{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 be principal://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 format serviceAccount:{identity pool name}[{subject}]