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 |
create user.
See: Admin Directory API Reference for directory.users.insert
.
Synopsis
- type UsersInsertResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Post '[JSON] User)))))
- usersInsert :: User -> UsersInsert
- data UsersInsert
- uiPayload :: Lens' UsersInsert User
REST Resource
type UsersInsertResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Post '[JSON] User))))) Source #
A resource alias for directory.users.insert
method which the
UsersInsert
request conforms to.
Creating a Request
:: User | |
-> UsersInsert |
Creates a value of UsersInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersInsert Source #
create user.
See: usersInsert
smart constructor.