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 |
List all aliases for a user
See: Admin Directory API Reference for directory.users.aliases.list
.
Synopsis
- type UsersAliasesListResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("aliases" :> (QueryParam "event" UsersAliasesListEvent :> (QueryParam "alt" AltJSON :> Get '[JSON] Aliases)))))))
- usersAliasesList :: Text -> UsersAliasesList
- data UsersAliasesList
- ualEvent :: Lens' UsersAliasesList (Maybe UsersAliasesListEvent)
- ualUserKey :: Lens' UsersAliasesList Text
REST Resource
type UsersAliasesListResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("aliases" :> (QueryParam "event" UsersAliasesListEvent :> (QueryParam "alt" AltJSON :> Get '[JSON] Aliases))))))) Source #
A resource alias for directory.users.aliases.list
method which the
UsersAliasesList
request conforms to.
Creating a Request
Creates a value of UsersAliasesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersAliasesList Source #
List all aliases for a user
See: usersAliasesList
smart constructor.
Instances
Request Lenses
ualEvent :: Lens' UsersAliasesList (Maybe UsersAliasesListEvent) Source #
Event on which subscription is intended (if subscribing)
ualUserKey :: Lens' UsersAliasesList Text Source #
Email or immutable ID of the user