Class: Google::Apis::GmailV1::ListForwardingAddressesResponse

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

Response for the ListForwardingAddresses method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListForwardingAddressesResponse

Returns a new instance of ListForwardingAddressesResponse



716
717
718
# File 'generated/google/apis/gmail_v1/classes.rb', line 716

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#forwarding_addressesArray<Google::Apis::GmailV1::ForwardingAddress>

List of addresses that may be used for forwarding. Corresponds to the JSON property forwardingAddresses



714
715
716
# File 'generated/google/apis/gmail_v1/classes.rb', line 714

def forwarding_addresses
  @forwarding_addresses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



721
722
723
# File 'generated/google/apis/gmail_v1/classes.rb', line 721

def update!(**args)
  @forwarding_addresses = args[:forwarding_addresses] if args.key?(:forwarding_addresses)
end