Class: Google::Apis::GmailV1::ForwardingAddress

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

Instance Method Summary collapse

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_emailString

An email address to which messages can be forwarded. Corresponds to the JSON property forwardingEmail

Returns:

  • (String)


309
310
311
# File 'generated/google/apis/gmail_v1/classes.rb', line 309

def forwarding_email
  @forwarding_email
end

#verification_statusString

Indicates whether this address has been verified and is usable for forwarding. Read-only. Corresponds to the JSON property verificationStatus

Returns:

  • (String)


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