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 |
Add a alias for the group
See: Admin Directory API Reference for directory.groups.aliases.insert
.
Synopsis
- type GroupsAliasesInsertResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> ("aliases" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Alias :> Post '[JSON] Alias)))))))
- groupsAliasesInsert :: Text -> Alias -> GroupsAliasesInsert
- data GroupsAliasesInsert
- gaiGroupKey :: Lens' GroupsAliasesInsert Text
- gaiPayload :: Lens' GroupsAliasesInsert Alias
REST Resource
type GroupsAliasesInsertResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> ("aliases" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Alias :> Post '[JSON] Alias))))))) Source #
A resource alias for directory.groups.aliases.insert
method which the
GroupsAliasesInsert
request conforms to.
Creating a Request
Creates a value of GroupsAliasesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsAliasesInsert Source #
Add a alias for the group
See: groupsAliasesInsert
smart constructor.
Instances
Request Lenses
gaiGroupKey :: Lens' GroupsAliasesInsert Text Source #
Email or immutable ID of the group
gaiPayload :: Lens' GroupsAliasesInsert Alias Source #
Multipart request metadata.