| 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 |
Network.Google.Resource.Directory.Groups.Insert
Description
Create Group
See: Admin Directory API Reference for directory.groups.insert.
Synopsis
- type GroupsInsertResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Post '[JSON] Group)))))
- groupsInsert :: Group -> GroupsInsert
- data GroupsInsert
- giPayload :: Lens' GroupsInsert Group
REST Resource
type GroupsInsertResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Post '[JSON] Group))))) Source #
A resource alias for directory.groups.insert method which the
GroupsInsert request conforms to.
Creating a Request
Arguments
| :: Group | |
| -> GroupsInsert |
Creates a value of GroupsInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsInsert Source #
Create Group
See: groupsInsert smart constructor.