gogol-games-management-0.0.1: Google Play Game Services Management SDK.

Copyright(c) 2015 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.GamesManagement.Types

Contents

Description

 

Synopsis

Service Configuration

gamesManagementService :: Service Source

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

OAuth Scopes

plusLoginScope :: OAuthScope Source

Know your basic profile info and list of people in your circles.

gamesScope :: OAuthScope Source

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

GamesPlayerExperienceInfoResource

gamesPlayerExperienceInfoResource :: GamesPlayerExperienceInfoResource Source

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

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

gpeirCurrentExperiencePoints :: Lens' GamesPlayerExperienceInfoResource (Maybe Int64) Source

The current number of experience points for the player.

gpeirNextLevel :: Lens' GamesPlayerExperienceInfoResource (Maybe GamesPlayerLevelResource) Source

The next level of the player. If the current level is the maximum level, this should be same as the current level.

gpeirLastLevelUpTimestampMillis :: Lens' GamesPlayerExperienceInfoResource (Maybe Int64) Source

The timestamp when the player was leveled up, in millis since Unix epoch UTC.

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.

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.

PlayerScoreResetAllResponse

playerScoreResetAllResponse :: PlayerScoreResetAllResponse Source

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

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

psrarKind :: Lens' PlayerScoreResetAllResponse Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#playerScoreResetResponse.

GamesPlayedResource

data GamesPlayedResource Source

This is a JSON template for metadata about a player playing a game with the currently authenticated user.

See: gamesPlayedResource smart constructor.

gamesPlayedResource :: GamesPlayedResource Source

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

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

gprAutoMatched :: Lens' GamesPlayedResource (Maybe Bool) Source

True if the player was auto-matched with the currently authenticated user.

gprTimeMillis :: Lens' GamesPlayedResource (Maybe Int64) Source

The last time the player played the game in milliseconds since the epoch in UTC.

GamesPlayerLevelResource

gamesPlayerLevelResource :: GamesPlayerLevelResource Source

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

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

gplrMaxExperiencePoints :: Lens' GamesPlayerLevelResource (Maybe Int64) Source

The maximum experience points for this level.

gplrMinExperiencePoints :: Lens' GamesPlayerLevelResource (Maybe Int64) Source

The minimum experience points for this level.

PlayerScoreResetResponse

playerScoreResetResponse :: PlayerScoreResetResponse Source

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

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

psrrKind :: Lens' PlayerScoreResetResponse Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#playerScoreResetResponse.

psrrResetScoreTimeSpans :: Lens' PlayerScoreResetResponse [Text] Source

The time spans of the updated 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.

psrrDefinitionId :: Lens' PlayerScoreResetResponse (Maybe Text) Source

The ID of an leaderboard for which player state has been updated.

ScoresResetMultipleForAllRequest

scoresResetMultipleForAllRequest :: ScoresResetMultipleForAllRequest Source

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

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

srmfarKind :: Lens' ScoresResetMultipleForAllRequest Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#scoresResetMultipleForAllRequest.

QuestsResetMultipleForAllRequest

questsResetMultipleForAllRequest :: QuestsResetMultipleForAllRequest Source

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

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

qrmfarKind :: Lens' QuestsResetMultipleForAllRequest Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#questsResetMultipleForAllRequest.

HiddenPlayerList

hiddenPlayerList :: HiddenPlayerList Source

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

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

hplNextPageToken :: Lens' HiddenPlayerList (Maybe Text) Source

The pagination token for the next page of results.

hplKind :: Lens' HiddenPlayerList Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayerList.

EventsResetMultipleForAllRequest

eventsResetMultipleForAllRequest :: EventsResetMultipleForAllRequest Source

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

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

ermfarKind :: Lens' EventsResetMultipleForAllRequest Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#eventsResetMultipleForAllRequest.

AchievementResetMultipleForAllRequest

achievementResetMultipleForAllRequest :: AchievementResetMultipleForAllRequest Source

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

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

armfarKind :: Lens' AchievementResetMultipleForAllRequest Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetMultipleForAllRequest.

HiddenPlayer

hiddenPlayer :: HiddenPlayer Source

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

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

hpKind :: Lens' HiddenPlayer Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayer.

hpHiddenTimeMillis :: Lens' HiddenPlayer (Maybe Int64) Source

The time this player was hidden.

hpPlayer :: Lens' HiddenPlayer (Maybe Player) Source

The player information.

AchievementResetAllResponse

achievementResetAllResponse :: AchievementResetAllResponse Source

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

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

ararKind :: Lens' AchievementResetAllResponse Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetAllResponse.

Player

data Player Source

This is a JSON template for a Player resource.

See: player smart constructor.

player :: Player Source

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

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

pLastPlayedWith :: Lens' Player (Maybe GamesPlayedResource) Source

Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.

pAvatarImageURL :: Lens' Player (Maybe Text) Source

The base URL for the image that represents the player.

pKind :: Lens' Player Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#player.

pExperienceInfo :: Lens' Player (Maybe GamesPlayerExperienceInfoResource) Source

An object to represent Play Game experience information for the player.

pName :: Lens' Player (Maybe PlayerName) Source

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

pDisplayName :: Lens' Player (Maybe Text) Source

The name to display for the player.

pTitle :: Lens' Player (Maybe Text) Source

The player's title rewarded for their game activities.

pPlayerId :: Lens' Player (Maybe Text) Source

The ID of the player.

AchievementResetResponse

achievementResetResponse :: AchievementResetResponse Source

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

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

arrUpdateOccurred :: Lens' AchievementResetResponse (Maybe Bool) Source

Flag to indicate if the requested update actually occurred.

arrKind :: Lens' AchievementResetResponse Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetResponse.

arrCurrentState :: Lens' AchievementResetResponse (Maybe Text) Source

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

arrDefinitionId :: Lens' AchievementResetResponse (Maybe Text) Source

The ID of an achievement for which player state has been updated.