Class: Google::Apis::AlertcenterV1beta1::PrimaryAdminChangedEvent
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::PrimaryAdminChangedEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder
Instance Attribute Summary collapse
-
#domain ⇒ String
domain in which actioned occurred Corresponds to the JSON property
domain
. -
#previous_admin_email ⇒ String
Email of person who was the primary admin before the action Corresponds to the JSON property
previousAdminEmail
. -
#updated_admin_email ⇒ String
Email of person who is the primary admin after the action Corresponds to the JSON property
updatedAdminEmail
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrimaryAdminChangedEvent
constructor
A new instance of PrimaryAdminChangedEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrimaryAdminChangedEvent
Returns a new instance of PrimaryAdminChangedEvent.
1659 1660 1661 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain ⇒ String
domain in which actioned occurred
Corresponds to the JSON property domain
1647 1648 1649 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1647 def domain @domain end |
#previous_admin_email ⇒ String
Email of person who was the primary admin before the action
Corresponds to the JSON property previousAdminEmail
1652 1653 1654 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1652 def previous_admin_email @previous_admin_email end |
#updated_admin_email ⇒ String
Email of person who is the primary admin after the action
Corresponds to the JSON property updatedAdminEmail
1657 1658 1659 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1657 def updated_admin_email @updated_admin_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1664 1665 1666 1667 1668 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1664 def update!(**args) @domain = args[:domain] if args.key?(:domain) @previous_admin_email = args[:previous_admin_email] if args.key?(:previous_admin_email) @updated_admin_email = args[:updated_admin_email] if args.key?(:updated_admin_email) end |