gogol-android-enterprise-0.3.0: Google Play EMM 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.AndroidEnterprise.Users.List

Contents

Description

Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because the id is already returned in the result of the Users.insert call.

See: Google Play EMM API Reference for androidenterprise.users.list.

Synopsis

REST Resource

type UsersListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (QueryParam "email" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] UsersListResponse)))))) Source #

A resource alias for androidenterprise.users.list method which the UsersList request conforms to.

Creating a Request

usersList Source #

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

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

data UsersList Source #

Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because the id is already returned in the result of the Users.insert call.

See: usersList smart constructor.

Instances

Eq UsersList Source # 
Data UsersList Source # 

Methods

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

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

toConstr :: UsersList -> Constr #

dataTypeOf :: UsersList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersList Source # 
Generic UsersList Source # 

Associated Types

type Rep UsersList :: * -> * #

GoogleRequest UsersList Source # 

Associated Types

type Rs UsersList :: * #

type Scopes UsersList :: [Symbol] #

type Rep UsersList Source # 
type Rep UsersList = D1 (MetaData "UsersList" "Network.Google.Resource.AndroidEnterprise.Users.List" "gogol-android-enterprise-0.3.0-CY7ecx5snBQ31L6me2CTsO" False) (C1 (MetaCons "UsersList'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ulEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ulEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersList Source # 
type Scopes UsersList = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs UsersList Source # 

Request Lenses

ulEmail :: Lens' UsersList Text Source #

The exact primary email address of the user to look up.

ulEnterpriseId :: Lens' UsersList Text Source #

The ID of the enterprise.