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

Contents

Description

Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. This method supports patch semantics.

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

Synopsis

REST Resource

type InstallsPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> ("installs" :> (Capture "installId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Install :> Patch '[JSON] Install))))))))))) Source #

A resource alias for androidenterprise.installs.patch method which the InstallsPatch request conforms to.

Creating a Request

installsPatch Source #

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

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

data InstallsPatch Source #

Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary. This method supports patch semantics.

See: installsPatch smart constructor.

Instances
Eq InstallsPatch Source # 
Instance details

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

Data InstallsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: InstallsPatch -> Constr #

dataTypeOf :: InstallsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstallsPatch Source # 
Instance details

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

Generic InstallsPatch Source # 
Instance details

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

Associated Types

type Rep InstallsPatch :: Type -> Type #

GoogleRequest InstallsPatch Source # 
Instance details

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

Associated Types

type Rs InstallsPatch :: Type #

type Scopes InstallsPatch :: [Symbol] #

type Rep InstallsPatch Source # 
Instance details

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

type Rep InstallsPatch = D1 (MetaData "InstallsPatch" "Network.Google.Resource.AndroidEnterprise.Installs.Patch" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "InstallsPatch'" PrefixI True) ((S1 (MetaSel (Just "_ipEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Install)) :*: (S1 (MetaSel (Just "_ipUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ipInstallId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ipDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes InstallsPatch Source # 
Instance details

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

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

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

Request Lenses

ipEnterpriseId :: Lens' InstallsPatch Text Source #

The ID of the enterprise.

ipPayload :: Lens' InstallsPatch Install Source #

Multipart request metadata.

ipUserId :: Lens' InstallsPatch Text Source #

The ID of the user.

ipInstallId :: Lens' InstallsPatch Text Source #

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

ipDeviceId :: Lens' InstallsPatch Text Source #

The Android ID of the device.