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

Defined in Network.Google.Resource.Games.Events.Record

Data EventsRecord Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.Record

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

Defined in Network.Google.Resource.Games.Events.Record

Generic EventsRecord Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.Record

Associated Types

type Rep EventsRecord :: Type -> Type #

GoogleRequest EventsRecord Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.Record

Associated Types

type Rs EventsRecord :: Type #

type Scopes EventsRecord :: [Symbol] #

type Rep EventsRecord Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.Record

type Rep EventsRecord = D1 (MetaData "EventsRecord" "Network.Google.Resource.Games.Events.Record" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "EventsRecord'" PrefixI True) (S1 (MetaSel (Just "_erPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EventRecordRequest) :*: S1 (MetaSel (Just "_erLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Scopes EventsRecord Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.Record

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

Defined in Network.Google.Resource.Games.Events.Record

Request Lenses

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.