Class AchievementsResource.UnlockRequest
Unlocks this achievement for the currently authenticated player.
Inheritance
System.Object
AchievementsResource.UnlockRequest
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 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 | |
| System.String | achievementId |
Properties
AchievementId
The ID of the achievement used by this method.
Declaration
public virtual string AchievementId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
BuiltinGameId
Override used only by built-in games in Play Games application.
Declaration
public virtual string BuiltinGameId { get; set; }
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.AchievementUnlockResponse>.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.AchievementUnlockResponse>.MethodName
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.AchievementUnlockResponse>.RestPath
Methods
InitParameters()
Initializes Unlock parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.AchievementUnlockResponse>.InitParameters()