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

Contents

Description

Take action on Mobile Device

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

Synopsis

REST Resource

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

A resource alias for directory.mobiledevices.action method which the MobileDevicesAction request conforms to.

Creating a Request

mobileDevicesAction Source #

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

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

data MobileDevicesAction Source #

Take action on Mobile Device

See: mobileDevicesAction smart constructor.

Instances
Eq MobileDevicesAction Source # 
Instance details

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

Data MobileDevicesAction Source # 
Instance details

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

Methods

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

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

toConstr :: MobileDevicesAction -> Constr #

dataTypeOf :: MobileDevicesAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MobileDevicesAction Source # 
Instance details

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

Generic MobileDevicesAction Source # 
Instance details

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

Associated Types

type Rep MobileDevicesAction :: Type -> Type #

GoogleRequest MobileDevicesAction Source # 
Instance details

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

Associated Types

type Rs MobileDevicesAction :: Type #

type Scopes MobileDevicesAction :: [Symbol] #

type Rep MobileDevicesAction Source # 
Instance details

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

type Rep MobileDevicesAction = D1 (MetaData "MobileDevicesAction" "Network.Google.Resource.Directory.MobileDevices.Action" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "MobileDevicesAction'" PrefixI True) (S1 (MetaSel (Just "_mdaResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mdaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MobileDeviceAction) :*: S1 (MetaSel (Just "_mdaCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes MobileDevicesAction Source # 
Instance details

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

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

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

Request Lenses

mdaResourceId :: Lens' MobileDevicesAction Text Source #

Immutable ID of Mobile Device

mdaCustomerId :: Lens' MobileDevicesAction Text Source #

Immutable ID of the G Suite account