gogol-admin-directory-0.1.1: Google Admin Directory 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.Directory.ChromeosDevices.Patch

Contents

Description

Update Chrome OS Device. This method supports patch semantics.

See: Admin Directory API Reference for directory.chromeosdevices.patch.

Synopsis

REST Resource

type ChromeosDevicesPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "deviceId" Text :> (QueryParam "projection" ChromeosDevicesPatchProjection :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDevice :> Patch '[JSON] ChromeOSDevice)))))))))) Source #

A resource alias for directory.chromeosdevices.patch method which the ChromeosDevicesPatch request conforms to.

Creating a Request

chromeosDevicesPatch Source #

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

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

data ChromeosDevicesPatch Source #

Update Chrome OS Device. This method supports patch semantics.

See: chromeosDevicesPatch smart constructor.

Instances

Eq ChromeosDevicesPatch Source # 
Data ChromeosDevicesPatch Source # 

Methods

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

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

toConstr :: ChromeosDevicesPatch -> Constr #

dataTypeOf :: ChromeosDevicesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChromeosDevicesPatch Source # 
Generic ChromeosDevicesPatch Source # 
GoogleRequest ChromeosDevicesPatch Source # 
type Rep ChromeosDevicesPatch Source # 
type Rep ChromeosDevicesPatch = D1 (MetaData "ChromeosDevicesPatch" "Network.Google.Resource.Directory.ChromeosDevices.Patch" "gogol-admin-directory-0.1.1-73Tf2vuRaxhTzoNR29qV8" False) (C1 (MetaCons "ChromeosDevicesPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ChromeOSDevice)) (S1 (MetaSel (Just Symbol "_cdpCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cdpDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cdpProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChromeosDevicesPatchProjection))))))
type Scopes ChromeosDevicesPatch Source # 
type Scopes ChromeosDevicesPatch = (:) Symbol "https://www.googleapis.com/auth/admin.directory.device.chromeos" ([] Symbol)
type Rs ChromeosDevicesPatch Source # 

Request Lenses

cdpCustomerId :: Lens' ChromeosDevicesPatch Text Source #

Immutable id of the Google Apps account

cdpDeviceId :: Lens' ChromeosDevicesPatch Text Source #

Immutable id of Chrome OS Device

cdpProjection :: Lens' ChromeosDevicesPatch (Maybe ChromeosDevicesPatchProjection) Source #

Restrict information returned to a set of selected fields.