Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Overview
Identity delegation history of an authenticated service account.
Instance Attribute Summary collapse
-
#principal_email ⇒ String
The email address of a Google account.
-
#principal_subject ⇒ String
A string representing the principal_subject associated with the identity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
constructor
A new instance of GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
Returns a new instance of GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo.
6804 6805 6806 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#principal_email ⇒ String
The email address of a Google account.
Corresponds to the JSON property principalEmail
6791 6792 6793 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6791 def principal_email @principal_email end |
#principal_subject ⇒ 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
]
Corresponds to the JSON property
principalSubject`
6802 6803 6804 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6802 def principal_subject @principal_subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6809 6810 6811 6812 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6809 def update!(**args) @principal_email = args[:principal_email] if args.key?(:principal_email) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) end |