Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom "from" aliases.
See: Gmail API Reference for gmail.users.settings.sendAs.list
.
Synopsis
- type UsersSettingsSendAsListResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSendAsResponse))))))
- usersSettingsSendAsList :: UsersSettingsSendAsList
- data UsersSettingsSendAsList
- ussalUserId :: Lens' UsersSettingsSendAsList Text
REST Resource
type UsersSettingsSendAsListResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSendAsResponse)))))) Source #
A resource alias for gmail.users.settings.sendAs.list
method which the
UsersSettingsSendAsList
request conforms to.
Creating a Request
usersSettingsSendAsList :: UsersSettingsSendAsList Source #
Creates a value of UsersSettingsSendAsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsSendAsList Source #
Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom "from" aliases.
See: usersSettingsSendAsList
smart constructor.
Instances
Request Lenses
ussalUserId :: Lens' UsersSettingsSendAsList Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.