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

Contents

Description

Take action on Chrome OS Device

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

Synopsis

REST Resource

type ChromeosDevicesActionResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "resourceId" Text :> ("action" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDeviceAction :> Post '[JSON] ())))))))))) Source #

A resource alias for directory.chromeosdevices.action method which the ChromeosDevicesAction request conforms to.

Creating a Request

chromeosDevicesAction Source #

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

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

data ChromeosDevicesAction Source #

Take action on Chrome OS Device

See: chromeosDevicesAction smart constructor.

Instances
Eq ChromeosDevicesAction Source # 
Instance details

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

Data ChromeosDevicesAction Source # 
Instance details

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

Methods

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

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

toConstr :: ChromeosDevicesAction -> Constr #

dataTypeOf :: ChromeosDevicesAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChromeosDevicesAction Source # 
Instance details

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

Generic ChromeosDevicesAction Source # 
Instance details

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

Associated Types

type Rep ChromeosDevicesAction :: Type -> Type #

GoogleRequest ChromeosDevicesAction Source # 
Instance details

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

type Rep ChromeosDevicesAction Source # 
Instance details

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

type Rep ChromeosDevicesAction = D1 (MetaData "ChromeosDevicesAction" "Network.Google.Resource.Directory.ChromeosDevices.Action" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "ChromeosDevicesAction'" PrefixI True) (S1 (MetaSel (Just "_cdaResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cdaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ChromeOSDeviceAction) :*: S1 (MetaSel (Just "_cdaCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ChromeosDevicesAction Source # 
Instance details

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

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

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

Request Lenses

cdaResourceId :: Lens' ChromeosDevicesAction Text Source #

Immutable ID of Chrome OS Device

cdaCustomerId :: Lens' ChromeosDevicesAction Text Source #

Immutable ID of the G Suite account