Class AchievementsResource.UnlockRequest
Unlocks this achievement for the currently authenticated player.
Inheritance
AchievementsResource.UnlockRequest
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class AchievementsResource.UnlockRequest : GamesBaseServiceRequest<AchievementUnlockResponse>, IClientServiceRequest<AchievementUnlockResponse>, IClientServiceRequest
Constructors
UnlockRequest(IClientService, string)
Constructs a new Unlock request.
Declaration
public UnlockRequest(IClientService service, string achievementId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | achievementId |
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
Methods
InitParameters()
Initializes Unlock parameter list.
Declaration
protected override void InitParameters()