Show / Hide Table of Contents

Class ScoresResource.SubmitRequest

Submits a score to the specified leaderboard.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<PlayerScoreResponse>
GamesBaseServiceRequest<PlayerScoreResponse>
ScoresResource.SubmitRequest
Implements
IClientServiceRequest<PlayerScoreResponse>
IClientServiceRequest
Inherited Members
GamesBaseServiceRequest<PlayerScoreResponse>.Xgafv
GamesBaseServiceRequest<PlayerScoreResponse>.AccessToken
GamesBaseServiceRequest<PlayerScoreResponse>.Alt
GamesBaseServiceRequest<PlayerScoreResponse>.Callback
GamesBaseServiceRequest<PlayerScoreResponse>.Fields
GamesBaseServiceRequest<PlayerScoreResponse>.Key
GamesBaseServiceRequest<PlayerScoreResponse>.OauthToken
GamesBaseServiceRequest<PlayerScoreResponse>.PrettyPrint
GamesBaseServiceRequest<PlayerScoreResponse>.QuotaUser
GamesBaseServiceRequest<PlayerScoreResponse>.UploadType
GamesBaseServiceRequest<PlayerScoreResponse>.UploadProtocol
ClientServiceRequest<PlayerScoreResponse>.Execute()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsStream()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsync()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<PlayerScoreResponse>.CreateRequest(bool?)
ClientServiceRequest<PlayerScoreResponse>.GenerateRequestUri()
ClientServiceRequest<PlayerScoreResponse>.GetBody()
ClientServiceRequest<PlayerScoreResponse>.GetDefaultETagAction(string)
ClientServiceRequest<PlayerScoreResponse>.ETagAction
ClientServiceRequest<PlayerScoreResponse>.ModifyRequest
ClientServiceRequest<PlayerScoreResponse>.ValidateParameters
ClientServiceRequest<PlayerScoreResponse>.ApiVersion
ClientServiceRequest<PlayerScoreResponse>.RequestParameters
ClientServiceRequest<PlayerScoreResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class ScoresResource.SubmitRequest : GamesBaseServiceRequest<PlayerScoreResponse>, IClientServiceRequest<PlayerScoreResponse>, IClientServiceRequest

Constructors

SubmitRequest(IClientService, string, long)

Constructs a new Submit request.

Declaration
public SubmitRequest(IClientService service, string leaderboardId, long score)
Parameters
Type Name Description
IClientService service
string leaderboardId
long score

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<PlayerScoreResponse>.HttpMethod

Language

The preferred language to use for strings returned by this method.

Declaration
[RequestParameter("language", RequestParameterType.Query)]
public virtual string Language { get; set; }
Property Value
Type Description
string

LeaderboardId

The ID of the leaderboard.

Declaration
[RequestParameter("leaderboardId", RequestParameterType.Path)]
public virtual string LeaderboardId { get; }
Property Value
Type Description
string

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<PlayerScoreResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<PlayerScoreResponse>.RestPath

Score

Required. The score you're submitting. The submitted score is ignored if it is worse than a previously submitted score, where worse depends on the leaderboard sort order. The meaning of the score value depends on the leaderboard format type. For fixed-point, the score represents the raw value. For time, the score represents elapsed time in milliseconds. For currency, the score represents a value in micro units.

Declaration
[RequestParameter("score", RequestParameterType.Query)]
public virtual long Score { get; }
Property Value
Type Description
long

ScoreTag

Additional information about the score you're submitting. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.

Declaration
[RequestParameter("scoreTag", RequestParameterType.Query)]
public virtual string ScoreTag { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes Submit parameter list.

Declaration
protected override void InitParameters()
Overrides
GamesBaseServiceRequest<PlayerScoreResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX