gogol-games-configuration-0.0.1: Google Play Game Services Publishing 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.GamesConfiguration

Contents

Description

The Publishing API for Google Play Game Services.

See: Google Play Game Services Publishing API Reference

Synopsis

Service Configuration

gamesConfigurationService :: Service Source

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

API Declaration

Resources

gamesConfiguration.achievementConfigurations.delete

gamesConfiguration.achievementConfigurations.get

gamesConfiguration.achievementConfigurations.insert

gamesConfiguration.achievementConfigurations.list

gamesConfiguration.achievementConfigurations.patch

gamesConfiguration.achievementConfigurations.update

gamesConfiguration.imageConfigurations.upload

gamesConfiguration.leaderboardConfigurations.delete

gamesConfiguration.leaderboardConfigurations.get

gamesConfiguration.leaderboardConfigurations.insert

gamesConfiguration.leaderboardConfigurations.list

gamesConfiguration.leaderboardConfigurations.patch

gamesConfiguration.leaderboardConfigurations.update

Types

ImageConfiguration

imageConfiguration :: ImageConfiguration Source

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

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

icResourceId :: Lens' ImageConfiguration (Maybe Text) Source

The resource ID of resource which the image belongs to.

icKind :: Lens' ImageConfiguration Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#imageConfiguration.

icURL :: Lens' ImageConfiguration (Maybe Text) Source

The url for this image.

icImageType :: Lens' ImageConfiguration (Maybe Text) Source

The image type for the image.

LeaderboardConfigurationListResponse

leaderboardConfigurationListResponse :: LeaderboardConfigurationListResponse Source

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

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

lclrNextPageToken :: Lens' LeaderboardConfigurationListResponse (Maybe Text) Source

The pagination token for the next page of results.

lclrKind :: Lens' LeaderboardConfigurationListResponse Text Source

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

GamesNumberAffixConfiguration

gamesNumberAffixConfiguration :: GamesNumberAffixConfiguration Source

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

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

gnacFew :: Lens' GamesNumberAffixConfiguration (Maybe LocalizedStringBundle) Source

When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).

gnacOther :: Lens' GamesNumberAffixConfiguration (Maybe LocalizedStringBundle) Source

When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).

gnacTwo :: Lens' GamesNumberAffixConfiguration (Maybe LocalizedStringBundle) Source

When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).

gnacOne :: Lens' GamesNumberAffixConfiguration (Maybe LocalizedStringBundle) Source

When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).

gnacZero :: Lens' GamesNumberAffixConfiguration (Maybe LocalizedStringBundle) Source

When the language requires special treatment of the number 0 (as in Arabic).

gnacMany :: Lens' GamesNumberAffixConfiguration (Maybe LocalizedStringBundle) Source

When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).

AchievementConfigurationListResponse

achievementConfigurationListResponse :: AchievementConfigurationListResponse Source

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

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

aclrNextPageToken :: Lens' AchievementConfigurationListResponse (Maybe Text) Source

The pagination token for the next page of results.

aclrKind :: Lens' AchievementConfigurationListResponse Text Source

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

LeaderboardConfiguration

leaderboardConfiguration :: LeaderboardConfiguration Source

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

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

lcScoreMax :: Lens' LeaderboardConfiguration (Maybe Int64) Source

Maximum score that can be posted to this leaderboard.

lcKind :: Lens' LeaderboardConfiguration Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.

lcPublished :: Lens' LeaderboardConfiguration (Maybe LeaderboardConfigurationDetail) Source

The read-only published data of the leaderboard.

lcToken :: Lens' LeaderboardConfiguration (Maybe Text) Source

The token for this resource.

lcScoreMin :: Lens' LeaderboardConfiguration (Maybe Int64) Source

Minimum score that can be posted to this leaderboard.

lcId :: Lens' LeaderboardConfiguration (Maybe Text) Source

The ID of the leaderboard.

lcScoreOrder :: Lens' LeaderboardConfiguration (Maybe Text) Source

The type of the leaderboard. Possible values are: - "LARGER_IS_BETTER" - Larger scores posted are ranked higher. - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.

AchievementConfiguration

achievementConfiguration :: AchievementConfiguration Source

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

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

acAchievementType :: Lens' AchievementConfiguration (Maybe Text) Source

The type of the achievement. Possible values are: - "STANDARD" - Achievement is either locked or unlocked. - "INCREMENTAL" - Achievement is incremental.

acStepsToUnlock :: Lens' AchievementConfiguration (Maybe Int32) Source

Steps to unlock. Only applicable to incremental achievements.

acKind :: Lens' AchievementConfiguration Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.

acPublished :: Lens' AchievementConfiguration (Maybe AchievementConfigurationDetail) Source

The read-only published data of the achievement.

acToken :: Lens' AchievementConfiguration (Maybe Text) Source

The token for this resource.

acInitialState :: Lens' AchievementConfiguration (Maybe Text) Source

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

acId :: Lens' AchievementConfiguration (Maybe Text) Source

The ID of the achievement.

LocalizedString

localizedString :: LocalizedString Source

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

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

lsKind :: Lens' LocalizedString Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.

GamesNumberFormatConfiguration

gamesNumberFormatConfiguration :: GamesNumberFormatConfiguration Source

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

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

gnfcSuffix :: Lens' GamesNumberFormatConfiguration (Maybe GamesNumberAffixConfiguration) Source

An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.

gnfcCurrencyCode :: Lens' GamesNumberFormatConfiguration (Maybe Text) Source

The curreny code string. Only used for CURRENCY format type.

gnfcNumberFormatType :: Lens' GamesNumberFormatConfiguration (Maybe Text) Source

The formatting for the number. Possible values are: - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added. - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds. - "CURRENCY" - Numbers are formatted to currency according to locale.

gnfcNumDecimalPlaces :: Lens' GamesNumberFormatConfiguration (Maybe Int32) Source

The number of decimal places for number. Only used for NUMERIC format type.

ImageConfigurationsUploadImageType

LeaderboardConfigurationDetail

leaderboardConfigurationDetail :: LeaderboardConfigurationDetail Source

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

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

lcdKind :: Lens' LeaderboardConfigurationDetail Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.

lcdSortRank :: Lens' LeaderboardConfigurationDetail (Maybe Int32) Source

The sort rank of this leaderboard. Writes to this field are ignored.

lcdName :: Lens' LeaderboardConfigurationDetail (Maybe LocalizedStringBundle) Source

Localized strings for the leaderboard name.

lcdIconURL :: Lens' LeaderboardConfigurationDetail (Maybe Text) Source

The icon url of this leaderboard. Writes to this field are ignored.

AchievementConfigurationDetail

achievementConfigurationDetail :: AchievementConfigurationDetail Source

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

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

acdKind :: Lens' AchievementConfigurationDetail Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.

acdSortRank :: Lens' AchievementConfigurationDetail (Maybe Int32) Source

The sort rank of this achievement. Writes to this field are ignored.

acdName :: Lens' AchievementConfigurationDetail (Maybe LocalizedStringBundle) Source

Localized strings for the achievement name.

acdIconURL :: Lens' AchievementConfigurationDetail (Maybe Text) Source

The icon url of this achievement. Writes to this field are ignored.

acdDescription :: Lens' AchievementConfigurationDetail (Maybe LocalizedStringBundle) Source

Localized strings for the achievement description.

LocalizedStringBundle

localizedStringBundle :: LocalizedStringBundle Source

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

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

lsbKind :: Lens' LocalizedStringBundle Text Source

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.