Class: Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/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.
11241 11242 11243 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#principal_email ⇒ String
Corresponds to the JSON property principalEmail
11234 11235 11236 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11234 def principal_email @principal_email end |
#principal_subject ⇒ String
Corresponds to the JSON property principalSubject
11239 11240 11241 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11239 def principal_subject @principal_subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11246 11247 11248 11249 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11246 def update!(**args) @principal_email = args[:principal_email] if args.key?(:principal_email) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) end |