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

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. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for androidenterprise.managedconfigurationsforuser.patch method which the ManagedConfigurationsforUserPatch request conforms to.

Creating a Request

data ManagedConfigurationsforUserPatch 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. This method supports patch semantics.

See: managedConfigurationsforUserPatch smart constructor.

Instances
Eq ManagedConfigurationsforUserPatch Source # 
Instance details

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

Data ManagedConfigurationsforUserPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ManagedConfigurationsforUserPatch -> Constr #

dataTypeOf :: ManagedConfigurationsforUserPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedConfigurationsforUserPatch Source # 
Instance details

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

Generic ManagedConfigurationsforUserPatch Source # 
Instance details

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

Associated Types

type Rep ManagedConfigurationsforUserPatch :: Type -> Type #

GoogleRequest ManagedConfigurationsforUserPatch Source # 
Instance details

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

type Rep ManagedConfigurationsforUserPatch Source # 
Instance details

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

type Rep ManagedConfigurationsforUserPatch = D1 (MetaData "ManagedConfigurationsforUserPatch" "Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Patch" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "ManagedConfigurationsforUserPatch'" PrefixI True) ((S1 (MetaSel (Just "_mcupEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcupPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ManagedConfiguration)) :*: (S1 (MetaSel (Just "_mcupUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcupManagedConfigurationForUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ManagedConfigurationsforUserPatch Source # 
Instance details

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

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

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

Request Lenses

mcupManagedConfigurationForUserId :: Lens' ManagedConfigurationsforUserPatch Text Source #

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