Class AchievementsResource.IncrementRequest
Increments the steps of the achievement with the given ID for the currently authenticated player.
Inheritance
AchievementsResource.IncrementRequest
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AchievementsResource.IncrementRequest : GamesBaseServiceRequest<AchievementIncrementResponse>, IClientServiceRequest<AchievementIncrementResponse>, IClientServiceRequest
Constructors
IncrementRequest(IClientService, string, int)
Constructs a new Increment request.
Declaration
public IncrementRequest(IClientService service, string achievementId, int stepsToIncrement)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | achievementId | |
int | stepsToIncrement |
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
RequestId
A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled correctly across retries.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual long? RequestId { get; set; }
Property Value
Type | Description |
---|---|
long? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
StepsToIncrement
Required. The number of steps to increment.
Declaration
[RequestParameter("stepsToIncrement", RequestParameterType.Query)]
public virtual int StepsToIncrement { get; }
Property Value
Type | Description |
---|---|
int |
Methods
InitParameters()
Initializes Increment parameter list.
Declaration
protected override void InitParameters()