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.Partners.Devices.UnclaimAsync

Contents

Description

Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read Long‑running batch operations.

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

Synopsis

REST Resource

type PartnersDevicesUnclaimAsyncResource = "v1" :> ("partners" :> (Capture "partnerId" (Textual Int64) :> ("devices:unclaimAsync" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnclaimDevicesRequest :> Post '[JSON] Operation)))))))))) Source #

A resource alias for androiddeviceprovisioning.partners.devices.unclaimAsync method which the PartnersDevicesUnclaimAsync request conforms to.

Creating a Request

partnersDevicesUnclaimAsync Source #

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

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

data PartnersDevicesUnclaimAsync Source #

Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read Long‑running batch operations.

See: partnersDevicesUnclaimAsync smart constructor.

Instances
Eq PartnersDevicesUnclaimAsync Source # 
Instance details

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

Data PartnersDevicesUnclaimAsync Source # 
Instance details

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

Methods

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

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

toConstr :: PartnersDevicesUnclaimAsync -> Constr #

dataTypeOf :: PartnersDevicesUnclaimAsync -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PartnersDevicesUnclaimAsync Source # 
Instance details

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

Generic PartnersDevicesUnclaimAsync Source # 
Instance details

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

Associated Types

type Rep PartnersDevicesUnclaimAsync :: Type -> Type #

GoogleRequest PartnersDevicesUnclaimAsync Source # 
Instance details

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

type Rep PartnersDevicesUnclaimAsync Source # 
Instance details

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

type Rep PartnersDevicesUnclaimAsync = D1 (MetaData "PartnersDevicesUnclaimAsync" "Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.UnclaimAsync" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "PartnersDevicesUnclaimAsync'" PrefixI True) ((S1 (MetaSel (Just "_pduaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pduaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pduaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pduaPartnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_pduaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pduaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UnclaimDevicesRequest) :*: S1 (MetaSel (Just "_pduaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PartnersDevicesUnclaimAsync Source # 
Instance details

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

type Rs PartnersDevicesUnclaimAsync Source # 
Instance details

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

Request Lenses

pduaUploadProtocol :: Lens' PartnersDevicesUnclaimAsync (Maybe Text) Source #

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

pduaPartnerId :: Lens' PartnersDevicesUnclaimAsync Int64 Source #

Required. The reseller partner ID.

pduaUploadType :: Lens' PartnersDevicesUnclaimAsync (Maybe Text) Source #

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