class Google::Apis::GmailV1::AutoForwarding
Auto-forwarding settings for an account.
Attributes
disposition[RW]
The state that a message should be left in after it has been forwarded. Corresponds to the JSON property `disposition` @return [String]
email_address[RW]
Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses. Corresponds to the JSON property `emailAddress` @return [String]
enabled[RW]
Whether all incoming mail is automatically forwarded to another address. Corresponds to the JSON property `enabled` @return [Boolean]
enabled?[RW]
Whether all incoming mail is automatically forwarded to another address. Corresponds to the JSON property `enabled` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gmail_v1/classes.rb, line 46 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/gmail_v1/classes.rb, line 51 def update!(**args) @disposition = args[:disposition] if args.key?(:disposition) @email_address = args[:email_address] if args.key?(:email_address) @enabled = args[:enabled] if args.key?(:enabled) end