public class Games.Players.List extends GamesRequest<PlayerListResponse>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Games.Players.List(java.lang.String collection)
Get the collection of players for the currently authenticated user.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getCollection()
Collection of players being retrieved
|
java.lang.Long |
getConsistencyToken()
The last-seen mutation timestamp.
|
java.lang.String |
getLanguage()
The preferred language to use for strings returned by this method.
|
java.lang.Integer |
getMaxResults()
The maximum number of player resources to return in the response, used for paging.
|
java.lang.String |
getPageToken()
The token returned by the previous request.
|
Games.Players.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Games.Players.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Games.Players.List |
setCollection(java.lang.String collection)
Collection of players being retrieved
|
Games.Players.List |
setConsistencyToken(java.lang.Long consistencyToken)
The last-seen mutation timestamp.
|
Games.Players.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Games.Players.List |
setKey(java.lang.String key)
API key.
|
Games.Players.List |
setLanguage(java.lang.String language)
The preferred language to use for strings returned by this method.
|
Games.Players.List |
setMaxResults(java.lang.Integer maxResults)
The maximum number of player resources to return in the response, used for paging.
|
Games.Players.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Players.List |
setPageToken(java.lang.String pageToken)
The token returned by the previous request.
|
Games.Players.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Players.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Players.List |
setUserIp(java.lang.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, setUnknownKeysprotected Games.Players.List(java.lang.String collection)
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.
collection - Collection of players being retrievedpublic com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<PlayerListResponse>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<PlayerListResponse>java.io.IOExceptionpublic Games.Players.List setAlt(java.lang.String alt)
GamesRequestsetAlt in class GamesRequest<PlayerListResponse>public Games.Players.List setFields(java.lang.String fields)
GamesRequestsetFields in class GamesRequest<PlayerListResponse>public Games.Players.List setKey(java.lang.String key)
GamesRequestsetKey in class GamesRequest<PlayerListResponse>public Games.Players.List setOauthToken(java.lang.String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<PlayerListResponse>public Games.Players.List setPrettyPrint(java.lang.Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<PlayerListResponse>public Games.Players.List setQuotaUser(java.lang.String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<PlayerListResponse>public Games.Players.List setUserIp(java.lang.String userIp)
GamesRequestsetUserIp in class GamesRequest<PlayerListResponse>public java.lang.String getCollection()
public Games.Players.List setCollection(java.lang.String collection)
public java.lang.Long getConsistencyToken()
public Games.Players.List setConsistencyToken(java.lang.Long consistencyToken)
public java.lang.String getLanguage()
public Games.Players.List setLanguage(java.lang.String language)
public java.lang.Integer getMaxResults()
public Games.Players.List setMaxResults(java.lang.Integer maxResults)
public java.lang.String getPageToken()
public Games.Players.List setPageToken(java.lang.String pageToken)
public Games.Players.List set(java.lang.String parameterName, java.lang.Object value)
set in class GamesRequest<PlayerListResponse>