Class: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb

Overview

Identity delegation history of an authenticated service account.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceAccountDelegationInfo

Returns a new instance of ServiceAccountDelegationInfo.



2232
2233
2234
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2232

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#first_party_principalGoogle::Apis::ServicecontrolV1::FirstPartyPrincipal

First party identity principal. Corresponds to the JSON property firstPartyPrincipal



2219
2220
2221
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2219

def first_party_principal
  @first_party_principal
end

#principal_subjectString

A string representing the principal_subject associated with the identity. See go/3pical for more info on how principal_subject is formatted. Corresponds to the JSON property principalSubject

Returns:

  • (String)


2225
2226
2227
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2225

def principal_subject
  @principal_subject
end

#third_party_principalGoogle::Apis::ServicecontrolV1::ThirdPartyPrincipal

Third party identity principal. Corresponds to the JSON property thirdPartyPrincipal



2230
2231
2232
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2230

def third_party_principal
  @third_party_principal
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2237
2238
2239
2240
2241
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2237

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