Class TurnBasedMatchesResource.RematchRequest
Create a rematch of a match that was previously completed, with the same participants. This can be called by only one player on a match still in their list; the player must have called Finish first. Returns the newly created match; it will be the caller's turn.
Inheritance
System.Object
TurnBasedMatchesResource.RematchRequest
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 RematchRequest : GamesBaseServiceRequest<TurnBasedMatchRematch>, IClientServiceRequest<TurnBasedMatchRematch>, IClientServiceRequest
Constructors
RematchRequest(IClientService, String)
Constructs a new Rematch request.
Declaration
public RematchRequest(IClientService service, string matchId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | matchId |
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.TurnBasedMatchRematch>.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 |
MatchId
The ID of the match.
Declaration
public virtual string MatchId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.TurnBasedMatchRematch>.MethodName
RequestId
A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled correctly across retries.
Declaration
public virtual Nullable<long> RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
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.TurnBasedMatchRematch>.RestPath
Methods
InitParameters()
Initializes Rematch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.TurnBasedMatchRematch>.InitParameters()