gogol-games-0.2.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.Events.Record

Contents

Description

Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.

See: Google Play Game Services API Reference for games.events.record.

Synopsis

REST Resource

type EventsRecordResource = "games" :> ("v1" :> ("events" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EventRecordRequest :> Post '[JSON] EventUpdateResponse)))))) Source #

A resource alias for games.events.record method which the EventsRecord request conforms to.

Creating a Request

eventsRecord Source #

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

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

data EventsRecord Source #

Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.

See: eventsRecord smart constructor.

Instances

Eq EventsRecord Source # 
Data EventsRecord Source # 

Methods

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

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

toConstr :: EventsRecord -> Constr #

dataTypeOf :: EventsRecord -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsRecord Source # 
Generic EventsRecord Source # 

Associated Types

type Rep EventsRecord :: * -> * #

GoogleRequest EventsRecord Source # 

Associated Types

type Rs EventsRecord :: * #

type Scopes EventsRecord :: [Symbol] #

type Rep EventsRecord Source # 
type Rep EventsRecord = D1 (MetaData "EventsRecord" "Network.Google.Resource.Games.Events.Record" "gogol-games-0.2.0-KphkSErLqFDEpZZf11weia" False) (C1 (MetaCons "EventsRecord'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_erConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_erPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EventRecordRequest)) (S1 (MetaSel (Just Symbol "_erLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EventsRecord Source # 
type Scopes EventsRecord = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs EventsRecord Source # 

Request Lenses

erConsistencyToken :: Lens' EventsRecord (Maybe Int64) Source #

The last-seen mutation timestamp.

erPayload :: Lens' EventsRecord EventRecordRequest Source #

Multipart request metadata.

erLanguage :: Lens' EventsRecord (Maybe Text) Source #

The preferred language to use for strings returned by this method.