Class: Google::Apis::AlertcenterV1beta1::OutOfDomainForwarding
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::OutOfDomainForwarding
- 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
An alert that gets triggered when a user enables autoforwarding to an email which is outside of its domain
Instance Attribute Summary collapse
-
#actor_email ⇒ String
Email of the actor who triggered the alert.
-
#enable_time ⇒ String
The time the email forwarding was enabled Corresponds to the JSON property
enableTime. -
#forwardee_email ⇒ String
Email to which emails are being forwarded Corresponds to the JSON property
forwardeeEmail. -
#ip_address ⇒ String
IP address of the user while enabling forwarding Corresponds to the JSON property
ipAddress.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OutOfDomainForwarding
constructor
A new instance of OutOfDomainForwarding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OutOfDomainForwarding
Returns a new instance of OutOfDomainForwarding.
1157 1158 1159 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actor_email ⇒ String
Email of the actor who triggered the alert.
Corresponds to the JSON property actorEmail
1140 1141 1142 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1140 def actor_email @actor_email end |
#enable_time ⇒ String
The time the email forwarding was enabled
Corresponds to the JSON property enableTime
1145 1146 1147 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1145 def enable_time @enable_time end |
#forwardee_email ⇒ String
Email to which emails are being forwarded
Corresponds to the JSON property forwardeeEmail
1150 1151 1152 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1150 def forwardee_email @forwardee_email end |
#ip_address ⇒ String
IP address of the user while enabling forwarding
Corresponds to the JSON property ipAddress
1155 1156 1157 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1155 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1162 1163 1164 1165 1166 1167 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1162 def update!(**args) @actor_email = args[:actor_email] if args.key?(:actor_email) @enable_time = args[:enable_time] if args.key?(:enable_time) @forwardee_email = args[:forwardee_email] if args.key?(:forwardee_email) @ip_address = args[:ip_address] if args.key?(:ip_address) end |