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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceAccountDelegationInfo

Returns a new instance of ServiceAccountDelegationInfo.



1070
1071
1072
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1070

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



1057
1058
1059
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1057

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)


1063
1064
1065
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1063

def principal_subject
  @principal_subject
end

#third_party_principalGoogle::Apis::ServicecontrolV2::ThirdPartyPrincipal

Third party identity principal. Corresponds to the JSON property thirdPartyPrincipal



1068
1069
1070
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1068

def third_party_principal
  @third_party_principal
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1075
1076
1077
1078
1079
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 1075

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