Class TurnBasedMatchesResource.FinishRequest
Finish a turn-based match. Each player should make this call once, after all results are in. Only the player whose turn it is may make the first call to Finish, and can pass in the final match state.
Inheritance
System.Object
TurnBasedMatchesResource.FinishRequest
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 FinishRequest : GamesBaseServiceRequest<TurnBasedMatch>, IClientServiceRequest<TurnBasedMatch>, IClientServiceRequest
Constructors
FinishRequest(IClientService, TurnBasedMatchResults, String)
Constructs a new Finish request.
Declaration
public FinishRequest(IClientService service, TurnBasedMatchResults body, string matchId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| TurnBasedMatchResults | body | |
| 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.TurnBasedMatch>.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.TurnBasedMatch>.MethodName
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.TurnBasedMatch>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.TurnBasedMatch>.GetBody()
InitParameters()
Initializes Finish parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.TurnBasedMatch>.InitParameters()