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 |
Creates a User resource in the specified project using the data included in the request.
See: Cloud User Accounts API Reference for clouduseraccounts.users.insert
.
- type UsersInsertResource = "clouduseraccounts" :> ("beta" :> ("projects" :> (Capture "project" Text :> ("global" :> ("users" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Post '[JSON] Operation)))))))
- usersInsert :: Text -> User -> UsersInsert
- data UsersInsert
- uiProject :: Lens' UsersInsert Text
- uiPayload :: Lens' UsersInsert User
REST Resource
type UsersInsertResource = "clouduseraccounts" :> ("beta" :> ("projects" :> (Capture "project" Text :> ("global" :> ("users" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Post '[JSON] Operation))))))) Source #
A resource alias for clouduseraccounts.users.insert
method which the
UsersInsert
request conforms to.
Creating a Request
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 #
Creates a User resource in the specified project using the data included in the request.
See: usersInsert
smart constructor.