gogol-admin-directory-0.4.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 # 
Instance details

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

Data UsersPhotosGet Source # 
Instance details

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

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 # 
Instance details

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

Generic UsersPhotosGet Source # 
Instance details

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

Associated Types

type Rep UsersPhotosGet :: Type -> Type #

GoogleRequest UsersPhotosGet Source # 
Instance details

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

Associated Types

type Rs UsersPhotosGet :: Type #

type Scopes UsersPhotosGet :: [Symbol] #

type Rep UsersPhotosGet Source # 
Instance details

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

type Rep UsersPhotosGet = D1 (MetaData "UsersPhotosGet" "Network.Google.Resource.Directory.Users.Photos.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" True) (C1 (MetaCons "UsersPhotosGet'" PrefixI True) (S1 (MetaSel (Just "_upgUserKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersPhotosGet Source # 
Instance details

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

type Scopes UsersPhotosGet = "https://www.googleapis.com/auth/admin.directory.user" ': ("https://www.googleapis.com/auth/admin.directory.user.readonly" ': ([] :: [Symbol]))
type Rs UsersPhotosGet Source # 
Instance details

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

Request Lenses

upgUserKey :: Lens' UsersPhotosGet Text Source #

Email or immutable ID of the user