gogol-androiddeviceprovisioning-0.5.0: Google Android Device Provisioning Partner 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.AndroidDeviceProvisioning.Partners.Devices.Get

Contents

Description

Gets a device.

See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.partners.devices.get.

Synopsis

REST Resource

type PartnersDevicesGetResource = "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 androiddeviceprovisioning.partners.devices.get method which the PartnersDevicesGet request conforms to.

Creating a Request

partnersDevicesGet Source #

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

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

data PartnersDevicesGet Source #

Gets a device.

See: partnersDevicesGet smart constructor.

Instances
Eq PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

Data PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

Methods

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

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

toConstr :: PartnersDevicesGet -> Constr #

dataTypeOf :: PartnersDevicesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

Generic PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

Associated Types

type Rep PartnersDevicesGet :: Type -> Type #

GoogleRequest PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

Associated Types

type Rs PartnersDevicesGet :: Type #

type Scopes PartnersDevicesGet :: [Symbol] #

type Rep PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

type Rep PartnersDevicesGet = D1 (MetaData "PartnersDevicesGet" "Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get" "gogol-androiddeviceprovisioning-0.5.0-EBMZx8h5Owj9L7xc8N5EyV" False) (C1 (MetaCons "PartnersDevicesGet'" PrefixI True) ((S1 (MetaSel (Just "_pdgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pdgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pdgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pdgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

type Rs PartnersDevicesGet Source # 
Instance details

Defined in Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.Get

Request Lenses

pdgUploadProtocol :: Lens' PartnersDevicesGet (Maybe Text) Source #

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

pdgUploadType :: Lens' PartnersDevicesGet (Maybe Text) Source #

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

pdgName :: Lens' PartnersDevicesGet Text Source #

Required. The device API resource name in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.