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.ManagedConfigurationsforUser.Update

Contents

Description

Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.

See: Google Play EMM API Reference for androidenterprise.managedconfigurationsforuser.update.

Synopsis

REST Resource

type ManagedConfigurationsforUserUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("managedConfigurationsForUser" :> (Capture "managedConfigurationForUserId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Put '[JSON] ManagedConfiguration))))))))) Source #

A resource alias for androidenterprise.managedconfigurationsforuser.update method which the ManagedConfigurationsforUserUpdate request conforms to.

Creating a Request

data ManagedConfigurationsforUserUpdate Source #

Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.

See: managedConfigurationsforUserUpdate smart constructor.

Instances
Eq ManagedConfigurationsforUserUpdate Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

Data ManagedConfigurationsforUserUpdate Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

Methods

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

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

toConstr :: ManagedConfigurationsforUserUpdate -> Constr #

dataTypeOf :: ManagedConfigurationsforUserUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedConfigurationsforUserUpdate Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

Generic ManagedConfigurationsforUserUpdate Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

Associated Types

type Rep ManagedConfigurationsforUserUpdate :: Type -> Type #

GoogleRequest ManagedConfigurationsforUserUpdate Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

type Rep ManagedConfigurationsforUserUpdate Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

type Rep ManagedConfigurationsforUserUpdate = D1 (MetaData "ManagedConfigurationsforUserUpdate" "Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "ManagedConfigurationsforUserUpdate'" PrefixI True) ((S1 (MetaSel (Just "_mcuuEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcuuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ManagedConfiguration)) :*: (S1 (MetaSel (Just "_mcuuUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcuuManagedConfigurationForUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ManagedConfigurationsforUserUpdate Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

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

Defined in Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update

Request Lenses

mcuuManagedConfigurationForUserId :: Lens' ManagedConfigurationsforUserUpdate Text Source #

The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".