Class: Google::Apis::GmailV1::ListForwardingAddressesResponse
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::ListForwardingAddressesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gmail_v1/classes.rb,
lib/google/apis/gmail_v1/representations.rb,
lib/google/apis/gmail_v1/representations.rb
Overview
Response for the ListForwardingAddresses method.
Instance Attribute Summary collapse
-
#forwarding_addresses ⇒ Array<Google::Apis::GmailV1::ForwardingAddress>
List of addresses that may be used for forwarding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListForwardingAddressesResponse
constructor
A new instance of ListForwardingAddressesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListForwardingAddressesResponse
Returns a new instance of ListForwardingAddressesResponse.
1020 1021 1022 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1020 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_addresses ⇒ Array<Google::Apis::GmailV1::ForwardingAddress>
List of addresses that may be used for forwarding.
Corresponds to the JSON property forwardingAddresses
1018 1019 1020 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1018 def forwarding_addresses @forwarding_addresses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1025 1026 1027 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1025 def update!(**args) @forwarding_addresses = args[:forwarding_addresses] if args.key?(:forwarding_addresses) end |