gogol-androiddeviceprovisioning-0.4.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.Customers.Devices.Get

Contents

Description

Gets the details of a device.

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

Synopsis

REST Resource

type CustomersDevicesGetResource = "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.customers.devices.get method which the CustomersDevicesGet request conforms to.

Creating a Request

customersDevicesGet Source #

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

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

data CustomersDevicesGet Source #

Gets the details of a device.

See: customersDevicesGet smart constructor.

Instances
Eq CustomersDevicesGet Source # 
Instance details

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

Data CustomersDevicesGet Source # 
Instance details

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

Methods

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

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

toConstr :: CustomersDevicesGet -> Constr #

dataTypeOf :: CustomersDevicesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersDevicesGet Source # 
Instance details

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

Generic CustomersDevicesGet Source # 
Instance details

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

Associated Types

type Rep CustomersDevicesGet :: Type -> Type #

GoogleRequest CustomersDevicesGet Source # 
Instance details

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

Associated Types

type Rs CustomersDevicesGet :: Type #

type Scopes CustomersDevicesGet :: [Symbol] #

type Rep CustomersDevicesGet Source # 
Instance details

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

type Rep CustomersDevicesGet = D1 (MetaData "CustomersDevicesGet" "Network.Google.Resource.AndroidDeviceProvisioning.Customers.Devices.Get" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "CustomersDevicesGet'" PrefixI True) ((S1 (MetaSel (Just "_cdgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_cdgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cdgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cdgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cdgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes CustomersDevicesGet Source # 
Instance details

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

type Rs CustomersDevicesGet Source # 
Instance details

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

Request Lenses

cdgUploadProtocol :: Lens' CustomersDevicesGet (Maybe Text) Source #

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

cdgUploadType :: Lens' CustomersDevicesGet (Maybe Text) Source #

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

cdgName :: Lens' CustomersDevicesGet Text Source #

Required. The device to get. An API resource name in the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`.