Class: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicecontrol_v1/classes.rb,
lib/google/apis/servicecontrol_v1/representations.rb,
lib/google/apis/servicecontrol_v1/representations.rb
Overview
Identity delegation history of an authenticated service account.
Instance Attribute Summary collapse
-
#first_party_principal ⇒ Google::Apis::ServicecontrolV1::FirstPartyPrincipal
First party identity principal.
-
#principal_subject ⇒ String
A string representing the principal_subject associated with the identity.
-
#third_party_principal ⇒ Google::Apis::ServicecontrolV1::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.
2274 2275 2276 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 2274 def initialize(**args) update!(**args) end |
Instance Attribute Details
#first_party_principal ⇒ Google::Apis::ServicecontrolV1::FirstPartyPrincipal
First party identity principal.
Corresponds to the JSON property firstPartyPrincipal
2258 2259 2260 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 2258 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`
2267 2268 2269 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 2267 def principal_subject @principal_subject end |
#third_party_principal ⇒ Google::Apis::ServicecontrolV1::ThirdPartyPrincipal
Third party identity principal.
Corresponds to the JSON property thirdPartyPrincipal
2272 2273 2274 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 2272 def third_party_principal @third_party_principal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2279 2280 2281 2282 2283 |
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 2279 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 |