gogol-androidmanagement-0.4.0: Google Android Management 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.AndroidManagement.Enterprises.Devices.Delete

Contents

Description

Deletes a device. This operation wipes the device.

See: Android Management API Reference for androidmanagement.enterprises.devices.delete.

Synopsis

REST Resource

type EnterprisesDevicesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParams "wipeDataFlags" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #

A resource alias for androidmanagement.enterprises.devices.delete method which the EnterprisesDevicesDelete request conforms to.

Creating a Request

enterprisesDevicesDelete Source #

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

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

data EnterprisesDevicesDelete Source #

Deletes a device. This operation wipes the device.

See: enterprisesDevicesDelete smart constructor.

Instances
Eq EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

Data EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

Methods

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

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

toConstr :: EnterprisesDevicesDelete -> Constr #

dataTypeOf :: EnterprisesDevicesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

Generic EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

Associated Types

type Rep EnterprisesDevicesDelete :: Type -> Type #

GoogleRequest EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

type Rep EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

type Rep EnterprisesDevicesDelete = D1 (MetaData "EnterprisesDevicesDelete" "Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesDevicesDelete'" PrefixI True) ((S1 (MetaSel (Just "_eddXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_eddWipeDataFlags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_eddUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_eddAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eddUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eddName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eddCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

type Scopes EnterprisesDevicesDelete = "https://www.googleapis.com/auth/androidmanagement" ': ([] :: [Symbol])
type Rs EnterprisesDevicesDelete Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Devices.Delete

Request Lenses

eddWipeDataFlags :: Lens' EnterprisesDevicesDelete [Text] Source #

Optional flags that control the device wiping behavior.

eddUploadProtocol :: Lens' EnterprisesDevicesDelete (Maybe Text) Source #

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

eddUploadType :: Lens' EnterprisesDevicesDelete (Maybe Text) Source #

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

eddName :: Lens' EnterprisesDevicesDelete Text Source #

The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.