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

Contents

Description

Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.

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

Synopsis

REST Resource

type EnterprisesSetStoreLayoutResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("storeLayout" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StoreLayout :> Put '[JSON] StoreLayout)))))) Source #

A resource alias for androidenterprise.enterprises.setStoreLayout method which the EnterprisesSetStoreLayout request conforms to.

Creating a Request

enterprisesSetStoreLayout Source #

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

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

data EnterprisesSetStoreLayout Source #

Sets the store layout for the enterprise. By default, storeLayoutType is set to "basic" and the basic store layout is enabled. The basic layout only contains apps approved by the admin, and that have been added to the available product set for a user (using the setAvailableProductSet call). Apps on the page are sorted in order of their product ID value. If you create a custom store layout (by setting storeLayoutType = "custom" and setting a homepage), the basic store layout is disabled.

See: enterprisesSetStoreLayout smart constructor.

Instances
Eq EnterprisesSetStoreLayout Source # 
Instance details

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

Data EnterprisesSetStoreLayout Source # 
Instance details

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

Methods

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

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

toConstr :: EnterprisesSetStoreLayout -> Constr #

dataTypeOf :: EnterprisesSetStoreLayout -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesSetStoreLayout Source # 
Instance details

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

Generic EnterprisesSetStoreLayout Source # 
Instance details

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

Associated Types

type Rep EnterprisesSetStoreLayout :: Type -> Type #

GoogleRequest EnterprisesSetStoreLayout Source # 
Instance details

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

type Rep EnterprisesSetStoreLayout Source # 
Instance details

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

type Rep EnterprisesSetStoreLayout = D1 (MetaData "EnterprisesSetStoreLayout" "Network.Google.Resource.AndroidEnterprise.Enterprises.SetStoreLayout" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "EnterprisesSetStoreLayout'" PrefixI True) (S1 (MetaSel (Just "_esslEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_esslPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StoreLayout)))
type Scopes EnterprisesSetStoreLayout Source # 
Instance details

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

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

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

Request Lenses