gogol-admin-directory-0.3.0: Google Admin Directory SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Directory.Users.Photos.Get

Contents

Description

Retrieve photo of a user

See: Admin Directory API Reference for directory.users.photos.get.

Synopsis

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

usersPhotosGet Source #

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

Eq UsersPhotosGet Source # 
Data UsersPhotosGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersPhotosGet -> c UsersPhotosGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersPhotosGet #

toConstr :: UsersPhotosGet -> Constr #

dataTypeOf :: UsersPhotosGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UsersPhotosGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersPhotosGet) #

gmapT :: (forall b. Data b => b -> b) -> UsersPhotosGet -> UsersPhotosGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersPhotosGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersPhotosGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersPhotosGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersPhotosGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersPhotosGet -> m UsersPhotosGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersPhotosGet -> m UsersPhotosGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersPhotosGet -> m UsersPhotosGet #

Show UsersPhotosGet Source # 
Generic UsersPhotosGet Source # 

Associated Types

type Rep UsersPhotosGet :: * -> * #

GoogleRequest UsersPhotosGet Source # 
type Rep UsersPhotosGet Source # 
type Rep UsersPhotosGet = D1 (MetaData "UsersPhotosGet" "Network.Google.Resource.Directory.Users.Photos.Get" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" True) (C1 (MetaCons "UsersPhotosGet'" PrefixI True) (S1 (MetaSel (Just Symbol "_upgUserKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersPhotosGet Source # 
type Scopes UsersPhotosGet = (:) Symbol "https://www.googleapis.com/auth/admin.directory.user" ((:) Symbol "https://www.googleapis.com/auth/admin.directory.user.readonly" ([] Symbol))
type Rs UsersPhotosGet Source # 

Request Lenses

upgUserKey :: Lens' UsersPhotosGet Text Source #

Email or immutable Id of the user