Class AchievementUpdateRequest
This is a JSON template for a request to update an achievement.
Inheritance
System.Object
AchievementUpdateRequest
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AchievementUpdateRequest : object, IDirectResponseSchema
Properties
AchievementId
The achievement this update is being applied to.
Declaration
public virtual string AchievementId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IncrementPayload
The payload if an update of type INCREMENT was requested for the achievement.
Declaration
public virtual GamesAchievementIncrement IncrementPayload { get; set; }
Property Value
| Type | Description |
|---|---|
| GamesAchievementIncrement |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateRequest.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SetStepsAtLeastPayload
The payload if an update of type SET_STEPS_AT_LEAST was requested for the achievement.
Declaration
public virtual GamesAchievementSetStepsAtLeast SetStepsAtLeastPayload { get; set; }
Property Value
| Type | Description |
|---|---|
| GamesAchievementSetStepsAtLeast |
UpdateType
The type of update being applied. Possible values are: - "REVEAL" - Achievement is revealed. - "UNLOCK" - Achievement is unlocked. - "INCREMENT" - Achievement is incremented. - "SET_STEPS_AT_LEAST" - Achievement progress is set to at least the passed value.
Declaration
public virtual string UpdateType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |