Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
- 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) ⇒ GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
constructor
A new instance of GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo
Returns a new instance of GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo.
9960 9961 9962 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#principal_email ⇒ String
Corresponds to the JSON property principalEmail
9953 9954 9955 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9953 def principal_email @principal_email end |
#principal_subject ⇒ String
Corresponds to the JSON property principalSubject
9958 9959 9960 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9958 def principal_subject @principal_subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9965 9966 9967 9968 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9965 def update!(**args) @principal_email = args[:principal_email] if args.key?(:principal_email) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) end |