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 |
Retrieve photo of a user
See: Admin Directory API Reference for directory.users.photos.get
.
Synopsis
- type UsersPhotosGetResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("photos" :> ("thumbnail" :> (QueryParam "alt" AltJSON :> Get '[JSON] UserPhoto)))))))
- usersPhotosGet :: Text -> UsersPhotosGet
- data UsersPhotosGet
- upgUserKey :: Lens' UsersPhotosGet Text
REST Resource
type UsersPhotosGetResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("photos" :> ("thumbnail" :> (QueryParam "alt" AltJSON :> Get '[JSON] UserPhoto))))))) Source #
A resource alias for directory.users.photos.get
method which the
UsersPhotosGet
request conforms to.
Creating a Request
Creates a value of UsersPhotosGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersPhotosGet Source #
Retrieve photo of a user
See: usersPhotosGet
smart constructor.
Instances
Request Lenses
upgUserKey :: Lens' UsersPhotosGet Text Source #
Email or immutable ID of the user