Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Update the metadata of the achievement configuration with the given ID.
See: Google Play Game Services Publishing API Reference for gamesConfiguration.achievementConfigurations.update
.
Synopsis
- type AchievementConfigurationsUpdateResource = "games" :> ("v1configuration" :> ("achievements" :> (Capture "achievementId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementConfiguration :> Put '[JSON] AchievementConfiguration)))))
- achievementConfigurationsUpdate :: Text -> AchievementConfiguration -> AchievementConfigurationsUpdate
- data AchievementConfigurationsUpdate
- acuAchievementId :: Lens' AchievementConfigurationsUpdate Text
- acuPayload :: Lens' AchievementConfigurationsUpdate AchievementConfiguration
REST Resource
type AchievementConfigurationsUpdateResource = "games" :> ("v1configuration" :> ("achievements" :> (Capture "achievementId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementConfiguration :> Put '[JSON] AchievementConfiguration))))) Source #
A resource alias for gamesConfiguration.achievementConfigurations.update
method which the
AchievementConfigurationsUpdate
request conforms to.
Creating a Request
achievementConfigurationsUpdate Source #
Creates a value of AchievementConfigurationsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementConfigurationsUpdate Source #
Update the metadata of the achievement configuration with the given ID.
See: achievementConfigurationsUpdate
smart constructor.
Instances
Request Lenses
acuAchievementId :: Lens' AchievementConfigurationsUpdate Text Source #
The ID of the achievement used by this method.
acuPayload :: Lens' AchievementConfigurationsUpdate AchievementConfiguration Source #
Multipart request metadata.