Class: Google::Apis::GmailV1::ForwardingAddress
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::ForwardingAddress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gmail_v1/classes.rb,
generated/google/apis/gmail_v1/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ForwardingAddress
Returns a new instance of ForwardingAddress
317 318 319 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 317 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
309 310 311 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 309 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
315 316 317 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 315 def verification_status @verification_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
322 323 324 325 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 322 def update!(**args) @forwarding_email = args[:forwarding_email] if args.key?(:forwarding_email) @verification_status = args[:verification_status] if args.key?(:verification_status) end |