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

Contents

Description

Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics.

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

Synopsis

REST Resource

type ManagedConfigurationsforDevicePatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> ("managedConfigurationsForDevice" :> (Capture "managedConfigurationForDeviceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Patch '[JSON] ManagedConfiguration))))))))))) Source #

A resource alias for androidenterprise.managedconfigurationsfordevice.patch method which the ManagedConfigurationsforDevicePatch request conforms to.

Creating a Request

data ManagedConfigurationsforDevicePatch Source #

Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics.

See: managedConfigurationsforDevicePatch smart constructor.

Instances
Eq ManagedConfigurationsforDevicePatch Source # 
Instance details

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

Data ManagedConfigurationsforDevicePatch Source # 
Instance details

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

Methods

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

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

toConstr :: ManagedConfigurationsforDevicePatch -> Constr #

dataTypeOf :: ManagedConfigurationsforDevicePatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedConfigurationsforDevicePatch Source # 
Instance details

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

Generic ManagedConfigurationsforDevicePatch Source # 
Instance details

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

GoogleRequest ManagedConfigurationsforDevicePatch Source # 
Instance details

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

type Rep ManagedConfigurationsforDevicePatch Source # 
Instance details

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

type Rep ManagedConfigurationsforDevicePatch = D1 (MetaData "ManagedConfigurationsforDevicePatch" "Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforDevice.Patch" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "ManagedConfigurationsforDevicePatch'" PrefixI True) ((S1 (MetaSel (Just "_mcdpEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcdpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ManagedConfiguration)) :*: (S1 (MetaSel (Just "_mcdpUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mcdpDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcdpManagedConfigurationForDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagedConfigurationsforDevicePatch Source # 
Instance details

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

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

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

Request Lenses

mcdpManagedConfigurationForDeviceId :: Lens' ManagedConfigurationsforDevicePatch Text Source #

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