Class AchievementsResource.ListRequest
Lists the progress for all your application's achievements for the currently authenticated player.
Inheritance
System.Object
AchievementsResource.ListRequest
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 ListRequest : GamesBaseServiceRequest<PlayerAchievementListResponse>, IClientServiceRequest<PlayerAchievementListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, String)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string playerId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | playerId |
Properties
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.PlayerAchievementListResponse>.HttpMethod
Language
The preferred language to use for strings returned by this method.
Declaration
public virtual string Language { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MaxResults
The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified maxResults.
Declaration
public virtual Nullable<int> MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
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.PlayerAchievementListResponse>.MethodName
PageToken
The token returned by the previous request.
Declaration
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PlayerId
A player ID. A value of me may be used in place of the authenticated player's ID.
Declaration
public virtual string PlayerId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.PlayerAchievementListResponse>.RestPath
State
Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned.
Declaration
public virtual Nullable<AchievementsResource.ListRequest.StateEnum> State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<AchievementsResource.ListRequest.StateEnum> |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.PlayerAchievementListResponse>.InitParameters()