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.Get

Contents

Description

retrieve user

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

Synopsis

REST Resource

type UsersGetResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> (QueryParam "viewType" UsersGetViewType :> (QueryParam "customFieldMask" Text :> (QueryParam "projection" UsersGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] User)))))))) Source #

A resource alias for directory.users.get method which the UsersGet request conforms to.

Creating a Request

usersGet Source #

Arguments

:: Text

ugUserKey

-> UsersGet 

Creates a value of UsersGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UsersGet Source #

retrieve user

See: usersGet smart constructor.

Instances
Eq UsersGet Source # 
Instance details

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

Data UsersGet Source # 
Instance details

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

Methods

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

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

toConstr :: UsersGet -> Constr #

dataTypeOf :: UsersGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersGet Source # 
Instance details

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

Generic UsersGet Source # 
Instance details

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

Associated Types

type Rep UsersGet :: Type -> Type #

Methods

from :: UsersGet -> Rep UsersGet x #

to :: Rep UsersGet x -> UsersGet #

GoogleRequest UsersGet Source # 
Instance details

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

Associated Types

type Rs UsersGet :: Type #

type Scopes UsersGet :: [Symbol] #

type Rep UsersGet Source # 
Instance details

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

type Rep UsersGet = D1 (MetaData "UsersGet" "Network.Google.Resource.Directory.Users.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "UsersGet'" PrefixI True) ((S1 (MetaSel (Just "_ugViewType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UsersGetViewType) :*: S1 (MetaSel (Just "_ugCustomFieldMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ugProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UsersGetProjection) :*: S1 (MetaSel (Just "_ugUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersGet Source # 
Instance details

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

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

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

Request Lenses

ugViewType :: Lens' UsersGet UsersGetViewType Source #

Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the user.

ugCustomFieldMask :: Lens' UsersGet (Maybe Text) Source #

Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.

ugProjection :: Lens' UsersGet UsersGetProjection Source #

What subset of fields to fetch for this user.

ugUserKey :: Lens' UsersGet Text Source #

Email or immutable ID of the user