gogol-games-0.4.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 "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 # 
Instance details

Defined in Network.Google.Resource.Games.Pushtokens.Remove

Data PushtokensRemove Source # 
Instance details

Defined in Network.Google.Resource.Games.Pushtokens.Remove

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 # 
Instance details

Defined in Network.Google.Resource.Games.Pushtokens.Remove

Generic PushtokensRemove Source # 
Instance details

Defined in Network.Google.Resource.Games.Pushtokens.Remove

Associated Types

type Rep PushtokensRemove :: Type -> Type #

GoogleRequest PushtokensRemove Source # 
Instance details

Defined in Network.Google.Resource.Games.Pushtokens.Remove

Associated Types

type Rs PushtokensRemove :: Type #

type Scopes PushtokensRemove :: [Symbol] #

type Rep PushtokensRemove Source # 
Instance details

Defined in Network.Google.Resource.Games.Pushtokens.Remove

type Rep PushtokensRemove = D1 (MetaData "PushtokensRemove" "Network.Google.Resource.Games.Pushtokens.Remove" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" True) (C1 (MetaCons "PushtokensRemove'" PrefixI True) (S1 (MetaSel (Just "_prPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PushTokenId)))
type Scopes PushtokensRemove Source # 
Instance details

Defined in Network.Google.Resource.Games.Pushtokens.Remove

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

Defined in Network.Google.Resource.Games.Pushtokens.Remove

Request Lenses

prPayload :: Lens' PushtokensRemove PushTokenId Source #

Multipart request metadata.