gogol-android-enterprise-0.4.0: Google Play EMM 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.AndroidEnterprise.Users.RevokeToken

Contents

Description

Revokes a previously generated token (activation code) for the user.

See: Google Play EMM API Reference for androidenterprise.users.revokeToken.

Synopsis

REST Resource

type UsersRevokeTokenResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("token" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #

A resource alias for androidenterprise.users.revokeToken method which the UsersRevokeToken request conforms to.

Creating a Request

usersRevokeToken Source #

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

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

data UsersRevokeToken Source #

Revokes a previously generated token (activation code) for the user.

See: usersRevokeToken smart constructor.

Instances
Eq UsersRevokeToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

Data UsersRevokeToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

Methods

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

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

toConstr :: UsersRevokeToken -> Constr #

dataTypeOf :: UsersRevokeToken -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersRevokeToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

Generic UsersRevokeToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

Associated Types

type Rep UsersRevokeToken :: Type -> Type #

GoogleRequest UsersRevokeToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

Associated Types

type Rs UsersRevokeToken :: Type #

type Scopes UsersRevokeToken :: [Symbol] #

type Rep UsersRevokeToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

type Rep UsersRevokeToken = D1 (MetaData "UsersRevokeToken" "Network.Google.Resource.AndroidEnterprise.Users.RevokeToken" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "UsersRevokeToken'" PrefixI True) (S1 (MetaSel (Just "_urtEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_urtUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersRevokeToken Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

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

Defined in Network.Google.Resource.AndroidEnterprise.Users.RevokeToken

Request Lenses

urtEnterpriseId :: Lens' UsersRevokeToken Text Source #

The ID of the enterprise.