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

Contents

Description

Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read Long‑running batch operations.

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

Synopsis

REST Resource

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

A resource alias for androiddeviceprovisioning.partners.devices.claimAsync method which the PartnersDevicesClaimAsync request conforms to.

Creating a Request

partnersDevicesClaimAsync Source #

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

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

data PartnersDevicesClaimAsync Source #

Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read Long‑running batch operations.

See: partnersDevicesClaimAsync smart constructor.

Instances
Eq PartnersDevicesClaimAsync Source # 
Instance details

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

Data PartnersDevicesClaimAsync Source # 
Instance details

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

Methods

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

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

toConstr :: PartnersDevicesClaimAsync -> Constr #

dataTypeOf :: PartnersDevicesClaimAsync -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PartnersDevicesClaimAsync Source # 
Instance details

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

Generic PartnersDevicesClaimAsync Source # 
Instance details

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

Associated Types

type Rep PartnersDevicesClaimAsync :: Type -> Type #

GoogleRequest PartnersDevicesClaimAsync Source # 
Instance details

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

type Rep PartnersDevicesClaimAsync Source # 
Instance details

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

type Rep PartnersDevicesClaimAsync = D1 (MetaData "PartnersDevicesClaimAsync" "Network.Google.Resource.AndroidDeviceProvisioning.Partners.Devices.ClaimAsync" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "PartnersDevicesClaimAsync'" PrefixI True) ((S1 (MetaSel (Just "_pdcaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdcaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdcaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdcaPartnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_pdcaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pdcaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ClaimDevicesRequest) :*: S1 (MetaSel (Just "_pdcaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PartnersDevicesClaimAsync Source # 
Instance details

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

type Rs PartnersDevicesClaimAsync Source # 
Instance details

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

Request Lenses

pdcaUploadProtocol :: Lens' PartnersDevicesClaimAsync (Maybe Text) Source #

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

pdcaPartnerId :: Lens' PartnersDevicesClaimAsync Int64 Source #

Required. The ID of the reseller partner.

pdcaUploadType :: Lens' PartnersDevicesClaimAsync (Maybe Text) Source #

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