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

Contents

Description

Updates the device policy

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

Synopsis

REST Resource

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

A resource alias for androidenterprise.devices.update method which the DevicesUpdate request conforms to.

Creating a Request

devicesUpdate Source #

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

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

data DevicesUpdate Source #

Updates the device policy

See: devicesUpdate smart constructor.

Instances
Eq DevicesUpdate Source # 
Instance details

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

Data DevicesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: DevicesUpdate -> Constr #

dataTypeOf :: DevicesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DevicesUpdate Source # 
Instance details

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

Generic DevicesUpdate Source # 
Instance details

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

Associated Types

type Rep DevicesUpdate :: Type -> Type #

GoogleRequest DevicesUpdate Source # 
Instance details

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

Associated Types

type Rs DevicesUpdate :: Type #

type Scopes DevicesUpdate :: [Symbol] #

type Rep DevicesUpdate Source # 
Instance details

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

type Rep DevicesUpdate = D1 (MetaData "DevicesUpdate" "Network.Google.Resource.AndroidEnterprise.Devices.Update" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "DevicesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_duUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_duEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_duPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Device) :*: (S1 (MetaSel (Just "_duUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_duDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes DevicesUpdate Source # 
Instance details

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

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

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

Request Lenses

duUpdateMask :: Lens' DevicesUpdate (Maybe Text) Source #

Mask that identifies which fields to update. If not set, all modifiable fields will be modified. When set in a query parameter, this field should be specified as updateMask=,,...

duEnterpriseId :: Lens' DevicesUpdate Text Source #

The ID of the enterprise.

duPayload :: Lens' DevicesUpdate Device Source #

Multipart request metadata.

duUserId :: Lens' DevicesUpdate Text Source #

The ID of the user.

duDeviceId :: Lens' DevicesUpdate Text Source #

The ID of the device.