Class AchievementsResource.SetStepsAtLeastRequest
Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.
Inheritance
AchievementsResource.SetStepsAtLeastRequest
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AchievementsResource.SetStepsAtLeastRequest : GamesBaseServiceRequest<AchievementSetStepsAtLeastResponse>, IClientServiceRequest<AchievementSetStepsAtLeastResponse>, IClientServiceRequest
Constructors
SetStepsAtLeastRequest(IClientService, string, int)
Constructs a new SetStepsAtLeast request.
Declaration
public SetStepsAtLeastRequest(IClientService service, string achievementId, int steps)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | achievementId | |
| int | steps |
Properties
AchievementId
The ID of the achievement used by this method.
Declaration
[RequestParameter("achievementId", RequestParameterType.Path)]
public virtual string AchievementId { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Steps
Required. The minimum value to set the steps to.
Declaration
[RequestParameter("steps", RequestParameterType.Query)]
public virtual int Steps { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
InitParameters()
Initializes SetStepsAtLeast parameter list.
Declaration
protected override void InitParameters()