gogol-admin-directory-0.4.0: 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.Update

Contents

Description

Update Chrome OS Device

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

Synopsis

REST Resource

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

A resource alias for directory.chromeosdevices.update method which the ChromeosDevicesUpdate request conforms to.

Creating a Request

chromeosDevicesUpdate Source #

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

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

data ChromeosDevicesUpdate Source #

Update Chrome OS Device

See: chromeosDevicesUpdate smart constructor.

Instances
Eq ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

Data ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

Methods

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

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

toConstr :: ChromeosDevicesUpdate -> Constr #

dataTypeOf :: ChromeosDevicesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

Generic ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

Associated Types

type Rep ChromeosDevicesUpdate :: Type -> Type #

GoogleRequest ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

type Rep ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

type Rep ChromeosDevicesUpdate = D1 (MetaData "ChromeosDevicesUpdate" "Network.Google.Resource.Directory.ChromeosDevices.Update" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ChromeosDevicesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_cduPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ChromeOSDevice) :*: S1 (MetaSel (Just "_cduCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_cduDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cduProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChromeosDevicesUpdateProjection)))))
type Scopes ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

type Scopes ChromeosDevicesUpdate = "https://www.googleapis.com/auth/admin.directory.device.chromeos" ': ([] :: [Symbol])
type Rs ChromeosDevicesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.ChromeosDevices.Update

Request Lenses

cduCustomerId :: Lens' ChromeosDevicesUpdate Text Source #

Immutable ID of the G Suite account

cduDeviceId :: Lens' ChromeosDevicesUpdate Text Source #

Immutable ID of Chrome OS Device

cduProjection :: Lens' ChromeosDevicesUpdate (Maybe ChromeosDevicesUpdateProjection) Source #

Restrict information returned to a set of selected fields.