Class AchievementsResource.IncrementRequest
Increments the steps of the achievement with the given ID for the currently authenticated player.
Inheritance
System.Object
AchievementsResource.IncrementRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class IncrementRequest : GamesBaseServiceRequest<AchievementIncrementResponse>, IClientServiceRequest<AchievementIncrementResponse>, IClientServiceRequest
Constructors
IncrementRequest(IClientService, String, Int32)
Constructs a new Increment request.
Declaration
public IncrementRequest(IClientService service, string achievementId, int stepsToIncrement)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | achievementId | |
| System.Int32 | stepsToIncrement |
Properties
AchievementId
The ID of the achievement used by this method.
Declaration
public virtual string AchievementId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.AchievementIncrementResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.AchievementIncrementResponse>.MethodName
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
public virtual Nullable<long> RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.AchievementIncrementResponse>.RestPath
StepsToIncrement
The number of steps to increment.
Declaration
public virtual int StepsToIncrement { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
InitParameters()
Initializes Increment parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.AchievementIncrementResponse>.InitParameters()