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