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

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.

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

Synopsis

REST Resource

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

A resource alias for androidenterprise.installs.update method which the InstallsUpdate request conforms to.

Creating a Request

installsUpdate Source #

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

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

data InstallsUpdate 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.

See: installsUpdate smart constructor.

Instances
Eq InstallsUpdate Source # 
Instance details

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

Data InstallsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: InstallsUpdate -> Constr #

dataTypeOf :: InstallsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstallsUpdate Source # 
Instance details

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

Generic InstallsUpdate Source # 
Instance details

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

Associated Types

type Rep InstallsUpdate :: Type -> Type #

GoogleRequest InstallsUpdate Source # 
Instance details

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

Associated Types

type Rs InstallsUpdate :: Type #

type Scopes InstallsUpdate :: [Symbol] #

type Rep InstallsUpdate Source # 
Instance details

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

type Rep InstallsUpdate = D1 (MetaData "InstallsUpdate" "Network.Google.Resource.AndroidEnterprise.Installs.Update" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "InstallsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_iuEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_iuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Install)) :*: (S1 (MetaSel (Just "_iuUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_iuInstallId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_iuDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes InstallsUpdate Source # 
Instance details

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

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

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

Request Lenses

iuEnterpriseId :: Lens' InstallsUpdate Text Source #

The ID of the enterprise.

iuPayload :: Lens' InstallsUpdate Install Source #

Multipart request metadata.

iuUserId :: Lens' InstallsUpdate Text Source #

The ID of the user.

iuInstallId :: Lens' InstallsUpdate Text Source #

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

iuDeviceId :: Lens' InstallsUpdate Text Source #

The Android ID of the device.