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.
1190 1191 1192 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1190 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
1174 1175 1176 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1174 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 property
principalSubject`
1183 1184 1185 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1183 def principal_subject @principal_subject end |
#third_party_principal ⇒ Google::Apis::ServicecontrolV2::ThirdPartyPrincipal
Third party identity principal.
Corresponds to the JSON property thirdPartyPrincipal
1188 1189 1190 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1188 def third_party_principal @third_party_principal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1195 1196 1197 1198 1199 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1195 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 |