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

Contents

Description

Unclaims a device from a customer and removes it from zero-touch enrollment. After removing a device, a customer must contact their reseller to register the device into zero-touch enrollment again.

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

Synopsis

REST Resource

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

A resource alias for androiddeviceprovisioning.customers.devices.unclaim method which the CustomersDevicesUnclaim request conforms to.

Creating a Request

customersDevicesUnclaim Source #

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

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

data CustomersDevicesUnclaim Source #

Unclaims a device from a customer and removes it from zero-touch enrollment. After removing a device, a customer must contact their reseller to register the device into zero-touch enrollment again.

See: customersDevicesUnclaim smart constructor.

Instances
Eq CustomersDevicesUnclaim Source # 
Instance details

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

Data CustomersDevicesUnclaim Source # 
Instance details

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

Methods

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

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

toConstr :: CustomersDevicesUnclaim -> Constr #

dataTypeOf :: CustomersDevicesUnclaim -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomersDevicesUnclaim Source # 
Instance details

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

Generic CustomersDevicesUnclaim Source # 
Instance details

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

Associated Types

type Rep CustomersDevicesUnclaim :: Type -> Type #

GoogleRequest CustomersDevicesUnclaim Source # 
Instance details

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

type Rep CustomersDevicesUnclaim Source # 
Instance details

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

type Rep CustomersDevicesUnclaim = D1 (MetaData "CustomersDevicesUnclaim" "Network.Google.Resource.AndroidDeviceProvisioning.Customers.Devices.Unclaim" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "CustomersDevicesUnclaim'" PrefixI True) ((S1 (MetaSel (Just "_cduParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cduXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_cduUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cduAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cduUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cduPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomerUnclaimDeviceRequest) :*: S1 (MetaSel (Just "_cduCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes CustomersDevicesUnclaim Source # 
Instance details

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

type Rs CustomersDevicesUnclaim Source # 
Instance details

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

Request Lenses

cduParent :: Lens' CustomersDevicesUnclaim Text Source #

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

cduUploadProtocol :: Lens' CustomersDevicesUnclaim (Maybe Text) Source #

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

cduUploadType :: Lens' CustomersDevicesUnclaim (Maybe Text) Source #

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