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

Contents

Description

Applies a Configuration to the device to register the device for zero-touch enrollment. After applying a configuration to a device, the device automatically provisions itself on first boot, or next factory reset.

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

Synopsis

REST Resource

type CustomersDevicesApplyConfigurationResource = "v1" :> (Capture "parent" Text :> ("devices:applyConfiguration" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomerApplyConfigurationRequest :> Post '[JSON] Empty))))))))) Source #

A resource alias for androiddeviceprovisioning.customers.devices.applyConfiguration method which the CustomersDevicesApplyConfiguration request conforms to.

Creating a Request

data CustomersDevicesApplyConfiguration Source #

Applies a Configuration to the device to register the device for zero-touch enrollment. After applying a configuration to a device, the device automatically provisions itself on first boot, or next factory reset.

See: customersDevicesApplyConfiguration smart constructor.

Instances
Eq CustomersDevicesApplyConfiguration Source # 
Instance details

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

Data CustomersDevicesApplyConfiguration Source # 
Instance details

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

Methods

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

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

toConstr :: CustomersDevicesApplyConfiguration -> Constr #

dataTypeOf :: CustomersDevicesApplyConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersDevicesApplyConfiguration Source # 
Instance details

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

Generic CustomersDevicesApplyConfiguration Source # 
Instance details

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

Associated Types

type Rep CustomersDevicesApplyConfiguration :: Type -> Type #

GoogleRequest CustomersDevicesApplyConfiguration Source # 
Instance details

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

type Rep CustomersDevicesApplyConfiguration Source # 
Instance details

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

type Rep CustomersDevicesApplyConfiguration = D1 (MetaData "CustomersDevicesApplyConfiguration" "Network.Google.Resource.AndroidDeviceProvisioning.Customers.Devices.ApplyConfiguration" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "CustomersDevicesApplyConfiguration'" PrefixI True) ((S1 (MetaSel (Just "_cdacParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cdacXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_cdacUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cdacAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cdacUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cdacPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomerApplyConfigurationRequest) :*: S1 (MetaSel (Just "_cdacCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes CustomersDevicesApplyConfiguration Source # 
Instance details

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

type Rs CustomersDevicesApplyConfiguration Source # 
Instance details

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

Request Lenses

cdacParent :: Lens' CustomersDevicesApplyConfiguration Text Source #

Required. The customer managing the device. An API resource name in the format `customers/[CUSTOMER_ID]`.

cdacUploadProtocol :: Lens' CustomersDevicesApplyConfiguration (Maybe Text) Source #

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

cdacUploadType :: Lens' CustomersDevicesApplyConfiguration (Maybe Text) Source #

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