Class ScoresResource.ListRequest
Lists the scores in a leaderboard, starting from the top.
Inheritance
System.Object
ScoresResource.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<LeaderboardScores>, IClientServiceRequest<LeaderboardScores>, IClientServiceRequest
Constructors
ListRequest(IClientService, String, ScoresResource.ListRequest.CollectionEnum, ScoresResource.ListRequest.TimeSpanEnum)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string leaderboardId, ScoresResource.ListRequest.CollectionEnum collection, ScoresResource.ListRequest.TimeSpanEnum timeSpan)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | leaderboardId | |
| ScoresResource.ListRequest.CollectionEnum | collection | |
| ScoresResource.ListRequest.TimeSpanEnum | timeSpan |
Properties
Collection
The collection of scores you're requesting.
Declaration
public virtual ScoresResource.ListRequest.CollectionEnum Collection { get; }
Property Value
| Type | Description |
|---|---|
| ScoresResource.ListRequest.CollectionEnum |
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.LeaderboardScores>.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 |
LeaderboardId
The ID of the leaderboard.
Declaration
public virtual string LeaderboardId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
MaxResults
The maximum number of leaderboard scores to return in the response. For any response, the actual number of leaderboard scores 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.LeaderboardScores>.MethodName
PageToken
The token returned by the previous request.
Declaration
public virtual string PageToken { get; set; }
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.LeaderboardScores>.RestPath
TimeSpan
The time span for the scores and ranks you're requesting.
Declaration
public virtual ScoresResource.ListRequest.TimeSpanEnum TimeSpan { get; }
Property Value
| Type | Description |
|---|---|
| ScoresResource.ListRequest.TimeSpanEnum |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.LeaderboardScores>.InitParameters()