Class: Google::Apis::GmailV1::ForwardingAddress
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::ForwardingAddress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gmail_v1/classes.rb,
lib/google/apis/gmail_v1/representations.rb,
lib/google/apis/gmail_v1/representations.rb
Overview
Settings for a forwarding address.
Instance Attribute Summary collapse
-
#forwarding_email ⇒ String
An email address to which messages can be forwarded.
-
#verification_status ⇒ String
Indicates whether this address has been verified and is usable for forwarding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ForwardingAddress
constructor
A new instance of ForwardingAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ForwardingAddress
Returns a new instance of ForwardingAddress.
470 471 472 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_email ⇒ String
An email address to which messages can be forwarded.
Corresponds to the JSON property forwardingEmail
462 463 464 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 462 def forwarding_email @forwarding_email end |
#verification_status ⇒ String
Indicates whether this address has been verified and is usable for forwarding.
Read-only.
Corresponds to the JSON property verificationStatus
468 469 470 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 468 def verification_status @verification_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
475 476 477 478 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 475 def update!(**args) @forwarding_email = args[:forwarding_email] if args.key?(:forwarding_email) @verification_status = args[:verification_status] if args.key?(:verification_status) end |