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. (turnBasedMatches.finish)

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. (turnBasedMatches.finish)

Returns

Opt_param

string language The preferred language to use for strings returned by this
method.
string pendingParticipantId The ID of another participant who should take their
turn next. If not set, the match will wait for other player(s) to join via
automatching; this is only valid if automatch criteria is set on the match with
remaining slots for automatched players.

Parameters

Returns

Opt_param

string pageToken The token returned by the previous request.
int maxCompletedMatches The maximum number of completed or canceled matches to
return in the response. If not set, all matches returned could be completed or
canceled.
int maxResults The maximum number of matches to return in the response, used for
paging. For any response, the actual number of matches to return may be less
than the specified maxResults.
string language The preferred language to use for strings returned by this
method.
bool includeMatchData True if match data should be returned in the response.
Note that not all data will necessarily be returned if include_match_data is
true; the server may decide to only return data for some of the matches to limit
download size for the client. The remainder of the data for these matches will
be retrievable on request.

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. (turnBasedMatches.rematch)

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. (turnBasedMatches.rematch)

Parameters

$matchId

string$matchId The ID of the match.

$optParams

array$optParams Optional parameters.

Returns

Opt_param

string 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.
string language The preferred language to use for strings returned by this
method.

Returns turn-based matches the player is or was involved in that changed
since the last sync call, with the least recent changes coming first. Matches
that should be removed from the local cache will have a status of MATCH_DELETED.
(turnBasedMatches.sync)

Returns turn-based matches the player is or was involved in that changed
since the last sync call, with the least recent changes coming first. Matches
that should be removed from the local cache will have a status of MATCH_DELETED.
(turnBasedMatches.sync)

Parameters

$optParams

array$optParams Optional parameters.

Returns

Opt_param

string pageToken The token returned by the previous request.
int maxCompletedMatches The maximum number of completed or canceled matches to
return in the response. If not set, all matches returned could be completed or
canceled.
int maxResults The maximum number of matches to return in the response, used for
paging. For any response, the actual number of matches to return may be less
than the specified maxResults.
string language The preferred language to use for strings returned by this
method.
bool includeMatchData True if match data should be returned in the response.
Note that not all data will necessarily be returned if include_match_data is
true; the server may decide to only return data for some of the matches to limit
download size for the client. The remainder of the data for these matches will
be retrievable on request.