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

Constructor Details

#initialize(**args) ⇒ ListForwardingAddressesResponse

Returns a new instance of ListForwardingAddressesResponse.



758
759
760
# File 'generated/google/apis/gmail_v1/classes.rb', line 758

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



756
757
758
# File 'generated/google/apis/gmail_v1/classes.rb', line 756

def forwarding_addresses
  @forwarding_addresses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



763
764
765
# File 'generated/google/apis/gmail_v1/classes.rb', line 763

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