Class: Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#principal_email ⇒ String
Corresponds to the JSON property
principalEmail. -
#principal_subject ⇒ String
Corresponds to the JSON property
principalSubject.
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.
12897 12898 12899 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12897 def initialize(**args) update!(**args) end |
Instance Attribute Details
#principal_email ⇒ String
Corresponds to the JSON property principalEmail
12890 12891 12892 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12890 def principal_email @principal_email end |
#principal_subject ⇒ String
Corresponds to the JSON property principalSubject
12895 12896 12897 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12895 def principal_subject @principal_subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12902 12903 12904 12905 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12902 def update!(**args) @principal_email = args[:principal_email] if args.key?(:principal_email) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) end |