games  v1
Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.Games.v1.ScoresResource.SubmitRequest Class Reference

Submits a score to the specified leaderboard. More...

Inheritance diagram for Google.Apis.Games.v1.ScoresResource.SubmitRequest:
Google.Apis.Games.v1.GamesBaseServiceRequest< Google.Apis.Games.v1.Data.PlayerScoreResponse >

Public Member Functions

 SubmitRequest (Google.Apis.Services.IClientService service, string leaderboardId, long score)
 Constructs a new Submit request. More...
 

Protected Member Functions

override void InitParameters ()
 Initializes Submit parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.Games.v1.GamesBaseServiceRequest< Google.Apis.Games.v1.Data.PlayerScoreResponse >
 GamesBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new GamesBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes Games parameter list. More...
 

Properties

virtual string LeaderboardId [get]
 The ID of the leaderboard. More...
 
virtual long Score [get]
 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. More...
 
virtual string Language [get, set]
 The preferred language to use for strings returned by this method. More...
 
virtual string ScoreTag [get, set]
 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. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.Games.v1.GamesBaseServiceRequest< Google.Apis.Games.v1.Data.PlayerScoreResponse >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

Submits a score to the specified leaderboard.

Constructor & Destructor Documentation

◆ SubmitRequest()

Google.Apis.Games.v1.ScoresResource.SubmitRequest.SubmitRequest ( Google.Apis.Services.IClientService  service,
string  leaderboardId,
long  score 
)
inline

Constructs a new Submit request.

Member Function Documentation

◆ InitParameters()

override void Google.Apis.Games.v1.ScoresResource.SubmitRequest.InitParameters ( )
inlineprotected

Initializes Submit parameter list.

Property Documentation

◆ HttpMethod

override string Google.Apis.Games.v1.ScoresResource.SubmitRequest.HttpMethod
get

summary>Gets the REST path.

◆ Language

virtual string Google.Apis.Games.v1.ScoresResource.SubmitRequest.Language
getset

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

◆ LeaderboardId

virtual string Google.Apis.Games.v1.ScoresResource.SubmitRequest.LeaderboardId
get

The ID of the leaderboard.

◆ MethodName

override string Google.Apis.Games.v1.ScoresResource.SubmitRequest.MethodName
get

summary>Gets the HTTP method.

◆ Score

virtual long Google.Apis.Games.v1.ScoresResource.SubmitRequest.Score
get

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.

◆ ScoreTag

virtual string Google.Apis.Games.v1.ScoresResource.SubmitRequest.ScoreTag
getset

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.

summary>Gets the method name.


The documentation for this class was generated from the following file: