Show / Hide Table of Contents

Class ScoresResource.GetRequest

Get high scores, and optionally ranks, in leaderboards for the currently authenticated player. For a specific time span, leaderboardId can be set to ALL to retrieve data for all leaderboards in a given time span. NOTE: You cannot ask for 'ALL' leaderboards and 'ALL' timeSpans in the same request; only one parameter may be set to 'ALL'.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<PlayerLeaderboardScoreListResponse>
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>
ScoresResource.GetRequest
Implements
IClientServiceRequest<PlayerLeaderboardScoreListResponse>
IClientServiceRequest
Inherited Members
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>.Alt
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>.Fields
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>.Key
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>.OauthToken
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>.PrettyPrint
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>.QuotaUser
GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>.UserIp
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.Execute()
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.ExecuteAsStream()
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.ExecuteAsync()
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.GenerateRequestUri()
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.GetBody()
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.GetDefaultETagAction(String)
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.ETagAction
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.ModifyRequest
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.RequestParameters
ClientServiceRequest<PlayerLeaderboardScoreListResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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 GetRequest : GamesBaseServiceRequest<PlayerLeaderboardScoreListResponse>, IClientServiceRequest<PlayerLeaderboardScoreListResponse>, IClientServiceRequest

Constructors

GetRequest(IClientService, String, String, ScoresResource.GetRequest.TimeSpanEnum)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string playerId, string leaderboardId, ScoresResource.GetRequest.TimeSpanEnum timeSpan)
Parameters
Type Name Description
IClientService service
System.String playerId
System.String leaderboardId
ScoresResource.GetRequest.TimeSpanEnum timeSpan

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.PlayerLeaderboardScoreListResponse>.HttpMethod

IncludeRankType

The types of ranks to return. If the parameter is omitted, no ranks will be returned.

Declaration
public virtual Nullable<ScoresResource.GetRequest.IncludeRankTypeEnum> IncludeRankType { get; set; }
Property Value
Type Description
System.Nullable<ScoresResource.GetRequest.IncludeRankTypeEnum>

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. Can be set to 'ALL' to retrieve data for all leaderboards for this application.

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.PlayerLeaderboardScoreListResponse>.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.PlayerLeaderboardScoreListResponse>.RestPath

TimeSpan

The time span for the scores and ranks you're requesting.

Declaration
public virtual ScoresResource.GetRequest.TimeSpanEnum TimeSpan { get; }
Property Value
Type Description
ScoresResource.GetRequest.TimeSpanEnum

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.PlayerLeaderboardScoreListResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top