gogol-androidmanagement-0.4.0: Google Android Management 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.AndroidManagement.Enterprises.Devices.Get

Contents

Description

Gets a device.

See: Android Management API Reference for androidmanagement.enterprises.devices.get.

Synopsis

REST Resource

type EnterprisesDevicesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Device))))))) Source #

A resource alias for androidmanagement.enterprises.devices.get method which the EnterprisesDevicesGet request conforms to.

Creating a Request

enterprisesDevicesGet Source #

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

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

data EnterprisesDevicesGet Source #

Gets a device.

See: enterprisesDevicesGet smart constructor.

Instances
Eq EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

Data EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

Methods

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

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

toConstr :: EnterprisesDevicesGet -> Constr #

dataTypeOf :: EnterprisesDevicesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

Generic EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

Associated Types

type Rep EnterprisesDevicesGet :: Type -> Type #

GoogleRequest EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

type Rep EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

type Rep EnterprisesDevicesGet = D1 (MetaData "EnterprisesDevicesGet" "Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesDevicesGet'" PrefixI True) ((S1 (MetaSel (Just "_edgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_edgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_edgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_edgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_edgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_edgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

type Scopes EnterprisesDevicesGet = "https://www.googleapis.com/auth/androidmanagement" ': ([] :: [Symbol])
type Rs EnterprisesDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Get

Request Lenses

edgUploadProtocol :: Lens' EnterprisesDevicesGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

edgUploadType :: Lens' EnterprisesDevicesGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

edgName :: Lens' EnterprisesDevicesGet Text Source #

The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.