Class: Google::Apis::AlertcenterV1beta1::OutOfDomainForwarding

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_emailString

Email of the actor who triggered the alert. Corresponds to the JSON property actorEmail

Returns:

  • (String)


1140
1141
1142
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1140

def actor_email
  @actor_email
end

#enable_timeString

The time the email forwarding was enabled Corresponds to the JSON property enableTime

Returns:

  • (String)


1145
1146
1147
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1145

def enable_time
  @enable_time
end

#forwardee_emailString

Email to which emails are being forwarded Corresponds to the JSON property forwardeeEmail

Returns:

  • (String)


1150
1151
1152
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1150

def forwardee_email
  @forwardee_email
end

#ip_addressString

IP address of the user while enabling forwarding Corresponds to the JSON property ipAddress

Returns:

  • (String)


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