Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- type UsersListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (QueryParam "email" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] UsersListResponse))))))
- usersList :: Text -> Text -> UsersList
- data UsersList
- ulEmail :: Lens' UsersList Text
- ulEnterpriseId :: Lens' UsersList Text
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
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:
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 # | |
Defined in Network.Google.Resource.AndroidEnterprise.Users.List 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 # | |
GoogleRequest UsersList Source # | |
type Rep UsersList Source # | |
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 # | |
type Rs UsersList Source # | |