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.Enterprises.List

Contents

Description

Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.

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

Synopsis

REST Resource

type EnterprisesListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (QueryParam "domain" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] EnterprisesListResponse)))) Source #

A resource alias for androidenterprise.enterprises.list method which the EnterprisesList request conforms to.

Creating a Request

enterprisesList Source #

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

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

data EnterprisesList Source #

Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call.

See: enterprisesList smart constructor.

Instances
Eq EnterprisesList Source # 
Instance details

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

Data EnterprisesList Source # 
Instance details

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

Methods

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

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

toConstr :: EnterprisesList -> Constr #

dataTypeOf :: EnterprisesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesList Source # 
Instance details

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

Generic EnterprisesList Source # 
Instance details

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

Associated Types

type Rep EnterprisesList :: Type -> Type #

GoogleRequest EnterprisesList Source # 
Instance details

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

Associated Types

type Rs EnterprisesList :: Type #

type Scopes EnterprisesList :: [Symbol] #

type Rep EnterprisesList Source # 
Instance details

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

type Rep EnterprisesList = D1 (MetaData "EnterprisesList" "Network.Google.Resource.AndroidEnterprise.Enterprises.List" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" True) (C1 (MetaCons "EnterprisesList'" PrefixI True) (S1 (MetaSel (Just "_elDomain") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes EnterprisesList Source # 
Instance details

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

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

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

Request Lenses

elDomain :: Lens' EnterprisesList Text Source #

The exact primary domain name of the enterprise to look up.