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

Contents

Description

Retrieve Mobile Device

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

Synopsis

REST Resource

type MobileDevicesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (Capture "resourceId" Text :> (QueryParam "projection" MobileDevicesGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileDevice))))))))) Source #

A resource alias for directory.mobiledevices.get method which the MobileDevicesGet request conforms to.

Creating a Request

mobileDevicesGet Source #

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

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

data MobileDevicesGet Source #

Retrieve Mobile Device

See: mobileDevicesGet smart constructor.

Instances
Eq MobileDevicesGet Source # 
Instance details

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

Data MobileDevicesGet Source # 
Instance details

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

Methods

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

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

toConstr :: MobileDevicesGet -> Constr #

dataTypeOf :: MobileDevicesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MobileDevicesGet Source # 
Instance details

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

Generic MobileDevicesGet Source # 
Instance details

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

Associated Types

type Rep MobileDevicesGet :: Type -> Type #

GoogleRequest MobileDevicesGet Source # 
Instance details

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

Associated Types

type Rs MobileDevicesGet :: Type #

type Scopes MobileDevicesGet :: [Symbol] #

type Rep MobileDevicesGet Source # 
Instance details

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

type Rep MobileDevicesGet = D1 (MetaData "MobileDevicesGet" "Network.Google.Resource.Directory.MobileDevices.Get" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "MobileDevicesGet'" PrefixI True) (S1 (MetaSel (Just "_mdgResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mdgCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mdgProjection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MobileDevicesGetProjection)))))
type Scopes MobileDevicesGet Source # 
Instance details

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

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

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

Request Lenses

mdgResourceId :: Lens' MobileDevicesGet Text Source #

Immutable ID of Mobile Device

mdgCustomerId :: Lens' MobileDevicesGet Text Source #

Immutable ID of the G Suite account

mdgProjection :: Lens' MobileDevicesGet (Maybe MobileDevicesGetProjection) Source #

Restrict information returned to a set of selected fields.