gogol-android-enterprise-0.2.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 # 
Data InstallsPatch Source # 

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 # 
Generic InstallsPatch Source # 

Associated Types

type Rep InstallsPatch :: * -> * #

GoogleRequest InstallsPatch Source # 

Associated Types

type Rs InstallsPatch :: * #

type Scopes InstallsPatch :: [Symbol] #

type Rep InstallsPatch Source # 
type Rep InstallsPatch = D1 (MetaData "InstallsPatch" "Network.Google.Resource.AndroidEnterprise.Installs.Patch" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "InstallsPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ipEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Install))) ((:*:) (S1 (MetaSel (Just Symbol "_ipUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ipInstallId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ipDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Scopes InstallsPatch Source # 
type Scopes InstallsPatch = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs InstallsPatch Source # 

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.