Class: Google::Apis::ServicecontrolV2::ServiceAccountDelegationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicecontrol_v2/classes.rb,
generated/google/apis/servicecontrol_v2/representations.rb,
generated/google/apis/servicecontrol_v2/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.



1043
1044
1045
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 1043

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

Instance Attribute Details

#first_party_principalGoogle::Apis::ServicecontrolV2::FirstPartyPrincipal

First party identity principal. Corresponds to the JSON property firstPartyPrincipal



1030
1031
1032
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 1030

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)


1036
1037
1038
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 1036

def principal_subject
  @principal_subject
end

#third_party_principalGoogle::Apis::ServicecontrolV2::ThirdPartyPrincipal

Third party identity principal. Corresponds to the JSON property thirdPartyPrincipal



1041
1042
1043
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 1041

def third_party_principal
  @third_party_principal
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1048
1049
1050
1051
1052
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 1048

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