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

Contents

Description

Registers a push token for the current user and application.

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

Synopsis

REST Resource

type PushtokensUpdateResource = "games" :> ("v1" :> ("pushtokens" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PushToken :> Put '[JSON] ())))) Source #

A resource alias for games.pushtokens.update method which the PushtokensUpdate request conforms to.

Creating a Request

pushtokensUpdate Source #

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

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

data PushtokensUpdate Source #

Registers a push token for the current user and application.

See: pushtokensUpdate smart constructor.

Instances
Eq PushtokensUpdate Source # 
Instance details

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

Data PushtokensUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: PushtokensUpdate -> Constr #

dataTypeOf :: PushtokensUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PushtokensUpdate Source # 
Instance details

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

Generic PushtokensUpdate Source # 
Instance details

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

Associated Types

type Rep PushtokensUpdate :: Type -> Type #

GoogleRequest PushtokensUpdate Source # 
Instance details

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

Associated Types

type Rs PushtokensUpdate :: Type #

type Scopes PushtokensUpdate :: [Symbol] #

type Rep PushtokensUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

puPayload :: Lens' PushtokensUpdate PushToken Source #

Multipart request metadata.