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.
See: Cloud Identity API Reference for cloudidentity.groups.create
.
Synopsis
- type GroupsCreateResource = "v1" :> ("groups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Post '[JSON] Operation))))))))
- groupsCreate :: Group -> GroupsCreate
- data GroupsCreate
- gcXgafv :: Lens' GroupsCreate (Maybe Xgafv)
- gcUploadProtocol :: Lens' GroupsCreate (Maybe Text)
- gcAccessToken :: Lens' GroupsCreate (Maybe Text)
- gcUploadType :: Lens' GroupsCreate (Maybe Text)
- gcPayload :: Lens' GroupsCreate Group
- gcCallback :: Lens' GroupsCreate (Maybe Text)
REST Resource
type GroupsCreateResource = "v1" :> ("groups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Post '[JSON] Operation)))))))) Source #
A resource alias for cloudidentity.groups.create
method which the
GroupsCreate
request conforms to.
Creating a Request
Creates a value of GroupsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsCreate Source #
Creates a Group.
See: groupsCreate
smart constructor.
Instances
Request Lenses
gcUploadProtocol :: Lens' GroupsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gcAccessToken :: Lens' GroupsCreate (Maybe Text) Source #
OAuth access token.
gcUploadType :: Lens' GroupsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gcCallback :: Lens' GroupsCreate (Maybe Text) Source #
JSONP