public class Games.Snapshots.List extends GamesRequest<SnapshotListResponse>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
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 |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.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 |
set$Xgafv(String $Xgafv)
V1 error format.
|
Games.Snapshots.List |
setAccessToken(String accessToken)
OAuth access token.
|
Games.Snapshots.List |
setAlt(String alt)
Data format for response.
|
Games.Snapshots.List |
setCallback(String callback)
JSONP
|
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 |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Games.Snapshots.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected 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 com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<SnapshotListResponse>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<SnapshotListResponse>IOExceptionpublic Games.Snapshots.List set$Xgafv(String $Xgafv)
GamesRequestset$Xgafv in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setAccessToken(String accessToken)
GamesRequestsetAccessToken in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setCallback(String callback)
GamesRequestsetCallback 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 setUploadType(String uploadType)
GamesRequestsetUploadType in class GamesRequest<SnapshotListResponse>public Games.Snapshots.List setUploadProtocol(String uploadProtocol)
GamesRequestsetUploadProtocol in class GamesRequest<SnapshotListResponse>public String getPlayerId()
public Games.Snapshots.List setPlayerId(String playerId)
public String getLanguage()
public Games.Snapshots.List setLanguage(String language)
public Integer getMaxResults()
public Games.Snapshots.List setMaxResults(Integer maxResults)
public String getPageToken()
public Games.Snapshots.List setPageToken(String pageToken)
public Games.Snapshots.List set(String parameterName, Object value)
set in class GamesRequest<SnapshotListResponse>Copyright © 2011–2025 Google. All rights reserved.