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.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 # 
Instance details

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

Data ChromeosDevicesPatch Source # 
Instance details

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

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 # 
Instance details

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

Generic ChromeosDevicesPatch Source # 
Instance details

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

Associated Types

type Rep ChromeosDevicesPatch :: Type -> Type #

GoogleRequest ChromeosDevicesPatch Source # 
Instance details

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

Associated Types

type Rs ChromeosDevicesPatch :: Type #

type Scopes ChromeosDevicesPatch :: [Symbol] #

type Rep ChromeosDevicesPatch Source # 
Instance details

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

type Rep ChromeosDevicesPatch = D1 (MetaData "ChromeosDevicesPatch" "Network.Google.Resource.Directory.ChromeosDevices.Patch" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ChromeosDevicesPatch'" PrefixI True) ((S1 (MetaSel (Just "_cdpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ChromeOSDevice) :*: S1 (MetaSel (Just "_cdpCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_cdpDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cdpProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ChromeosDevicesPatchProjection)))))
type Scopes ChromeosDevicesPatch Source # 
Instance details

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

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

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

Request Lenses

cdpCustomerId :: Lens' ChromeosDevicesPatch Text Source #

Immutable ID of the G Suite 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.