public class Games.Snapshots.List extends GamesRequest<SnapshotListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Games.Snapshots.List(String playerId)
Retrieves a list of snapshots created by your application for the player corresponding to the
player ID.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getLanguage()
The preferred language to use for strings returned by this method.
|
Integer |
getMaxResults()
The maximum number of snapshot resources to return in the response, used for paging.
|
String |
getPageToken()
The token returned by the previous request.
|
String |
getPlayerId()
A player ID.
|
Games.Snapshots.List |
set(String parameterName,
Object value) |
Games.Snapshots.List |
setAlt(String alt)
Data format for the response.
|
Games.Snapshots.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.Snapshots.List |
setKey(String key)
API key.
|
Games.Snapshots.List |
setLanguage(String language)
The preferred language to use for strings returned by this method.
|
Games.Snapshots.List |
setMaxResults(Integer maxResults)
The maximum number of snapshot resources to return in the response, used for paging.
|
Games.Snapshots.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Snapshots.List |
setPageToken(String pageToken)
The token returned by the previous request.
|
Games.Snapshots.List |
setPlayerId(String playerId)
A player ID.
|
Games.Snapshots.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Snapshots.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Snapshots.List |
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.Snapshots.List(String playerId)
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.
playerId - A player ID. A value of me may be used in place of the authenticated player's ID.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<SnapshotListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<SnapshotListResponse>IOExceptionpublic Games.Snapshots.List setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setFields(String fields)
GamesRequestsetFields in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setKey(String key)
GamesRequestsetKey in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setUserIp(String userIp)
GamesRequestsetUserIp in class GamesRequest<SnapshotListResponse>public String getPlayerId()
public Games.Snapshots.List setPlayerId(String playerId)
public String getPageToken()
public Games.Snapshots.List setPageToken(String pageToken)
public Integer getMaxResults()
public Games.Snapshots.List setMaxResults(Integer maxResults)
public String getLanguage()
public Games.Snapshots.List setLanguage(String language)
public Games.Snapshots.List set(String parameterName, Object value)
set in class GamesRequest<SnapshotListResponse>