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



617
618
619
# File 'generated/google/apis/gmail_v1/classes.rb', line 617

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



615
616
617
# File 'generated/google/apis/gmail_v1/classes.rb', line 615

def forwarding_addresses
  @forwarding_addresses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



622
623
624
# File 'generated/google/apis/gmail_v1/classes.rb', line 622

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