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
| 289 290 291 | # File 'generated/google/apis/gmail_v1/classes.rb', line 289 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
| 281 282 283 | # File 'generated/google/apis/gmail_v1/classes.rb', line 281 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
| 287 288 289 | # File 'generated/google/apis/gmail_v1/classes.rb', line 287 def verification_status @verification_status end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 294 295 296 297 | # File 'generated/google/apis/gmail_v1/classes.rb', line 294 def update!(**args) @forwarding_email = args[:forwarding_email] if args.key?(:forwarding_email) @verification_status = args[:verification_status] if args.key?(:verification_status) end |