Class TurnBasedMatchesResource.SyncRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class SyncRequest : GamesBaseServiceRequest<TurnBasedMatchSync>, IClientServiceRequest<TurnBasedMatchSync>, IClientServiceRequest
Constructors
SyncRequest(IClientService)
Constructs a new Sync request.
Declaration
public SyncRequest(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
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.
Declaration
public virtual Nullable<bool> IncludeMatchData { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
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 |
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.
Declaration
public virtual Nullable<int> MaxCompletedMatches { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
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.
Declaration
public virtual Nullable<int> MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
PageToken
The token returned by the previous request.
Declaration
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Methods
InitParameters()
Initializes Sync parameter list.
Declaration
protected override void InitParameters()