public class Games.TurnBasedMatches.Sync extends GamesRequest<TurnBasedMatchSync>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Games.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.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
Boolean |
getIncludeMatchData()
True if match data should be returned in the response.
|
String |
getLanguage()
The preferred language to use for strings returned by this method.
|
Integer |
getMaxCompletedMatches()
The maximum number of completed or canceled matches to return in the response.
|
Integer |
getMaxResults()
The maximum number of matches to return in the response, used for paging.
|
String |
getPageToken()
The token returned by the previous request.
|
Games.TurnBasedMatches.Sync |
set(String parameterName,
Object value) |
Games.TurnBasedMatches.Sync |
setAlt(String alt)
Data format for the response.
|
Games.TurnBasedMatches.Sync |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.TurnBasedMatches.Sync |
setIncludeMatchData(Boolean includeMatchData)
True if match data should be returned in the response.
|
Games.TurnBasedMatches.Sync |
setKey(String key)
API key.
|
Games.TurnBasedMatches.Sync |
setLanguage(String language)
The preferred language to use for strings returned by this method.
|
Games.TurnBasedMatches.Sync |
setMaxCompletedMatches(Integer maxCompletedMatches)
The maximum number of completed or canceled matches to return in the response.
|
Games.TurnBasedMatches.Sync |
setMaxResults(Integer maxResults)
The maximum number of matches to return in the response, used for paging.
|
Games.TurnBasedMatches.Sync |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.TurnBasedMatches.Sync |
setPageToken(String pageToken)
The token returned by the previous request.
|
Games.TurnBasedMatches.Sync |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.TurnBasedMatches.Sync |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.TurnBasedMatches.Sync |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Games.TurnBasedMatches.Sync()
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Games.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<TurnBasedMatchSync>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<TurnBasedMatchSync>IOExceptionpublic Games.TurnBasedMatches.Sync setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<TurnBasedMatchSync>public Games.TurnBasedMatches.Sync setFields(String fields)
GamesRequestsetFields in class GamesRequest<TurnBasedMatchSync>public Games.TurnBasedMatches.Sync setKey(String key)
GamesRequestsetKey in class GamesRequest<TurnBasedMatchSync>public Games.TurnBasedMatches.Sync setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<TurnBasedMatchSync>public Games.TurnBasedMatches.Sync setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<TurnBasedMatchSync>public Games.TurnBasedMatches.Sync setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<TurnBasedMatchSync>public Games.TurnBasedMatches.Sync setUserIp(String userIp)
GamesRequestsetUserIp in class GamesRequest<TurnBasedMatchSync>public String getPageToken()
public Games.TurnBasedMatches.Sync setPageToken(String pageToken)
public Integer getMaxCompletedMatches()
public Games.TurnBasedMatches.Sync setMaxCompletedMatches(Integer maxCompletedMatches)
public Integer getMaxResults()
public Games.TurnBasedMatches.Sync setMaxResults(Integer maxResults)
public String getLanguage()
public Games.TurnBasedMatches.Sync setLanguage(String language)
public Boolean getIncludeMatchData()
public Games.TurnBasedMatches.Sync setIncludeMatchData(Boolean includeMatchData)
public Games.TurnBasedMatches.Sync set(String parameterName, Object value)
set in class GamesRequest<TurnBasedMatchSync>