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.Games.Types

Contents

Description

 
Synopsis

Service Configuration

gamesService :: ServiceConfig Source #

Default request referring to version v1 of the Google Play Game Services API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

gamesScope :: Proxy '["https://www.googleapis.com/auth/games"] Source #

Share your Google+ profile information and view and manage your game activity

driveAppDataScope :: Proxy '["https://www.googleapis.com/auth/drive.appdata"] Source #

View and manage its own configuration data in your Google Drive

PlayersListCollection

data PlayersListCollection Source #

Collection of players being retrieved

Constructors

PlayedWith

played_with Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.

Instances
Enum PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Eq PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Data PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Methods

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

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

toConstr :: PlayersListCollection -> Constr #

dataTypeOf :: PlayersListCollection -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Read PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Show PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Generic PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Associated Types

type Rep PlayersListCollection :: Type -> Type #

Hashable PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

ToJSON PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

FromJSON PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

FromHttpApiData PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

ToHttpApiData PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

type Rep PlayersListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

type Rep PlayersListCollection = D1 (MetaData "PlayersListCollection" "Network.Google.Games.Types.Sum" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "PlayedWith" PrefixI False) (U1 :: Type -> Type))

RoomJoinRequest

data RoomJoinRequest Source #

This is a JSON template for a join room request.

See: roomJoinRequest smart constructor.

Instances
Eq RoomJoinRequest Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data RoomJoinRequest Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: RoomJoinRequest -> Constr #

dataTypeOf :: RoomJoinRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoomJoinRequest Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic RoomJoinRequest Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep RoomJoinRequest :: Type -> Type #

ToJSON RoomJoinRequest Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON RoomJoinRequest Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep RoomJoinRequest Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep RoomJoinRequest = D1 (MetaData "RoomJoinRequest" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "RoomJoinRequest'" PrefixI True) ((S1 (MetaSel (Just "_rjrNetworkDiagnostics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkDiagnostics)) :*: S1 (MetaSel (Just "_rjrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rjrClientAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RoomClientAddress)) :*: S1 (MetaSel (Just "_rjrCapabilities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

roomJoinRequest :: RoomJoinRequest Source #

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

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

rjrNetworkDiagnostics :: Lens' RoomJoinRequest (Maybe NetworkDiagnostics) Source #

Network diagnostics for the client joining the room.

rjrKind :: Lens' RoomJoinRequest Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#roomJoinRequest.

rjrClientAddress :: Lens' RoomJoinRequest (Maybe RoomClientAddress) Source #

Client address for the player joining the room.

rjrCapabilities :: Lens' RoomJoinRequest [Text] Source #

The capabilities that this client supports for realtime communication.

PlayerName

data PlayerName Source #

An object representation of the individual components of the player's name. For some players, these fields may not be present.

See: playerName smart constructor.

Instances
Eq PlayerName Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data PlayerName Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: PlayerName -> Constr #

dataTypeOf :: PlayerName -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlayerName Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic PlayerName Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep PlayerName :: Type -> Type #

ToJSON PlayerName Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON PlayerName Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PlayerName Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PlayerName = D1 (MetaData "PlayerName" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "PlayerName'" PrefixI True) (S1 (MetaSel (Just "_pnGivenName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pnFamilyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

playerName :: PlayerName Source #

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

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

pnGivenName :: Lens' PlayerName (Maybe Text) Source #

The given name of this player. In some places, this is known as the first name.

pnFamilyName :: Lens' PlayerName (Maybe Text) Source #

The family name of this player. In some places, this is known as the last name.

Snapshot

data Snapshot Source #

This is a JSON template for an snapshot object.

See: snapshot smart constructor.

Instances
Eq Snapshot Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data Snapshot Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: Snapshot -> Constr #

dataTypeOf :: Snapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Snapshot Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic Snapshot Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep Snapshot :: Type -> Type #

Methods

from :: Snapshot -> Rep Snapshot x #

to :: Rep Snapshot x -> Snapshot #

ToJSON Snapshot Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON Snapshot Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep Snapshot Source # 
Instance details

Defined in Network.Google.Games.Types.Product

snapshot :: Snapshot Source #

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

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

sLastModifiedMillis :: Lens' Snapshot (Maybe Int64) Source #

The timestamp (in millis since Unix epoch) of the last modification to this snapshot.

sKind :: Lens' Snapshot Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#snapshot.

sProgressValue :: Lens' Snapshot (Maybe Int64) Source #

The progress value (64-bit integer set by developer) associated with this snapshot.

sUniqueName :: Lens' Snapshot (Maybe Text) Source #

The unique name provided when the snapshot was created.

sCoverImage :: Lens' Snapshot (Maybe SnapshotImage) Source #

The cover image of this snapshot. May be absent if there is no image.

sId :: Lens' Snapshot (Maybe Text) Source #

The ID of the snapshot.

sDurationMillis :: Lens' Snapshot (Maybe Int64) Source #

The duration associated with this snapshot, in millis.

sTitle :: Lens' Snapshot (Maybe Text) Source #

The title of this snapshot.

sType :: Lens' Snapshot (Maybe Text) Source #

The type of this snapshot. Possible values are: - "SAVE_GAME" - A snapshot representing a save game.

sDescription :: Lens' Snapshot (Maybe Text) Source #

The description of this snapshot.

sDriveId :: Lens' Snapshot (Maybe Text) Source #

The ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.

Room

data Room Source #

This is a JSON template for a room resource object.

See: room smart constructor.

Instances
Eq Room Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

(==) :: Room -> Room -> Bool #

(/=) :: Room -> Room -> Bool #

Data Room Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: Room -> Constr #

dataTypeOf :: Room -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Room Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

showsPrec :: Int -> Room -> ShowS #

show :: Room -> String #

showList :: [Room] -> ShowS #

Generic Room Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep Room :: Type -> Type #

Methods

from :: Room -> Rep Room x #

to :: Rep Room x -> Room #

ToJSON Room Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON Room Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep Room Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep Room = D1 (MetaData "Room" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "Room'" PrefixI True) (((S1 (MetaSel (Just "_rStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rVariant") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_rKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_rAutoMatchingStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RoomAutoMatchStatus)) :*: (S1 (MetaSel (Just "_rCreationDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RoomModification)) :*: S1 (MetaSel (Just "_rInviterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_rLastUpdateDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RoomModification)) :*: (S1 (MetaSel (Just "_rRoomStatusVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_rParticipants") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RoomParticipant])))) :*: ((S1 (MetaSel (Just "_rApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rAutoMatchingCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RoomAutoMatchingCriteria))) :*: (S1 (MetaSel (Just "_rRoomId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

room :: Room Source #

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

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

rStatus :: Lens' Room (Maybe Text) Source #

The status of the room. Possible values are: - "ROOM_INVITING" - One or more players have been invited and not responded. - "ROOM_AUTO_MATCHING" - One or more slots need to be filled by auto-matching. - "ROOM_CONNECTING" - Players have joined and are connecting to each other (either before or after auto-matching). - "ROOM_ACTIVE" - All players have joined and connected to each other. - "ROOM_DELETED" - The room should no longer be shown on the client. Returned in sync calls when a player joins a room (as a tombstone), or for rooms where all joined participants have left.

rVariant :: Lens' Room (Maybe Int32) Source #

The variant / mode of the application being played; can be any integer value, or left blank.

rKind :: Lens' Room Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#room.

rAutoMatchingStatus :: Lens' Room (Maybe RoomAutoMatchStatus) Source #

Auto-matching status for this room. Not set if the room is not currently in the auto-matching queue.

rCreationDetails :: Lens' Room (Maybe RoomModification) Source #

Details about the room creation.

rInviterId :: Lens' Room (Maybe Text) Source #

The ID of the participant that invited the user to the room. Not set if the user was not invited to the room.

rLastUpdateDetails :: Lens' Room (Maybe RoomModification) Source #

Details about the last update to the room.

rRoomStatusVersion :: Lens' Room (Maybe Int32) Source #

The version of the room status: an increasing counter, used by the client to ignore out-of-order updates to room status.

rParticipants :: Lens' Room [RoomParticipant] Source #

The participants involved in the room, along with their statuses. Includes participants who have left or declined invitations.

rApplicationId :: Lens' Room (Maybe Text) Source #

The ID of the application being played.

rAutoMatchingCriteria :: Lens' Room (Maybe RoomAutoMatchingCriteria) Source #

Criteria for auto-matching players into this room.

rRoomId :: Lens' Room (Maybe Text) Source #

Globally unique ID for a room.

rDescription :: Lens' Room (Maybe Text) Source #

This short description is generated by our servers and worded relative to the player requesting the room. It is intended to be displayed when the room is shown in a list (that is, an invitation to a room.)

QuestListResponse

data QuestListResponse Source #

This is a JSON template for a list of quest objects.

See: questListResponse smart constructor.

Instances
Eq QuestListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data QuestListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: QuestListResponse -> Constr #

dataTypeOf :: QuestListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuestListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic QuestListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep QuestListResponse :: Type -> Type #

ToJSON QuestListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON QuestListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep QuestListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep QuestListResponse = D1 (MetaData "QuestListResponse" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "QuestListResponse'" PrefixI True) (S1 (MetaSel (Just "_qlrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_qlrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_qlrItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Quest])))))

questListResponse :: QuestListResponse Source #

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

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

qlrNextPageToken :: Lens' QuestListResponse (Maybe Text) Source #

Token corresponding to the next page of results.

qlrKind :: Lens' QuestListResponse Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#questListResponse.

TurnBasedMatch

data TurnBasedMatch Source #

This is a JSON template for a turn-based match resource object.

See: turnBasedMatch smart constructor.

Instances
Eq TurnBasedMatch Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data TurnBasedMatch Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: TurnBasedMatch -> Constr #

dataTypeOf :: TurnBasedMatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatch Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic TurnBasedMatch Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep TurnBasedMatch :: Type -> Type #

ToJSON TurnBasedMatch Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON TurnBasedMatch Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatch Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatch = D1 (MetaData "TurnBasedMatch" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "TurnBasedMatch'" PrefixI True) ((((S1 (MetaSel (Just "_tbmStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tbmVariant") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_tbmResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParticipantResult])) :*: (S1 (MetaSel (Just "_tbmMatchNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_tbmKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) :*: ((S1 (MetaSel (Just "_tbmData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TurnBasedMatchData)) :*: S1 (MetaSel (Just "_tbmWithParticipantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tbmCreationDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TurnBasedMatchModification)) :*: (S1 (MetaSel (Just "_tbmInviterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tbmLastUpdateDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TurnBasedMatchModification)))))) :*: (((S1 (MetaSel (Just "_tbmParticipants") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TurnBasedMatchParticipant])) :*: S1 (MetaSel (Just "_tbmApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tbmAutoMatchingCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TurnBasedAutoMatchingCriteria)) :*: (S1 (MetaSel (Just "_tbmPreviousMatchData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TurnBasedMatchData)) :*: S1 (MetaSel (Just "_tbmPendingParticipantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_tbmUserMatchStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tbmMatchId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tbmDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tbmRematchId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tbmMatchVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))))

tbmStatus :: Lens' TurnBasedMatch (Maybe Text) Source #

The status of the match. Possible values are: - "MATCH_AUTO_MATCHING" - One or more slots need to be filled by auto-matching; the match cannot be established until they are filled. - "MATCH_ACTIVE" - The match has started. - "MATCH_COMPLETE" - The match has finished. - "MATCH_CANCELED" - The match was canceled. - "MATCH_EXPIRED" - The match expired due to inactivity. - "MATCH_DELETED" - The match should no longer be shown on the client. Returned only for tombstones for matches when sync is called.

tbmVariant :: Lens' TurnBasedMatch (Maybe Int32) Source #

The variant / mode of the application being played; can be any integer value, or left blank.

tbmResults :: Lens' TurnBasedMatch [ParticipantResult] Source #

The results reported for this match.

tbmMatchNumber :: Lens' TurnBasedMatch (Maybe Int32) Source #

The number of the match in a chain of rematches. Will be set to 1 for the first match and incremented by 1 for each rematch.

tbmKind :: Lens' TurnBasedMatch Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatch.

tbmData :: Lens' TurnBasedMatch (Maybe TurnBasedMatchData) Source #

The data / game state for this match.

tbmWithParticipantId :: Lens' TurnBasedMatch (Maybe Text) Source #

The ID of another participant in the match that can be used when describing the participants the user is playing with.

tbmInviterId :: Lens' TurnBasedMatch (Maybe Text) Source #

The ID of the participant that invited the user to the match. Not set if the user was not invited to the match.

tbmLastUpdateDetails :: Lens' TurnBasedMatch (Maybe TurnBasedMatchModification) Source #

Details about the last update to the match.

tbmParticipants :: Lens' TurnBasedMatch [TurnBasedMatchParticipant] Source #

The participants involved in the match, along with their statuses. Includes participants who have left or declined invitations.

tbmApplicationId :: Lens' TurnBasedMatch (Maybe Text) Source #

The ID of the application being played.

tbmAutoMatchingCriteria :: Lens' TurnBasedMatch (Maybe TurnBasedAutoMatchingCriteria) Source #

Criteria for auto-matching players into this match.

tbmPreviousMatchData :: Lens' TurnBasedMatch (Maybe TurnBasedMatchData) Source #

The data / game state for the previous match; set for the first turn of rematches only.

tbmPendingParticipantId :: Lens' TurnBasedMatch (Maybe Text) Source #

The ID of the participant that is taking a turn.

tbmUserMatchStatus :: Lens' TurnBasedMatch (Maybe Text) Source #

The status of the current user in the match. Derived from the match type, match status, the user's participant status, and the pending participant for the match. Possible values are: - "USER_INVITED" - The user has been invited to join the match and has not responded yet. - "USER_AWAITING_TURN" - The user is waiting for their turn. - "USER_TURN" - The user has an action to take in the match. - "USER_MATCH_COMPLETED" - The match has ended (it is completed, canceled, or expired.)

tbmMatchId :: Lens' TurnBasedMatch (Maybe Text) Source #

Globally unique ID for a turn-based match.

tbmDescription :: Lens' TurnBasedMatch (Maybe Text) Source #

This short description is generated by our servers based on turn state and is localized and worded relative to the player requesting the match. It is intended to be displayed when the match is shown in a list.

tbmRematchId :: Lens' TurnBasedMatch (Maybe Text) Source #

The ID of a rematch of this match. Only set for completed matches that have been rematched.

tbmMatchVersion :: Lens' TurnBasedMatch (Maybe Int32) Source #

The version of this match: an increasing counter, used to avoid out-of-date updates to the match.

TurnBasedMatchData

data TurnBasedMatchData Source #

This is a JSON template for a turn-based match data object.

See: turnBasedMatchData smart constructor.

Instances
Eq TurnBasedMatchData Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data TurnBasedMatchData Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: TurnBasedMatchData -> Constr #

dataTypeOf :: TurnBasedMatchData -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchData Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic TurnBasedMatchData Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep TurnBasedMatchData :: Type -> Type #

ToJSON TurnBasedMatchData Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON TurnBasedMatchData Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatchData Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatchData = D1 (MetaData "TurnBasedMatchData" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "TurnBasedMatchData'" PrefixI True) (S1 (MetaSel (Just "_tbmdKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_tbmdData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_tbmdDataAvailable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

turnBasedMatchData :: TurnBasedMatchData Source #

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

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

tbmdKind :: Lens' TurnBasedMatchData Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchData.

tbmdData :: Lens' TurnBasedMatchData (Maybe ByteString) Source #

The byte representation of the data (limited to 128 kB), as a Base64-encoded string with the URL_SAFE encoding option.

tbmdDataAvailable :: Lens' TurnBasedMatchData (Maybe Bool) Source #

True if this match has data available but it wasn't returned in a list response; fetching the match individually will retrieve this data.

ScoresListCollection

data ScoresListCollection Source #

The collection of scores you're requesting.

Constructors

Public

PUBLIC List all scores in the public leaderboard.

Social

SOCIAL List only social scores.

Social1P

SOCIAL_1P List only social scores, not respecting the fACL.

Instances
Enum ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Eq ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Data ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Methods

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

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

toConstr :: ScoresListCollection -> Constr #

dataTypeOf :: ScoresListCollection -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Read ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Show ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Generic ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

Associated Types

type Rep ScoresListCollection :: Type -> Type #

Hashable ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

ToJSON ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

FromJSON ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

FromHttpApiData ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

ToHttpApiData ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

type Rep ScoresListCollection Source # 
Instance details

Defined in Network.Google.Games.Types.Sum

type Rep ScoresListCollection = D1 (MetaData "ScoresListCollection" "Network.Google.Games.Types.Sum" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "Public" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Social" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Social1P" PrefixI False) (U1 :: Type -> Type)))

PlayerEvent

data PlayerEvent Source #

This is a JSON template for an event status resource.

See: playerEvent smart constructor.

Instances
Eq PlayerEvent Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data PlayerEvent Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: PlayerEvent -> Constr #

dataTypeOf :: PlayerEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlayerEvent Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic PlayerEvent Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep PlayerEvent :: Type -> Type #

ToJSON PlayerEvent Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON PlayerEvent Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PlayerEvent Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PlayerEvent = D1 (MetaData "PlayerEvent" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "PlayerEvent'" PrefixI True) ((S1 (MetaSel (Just "_peKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_peNumEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) :*: (S1 (MetaSel (Just "_peFormattedNumEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_peDefinitionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pePlayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

playerEvent :: PlayerEvent Source #

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

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

peKind :: Lens' PlayerEvent Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.

peNumEvents :: Lens' PlayerEvent (Maybe Int64) Source #

The current number of times this event has occurred.

peFormattedNumEvents :: Lens' PlayerEvent (Maybe Text) Source #

The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.

peDefinitionId :: Lens' PlayerEvent (Maybe Text) Source #

The ID of the event definition.

pePlayerId :: Lens' PlayerEvent (Maybe Text) Source #

The ID of the player.

PlayerLeaderboardScore

data PlayerLeaderboardScore Source #

This is a JSON template for a player leaderboard score object.

See: playerLeaderboardScore smart constructor.

Instances
Eq PlayerLeaderboardScore Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data PlayerLeaderboardScore Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: PlayerLeaderboardScore -> Constr #

dataTypeOf :: PlayerLeaderboardScore -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlayerLeaderboardScore Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic PlayerLeaderboardScore Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep PlayerLeaderboardScore :: Type -> Type #

ToJSON PlayerLeaderboardScore Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON PlayerLeaderboardScore Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PlayerLeaderboardScore Source # 
Instance details

Defined in Network.Google.Games.Types.Product

playerLeaderboardScore :: PlayerLeaderboardScore Source #

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

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

plsScoreTag :: Lens' PlayerLeaderboardScore (Maybe Text) Source #

Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.

plsScoreString :: Lens' PlayerLeaderboardScore (Maybe Text) Source #

The formatted value of this score.

plsKind :: Lens' PlayerLeaderboardScore Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#playerLeaderboardScore.

plsScoreValue :: Lens' PlayerLeaderboardScore (Maybe Int64) Source #

The numerical value of this score.

plsTimeSpan :: Lens' PlayerLeaderboardScore (Maybe Text) Source #

The time span of this score. Possible values are: - "ALL_TIME" - The score is an all-time score. - "WEEKLY" - The score is a weekly score. - "DAILY" - The score is a daily score.

plsPublicRank :: Lens' PlayerLeaderboardScore (Maybe LeaderboardScoreRank) Source #

The public rank of the score in this leaderboard. This object will not be present if the user is not sharing their scores publicly.

plsSocialRank :: Lens' PlayerLeaderboardScore (Maybe LeaderboardScoreRank) Source #

The social rank of the score in this leaderboard.

plsLeaderboardId :: Lens' PlayerLeaderboardScore (Maybe Text) Source #

The ID of the leaderboard this score is in.

plsWriteTimestamp :: Lens' PlayerLeaderboardScore (Maybe Int64) Source #

The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.

Application

data Application Source #

This is a JSON template for the Application resource.

See: application smart constructor.

Instances
Eq Application Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data Application Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: Application -> Constr #

dataTypeOf :: Application -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Application Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic Application Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep Application :: Type -> Type #

ToJSON Application Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON Application Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep Application Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep Application = D1 (MetaData "Application" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "Application'" PrefixI True) (((S1 (MetaSel (Just "_aThemeColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aLeaderboardCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_aKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_aCategory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ApplicationCategory)) :*: (S1 (MetaSel (Just "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aEnabledFeatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 (MetaSel (Just "_aInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Instance])) :*: (S1 (MetaSel (Just "_aAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_aAchievementCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_aAssets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ImageAsset]))) :*: (S1 (MetaSel (Just "_aDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))))

application :: Application Source #

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

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

aThemeColor :: Lens' Application (Maybe Text) Source #

A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. "E0E0E0").

aLeaderboardCount :: Lens' Application (Maybe Int32) Source #

The number of leaderboards visible to the currently authenticated player.

aKind :: Lens' Application Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#application.

aCategory :: Lens' Application (Maybe ApplicationCategory) Source #

The category of the application.

aName :: Lens' Application (Maybe Text) Source #

The name of the application.

aEnabledFeatures :: Lens' Application [Text] Source #

A list of features that have been enabled for the application. Possible values are: - "SNAPSHOTS" - Snapshots has been enabled

aInstances :: Lens' Application [Instance] Source #

The instances of the application.

aAuthor :: Lens' Application (Maybe Text) Source #

The author of the application.

aId :: Lens' Application (Maybe Text) Source #

The ID of the application.

aAchievementCount :: Lens' Application (Maybe Int32) Source #

The number of achievements visible to the currently authenticated player.

aAssets :: Lens' Application [ImageAsset] Source #

The assets of the application.

aDescription :: Lens' Application (Maybe Text) Source #

The description of the application.

aLastUpdatedTimestamp :: Lens' Application (Maybe Int64) Source #

The last updated timestamp of the application.

ApplicationCategory

data ApplicationCategory Source #

This is a JSON template for an application category object.

See: applicationCategory smart constructor.

Instances
Eq ApplicationCategory Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data ApplicationCategory Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: ApplicationCategory -> Constr #

dataTypeOf :: ApplicationCategory -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ApplicationCategory Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic ApplicationCategory Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep ApplicationCategory :: Type -> Type #

ToJSON ApplicationCategory Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON ApplicationCategory Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep ApplicationCategory Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep ApplicationCategory = D1 (MetaData "ApplicationCategory" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "ApplicationCategory'" PrefixI True) (S1 (MetaSel (Just "_acSecondary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_acKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_acPrimary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

applicationCategory :: ApplicationCategory Source #

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

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

acSecondary :: Lens' ApplicationCategory (Maybe Text) Source #

The secondary category.

acKind :: Lens' ApplicationCategory Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#applicationCategory.

PlayerScoreListResponse

data PlayerScoreListResponse Source #

This is a JSON template for a list of score submission statuses.

See: playerScoreListResponse smart constructor.

Instances
Eq PlayerScoreListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data PlayerScoreListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: PlayerScoreListResponse -> Constr #

dataTypeOf :: PlayerScoreListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlayerScoreListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic PlayerScoreListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep PlayerScoreListResponse :: Type -> Type #

ToJSON PlayerScoreListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON PlayerScoreListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PlayerScoreListResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PlayerScoreListResponse = D1 (MetaData "PlayerScoreListResponse" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "PlayerScoreListResponse'" PrefixI True) (S1 (MetaSel (Just "_pslrSubmittedScores") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PlayerScoreResponse])) :*: S1 (MetaSel (Just "_pslrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

playerScoreListResponse :: PlayerScoreListResponse Source #

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

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

pslrKind :: Lens' PlayerScoreListResponse Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#playerScoreListResponse.

NetworkDiagnostics

data NetworkDiagnostics Source #

This is a JSON template for network diagnostics reported for a client.

See: networkDiagnostics smart constructor.

Instances
Eq NetworkDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data NetworkDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: NetworkDiagnostics -> Constr #

dataTypeOf :: NetworkDiagnostics -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NetworkDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic NetworkDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep NetworkDiagnostics :: Type -> Type #

ToJSON NetworkDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON NetworkDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep NetworkDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep NetworkDiagnostics = D1 (MetaData "NetworkDiagnostics" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "NetworkDiagnostics'" PrefixI True) ((S1 (MetaSel (Just "_ndAndroidNetworkType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_ndKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ndNetworkOperatorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ndNetworkOperatorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ndRegistrationLatencyMillis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_ndIosNetworkType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_ndAndroidNetworkSubtype") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

networkDiagnostics :: NetworkDiagnostics Source #

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

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

ndKind :: Lens' NetworkDiagnostics Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#networkDiagnostics.

ndNetworkOperatorCode :: Lens' NetworkDiagnostics (Maybe Text) Source #

The MCC+MNC code for the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html

ndNetworkOperatorName :: Lens' NetworkDiagnostics (Maybe Text) Source #

The name of the carrier of the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName

ndRegistrationLatencyMillis :: Lens' NetworkDiagnostics (Maybe Int32) Source #

The amount of time in milliseconds it took for the client to establish a connection with the XMPP server.

ndIosNetworkType :: Lens' NetworkDiagnostics (Maybe Int32) Source #

iOS network type as defined in Reachability.h.

TurnBasedMatchTurn

data TurnBasedMatchTurn Source #

This is a JSON template for the object representing a turn.

See: turnBasedMatchTurn smart constructor.

Instances
Eq TurnBasedMatchTurn Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data TurnBasedMatchTurn Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: TurnBasedMatchTurn -> Constr #

dataTypeOf :: TurnBasedMatchTurn -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchTurn Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic TurnBasedMatchTurn Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep TurnBasedMatchTurn :: Type -> Type #

ToJSON TurnBasedMatchTurn Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON TurnBasedMatchTurn Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatchTurn Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatchTurn = D1 (MetaData "TurnBasedMatchTurn" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "TurnBasedMatchTurn'" PrefixI True) ((S1 (MetaSel (Just "_tbmtResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParticipantResult])) :*: S1 (MetaSel (Just "_tbmtKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tbmtData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TurnBasedMatchDataRequest)) :*: (S1 (MetaSel (Just "_tbmtPendingParticipantId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tbmtMatchVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

turnBasedMatchTurn :: TurnBasedMatchTurn Source #

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

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

tbmtResults :: Lens' TurnBasedMatchTurn [ParticipantResult] Source #

The match results for the participants in the match.

tbmtKind :: Lens' TurnBasedMatchTurn Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchTurn.

tbmtData :: Lens' TurnBasedMatchTurn (Maybe TurnBasedMatchDataRequest) Source #

The shared game state data after the turn is over.

tbmtPendingParticipantId :: Lens' TurnBasedMatchTurn (Maybe Text) Source #

The ID of the participant who should take their turn next. May be set to the current player's participant ID to update match state without changing the turn. If not set, the match will wait for other player(s) to join via automatching; this is only valid if automatch criteria is set on the match with remaining slots for automatched players.

tbmtMatchVersion :: Lens' TurnBasedMatchTurn (Maybe Int32) Source #

The version of this match: an increasing counter, used to avoid out-of-date updates to the match.

QuestCriterion

data QuestCriterion Source #

This is a JSON template for a Quest Criterion resource.

See: questCriterion smart constructor.

Instances
Eq QuestCriterion Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data QuestCriterion Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: QuestCriterion -> Constr #

dataTypeOf :: QuestCriterion -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuestCriterion Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic QuestCriterion Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep QuestCriterion :: Type -> Type #

ToJSON QuestCriterion Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON QuestCriterion Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep QuestCriterion Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep QuestCriterion = D1 (MetaData "QuestCriterion" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "QuestCriterion'" PrefixI True) ((S1 (MetaSel (Just "_qcCurrentContribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QuestContribution)) :*: S1 (MetaSel (Just "_qcCompletionContribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QuestContribution))) :*: (S1 (MetaSel (Just "_qcKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_qcInitialPlayerProgress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QuestContribution)) :*: S1 (MetaSel (Just "_qcEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

questCriterion :: QuestCriterion Source #

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

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

qcCurrentContribution :: Lens' QuestCriterion (Maybe QuestContribution) Source #

The number of increments the player has made toward the completion count event increments required to complete the quest. This value will not exceed the completion contribution. There will be no currentContribution until the player has accepted the quest.

qcCompletionContribution :: Lens' QuestCriterion (Maybe QuestContribution) Source #

The total number of times the associated event must be incremented for the player to complete this quest.

qcKind :: Lens' QuestCriterion Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#questCriterion.

qcInitialPlayerProgress :: Lens' QuestCriterion (Maybe QuestContribution) Source #

The value of the event associated with this quest at the time that the quest was accepted. This value may change if event increments that took place before the start of quest are uploaded after the quest starts. There will be no initialPlayerProgress until the player has accepted the quest.

qcEventId :: Lens' QuestCriterion (Maybe Text) Source #

The ID of the event the criterion corresponds to.

TurnBasedMatchList

data TurnBasedMatchList Source #

This is a JSON template for a list of turn-based matches.

See: turnBasedMatchList smart constructor.

Instances
Eq TurnBasedMatchList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data TurnBasedMatchList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: TurnBasedMatchList -> Constr #

dataTypeOf :: TurnBasedMatchList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic TurnBasedMatchList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep TurnBasedMatchList :: Type -> Type #

ToJSON TurnBasedMatchList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON TurnBasedMatchList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatchList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep TurnBasedMatchList = D1 (MetaData "TurnBasedMatchList" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "TurnBasedMatchList'" PrefixI True) (S1 (MetaSel (Just "_tbmlNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tbmlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tbmlItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TurnBasedMatch])))))

turnBasedMatchList :: TurnBasedMatchList Source #

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

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

tbmlNextPageToken :: Lens' TurnBasedMatchList (Maybe Text) Source #

The pagination token for the next page of results.

tbmlKind :: Lens' TurnBasedMatchList Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchList.

PeerChannelDiagnostics

data PeerChannelDiagnostics Source #

This is a JSON template for peer channel diagnostics.

See: peerChannelDiagnostics smart constructor.

Instances
Eq PeerChannelDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data PeerChannelDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: PeerChannelDiagnostics -> Constr #

dataTypeOf :: PeerChannelDiagnostics -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PeerChannelDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic PeerChannelDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep PeerChannelDiagnostics :: Type -> Type #

ToJSON PeerChannelDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON PeerChannelDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PeerChannelDiagnostics Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PeerChannelDiagnostics = D1 (MetaData "PeerChannelDiagnostics" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "PeerChannelDiagnostics'" PrefixI True) (((S1 (MetaSel (Just "_pcdNumMessagesLost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pcdBytesSent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AggregateStats))) :*: (S1 (MetaSel (Just "_pcdKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pcdRoundtripLatencyMillis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AggregateStats)))) :*: ((S1 (MetaSel (Just "_pcdBytesReceived") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AggregateStats)) :*: S1 (MetaSel (Just "_pcdNumMessagesReceived") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_pcdNumSendFailures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pcdNumMessagesSent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

peerChannelDiagnostics :: PeerChannelDiagnostics Source #

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

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

pcdKind :: Lens' PeerChannelDiagnostics Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#peerChannelDiagnostics.

RoomList

data RoomList Source #

This is a JSON template for a list of rooms.

See: roomList smart constructor.

Instances
Eq RoomList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data RoomList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: RoomList -> Constr #

dataTypeOf :: RoomList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoomList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic RoomList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep RoomList :: Type -> Type #

Methods

from :: RoomList -> Rep RoomList x #

to :: Rep RoomList x -> RoomList #

ToJSON RoomList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON RoomList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep RoomList Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep RoomList = D1 (MetaData "RoomList" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "RoomList'" PrefixI True) (S1 (MetaSel (Just "_rlNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rlItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Room])))))

roomList :: RoomList Source #

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

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

rlNextPageToken :: Lens' RoomList (Maybe Text) Source #

The pagination token for the next page of results.

rlKind :: Lens' RoomList Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#roomList.

PushToken

data PushToken Source #

This is a JSON template for a push token resource.

See: pushToken smart constructor.

Instances
Eq PushToken Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data PushToken Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: PushToken -> Constr #

dataTypeOf :: PushToken -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PushToken Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic PushToken Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep PushToken :: Type -> Type #

ToJSON PushToken Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON PushToken Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PushToken Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep PushToken = D1 (MetaData "PushToken" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "PushToken'" PrefixI True) ((S1 (MetaSel (Just "_ptClientRevision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ptLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PushTokenId)))))

pushToken :: PushToken Source #

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

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

ptClientRevision :: Lens' PushToken (Maybe Text) Source #

The revision of the client SDK used by your application, in the same format that's used by revisions.check. Used to send backward compatible messages. Format: [PLATFORM_TYPE]:[VERSION_NUMBER]. Possible values of PLATFORM_TYPE are: - IOS - Push token is for iOS

ptKind :: Lens' PushToken Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#pushToken.

ptLanguage :: Lens' PushToken (Maybe Text) Source #

The preferred language for notifications that are sent using this token.

ptId :: Lens' PushToken (Maybe PushTokenId) Source #

Unique identifier for this push token.

AchievementUpdateResponse

data AchievementUpdateResponse Source #

This is a JSON template for an achievement update response.

See: achievementUpdateResponse smart constructor.

Instances
Eq AchievementUpdateResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data AchievementUpdateResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: AchievementUpdateResponse -> Constr #

dataTypeOf :: AchievementUpdateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AchievementUpdateResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic AchievementUpdateResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep AchievementUpdateResponse :: Type -> Type #

ToJSON AchievementUpdateResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON AchievementUpdateResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep AchievementUpdateResponse Source # 
Instance details

Defined in Network.Google.Games.Types.Product

type Rep AchievementUpdateResponse = D1 (MetaData "AchievementUpdateResponse" "Network.Google.Games.Types.Product" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "AchievementUpdateResponse'" PrefixI True) ((S1 (MetaSel (Just "_aurUpdateOccurred") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_aurAchievementId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aurKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_aurCurrentState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aurNewlyUnlocked") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_aurCurrentSteps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

achievementUpdateResponse :: AchievementUpdateResponse Source #

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

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

aurUpdateOccurred :: Lens' AchievementUpdateResponse (Maybe Bool) Source #

Whether the requested updates actually affected the achievement.

aurAchievementId :: Lens' AchievementUpdateResponse (Maybe Text) Source #

The achievement this update is was applied to.

aurKind :: Lens' AchievementUpdateResponse Text Source #

Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateResponse.

aurCurrentState :: Lens' AchievementUpdateResponse (Maybe Text) Source #

The current state of the achievement. Possible values are: - "HIDDEN" - Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked.

aurNewlyUnlocked :: Lens' AchievementUpdateResponse (Maybe Bool) Source #

Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).

aurCurrentSteps :: Lens' AchievementUpdateResponse (Maybe Int32) Source #

The current steps recorded for this achievement if it is incremental.

LeaderboardEntry

data LeaderboardEntry Source #

This is a JSON template for the Leaderboard Entry resource.

See: leaderboardEntry smart constructor.

Instances
Eq LeaderboardEntry Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Data LeaderboardEntry Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

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

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

toConstr :: LeaderboardEntry -> Constr #

dataTypeOf :: LeaderboardEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LeaderboardEntry Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Generic LeaderboardEntry Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Associated Types

type Rep LeaderboardEntry :: Type -> Type #

ToJSON LeaderboardEntry Source # 
Instance details

Defined in Network.Google.Games.Types.Product

FromJSON LeaderboardEntry Source # 
Instance details

Defined in Network.Google.Games.Types.Product

Methods

parseJSON :: Value ->