gogol-android-enterprise-0.4.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 # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

Data UsersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

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

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

Generic UsersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

Associated Types

type Rep UsersList :: Type -> Type #

GoogleRequest UsersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

Associated Types

type Rs UsersList :: Type #

type Scopes UsersList :: [Symbol] #

type Rep UsersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

type Rep UsersList = D1 (MetaData "UsersList" "Network.Google.Resource.AndroidEnterprise.Users.List" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "UsersList'" PrefixI True) (S1 (MetaSel (Just "_ulEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ulEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

type Scopes UsersList = "https://www.googleapis.com/auth/androidenterprise" ': ([] :: [Symbol])
type Rs UsersList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.List

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.