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 |
Watch for changes in user aliases list
See: Admin Directory API Reference for directory.users.aliases.watch
.
Synopsis
- type UsersAliasesWatchResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("aliases" :> ("watch" :> (QueryParam "event" UsersAliasesWatchEvent :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Channel :> Post '[JSON] Channel)))))))))
- usersAliasesWatch :: Channel -> Text -> UsersAliasesWatch
- data UsersAliasesWatch
- uawEvent :: Lens' UsersAliasesWatch (Maybe UsersAliasesWatchEvent)
- uawPayload :: Lens' UsersAliasesWatch Channel
- uawUserKey :: Lens' UsersAliasesWatch Text
REST Resource
type UsersAliasesWatchResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("aliases" :> ("watch" :> (QueryParam "event" UsersAliasesWatchEvent :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Channel :> Post '[JSON] Channel))))))))) Source #
A resource alias for directory.users.aliases.watch
method which the
UsersAliasesWatch
request conforms to.
Creating a Request
Creates a value of UsersAliasesWatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersAliasesWatch Source #
Watch for changes in user aliases list
See: usersAliasesWatch
smart constructor.
Instances
Request Lenses
uawEvent :: Lens' UsersAliasesWatch (Maybe UsersAliasesWatchEvent) Source #
Event on which subscription is intended (if subscribing)
uawPayload :: Lens' UsersAliasesWatch Channel Source #
Multipart request metadata.
uawUserKey :: Lens' UsersAliasesWatch Text Source #
Email or immutable ID of the user