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



669
670
671
# File 'generated/google/apis/gmail_v1/classes.rb', line 669

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



667
668
669
# File 'generated/google/apis/gmail_v1/classes.rb', line 667

def forwarding_addresses
  @forwarding_addresses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



674
675
676
# File 'generated/google/apis/gmail_v1/classes.rb', line 674

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