Class ScoresResource.ResetRequest
Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
Inheritance
ScoresResource.ResetRequest
Inherited Members
Namespace: Google.Apis.GamesManagement.v1management
Assembly: Google.Apis.GamesManagement.v1management.dll
Syntax
public class ScoresResource.ResetRequest : GamesManagementBaseServiceRequest<PlayerScoreResetResponse>, IClientServiceRequest<PlayerScoreResetResponse>, IClientServiceRequest
Constructors
ResetRequest(IClientService, string)
Constructs a new Reset request.
Declaration
public ResetRequest(IClientService service, string leaderboardId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | leaderboardId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GamesManagement.v1management.Data.PlayerScoreResetResponse>.HttpMethod
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GamesManagement.v1management.Data.PlayerScoreResetResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.GamesManagement.v1management.Data.PlayerScoreResetResponse>.RestPath
Methods
InitParameters()
Initializes Reset parameter list.
Declaration
protected override void InitParameters()