gogol-games-0.3.0: Google Play Game Services 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.Games.Pushtokens.Remove

Contents

Description

Removes a push token for the current user and application. Removing a non-existent push token will report success.

See: Google Play Game Services API Reference for games.pushtokens.remove.

Synopsis

REST Resource

type PushtokensRemoveResource = "games" :> ("v1" :> ("pushtokens" :> ("remove" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PushTokenId :> Post '[JSON] ())))))) Source #

A resource alias for games.pushtokens.remove method which the PushtokensRemove request conforms to.

Creating a Request

pushtokensRemove Source #

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

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

data PushtokensRemove Source #

Removes a push token for the current user and application. Removing a non-existent push token will report success.

See: pushtokensRemove smart constructor.

Instances

Eq PushtokensRemove Source # 
Data PushtokensRemove Source # 

Methods

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

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

toConstr :: PushtokensRemove -> Constr #

dataTypeOf :: PushtokensRemove -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PushtokensRemove Source # 
Generic PushtokensRemove Source # 
GoogleRequest PushtokensRemove Source # 
type Rep PushtokensRemove Source # 
type Rep PushtokensRemove = D1 (MetaData "PushtokensRemove" "Network.Google.Resource.Games.Pushtokens.Remove" "gogol-games-0.3.0-8BCKppY4rzpLLml8wyBtKz" False) (C1 (MetaCons "PushtokensRemove'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_prConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_prPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PushTokenId))))
type Scopes PushtokensRemove Source # 
type Scopes PushtokensRemove = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs PushtokensRemove Source # 

Request Lenses

prConsistencyToken :: Lens' PushtokensRemove (Maybe Int64) Source #

The last-seen mutation timestamp.

prPayload :: Lens' PushtokensRemove PushTokenId Source #

Multipart request metadata.