Class: Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicecontrol_v2/classes.rb,
lib/google/apis/servicecontrol_v2/representations.rb,
lib/google/apis/servicecontrol_v2/representations.rb
Overview
Identity delegation history of an authenticated service account.
Instance Attribute Summary collapse
-
#first_party_principal ⇒ Google::Apis::ServicecontrolV2::FirstPartyPrincipal
First party identity principal.
-
#principal_subject ⇒ String
A string representing the principal_subject associated with the identity.
-
#third_party_principal ⇒ Google::Apis::ServicecontrolV2::ThirdPartyPrincipal
Third party identity principal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceAccountDelegationInfo
constructor
A new instance of ServiceAccountDelegationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceAccountDelegationInfo
Returns a new instance of ServiceAccountDelegationInfo.
1159 1160 1161 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#first_party_principal ⇒ Google::Apis::ServicecontrolV2::FirstPartyPrincipal
First party identity principal.
Corresponds to the JSON property firstPartyPrincipal
1143 1144 1145 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1143 def first_party_principal @first_party_principal end |
#principal_subject ⇒ String
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]
Corresponds to the JSON propertyprincipalSubject`
1152 1153 1154 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1152 def principal_subject @principal_subject end |
#third_party_principal ⇒ Google::Apis::ServicecontrolV2::ThirdPartyPrincipal
Third party identity principal.
Corresponds to the JSON property thirdPartyPrincipal
1157 1158 1159 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1157 def third_party_principal @third_party_principal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1164 1165 1166 1167 1168 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1164 def update!(**args) @first_party_principal = args[:first_party_principal] if args.key?(:first_party_principal) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal) end |