public class Games.Metagame.ListCategoriesByPlayer extends GamesRequest<CategoryListResponse>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Games.Metagame.ListCategoriesByPlayer(java.lang.String playerId,
java.lang.String collection)
List play data aggregated per category for the player corresponding to playerId.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getCollection()
The collection of categories for which data will be returned.
|
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 category resources to return in the response, used for paging.
|
java.lang.String |
getPageToken()
The token returned by the previous request.
|
java.lang.String |
getPlayerId()
A player ID.
|
Games.Metagame.ListCategoriesByPlayer |
set(java.lang.String parameterName,
java.lang.Object value) |
Games.Metagame.ListCategoriesByPlayer |
setAlt(java.lang.String alt)
Data format for the response.
|
Games.Metagame.ListCategoriesByPlayer |
setCollection(java.lang.String collection)
The collection of categories for which data will be returned.
|
Games.Metagame.ListCategoriesByPlayer |
setConsistencyToken(java.lang.Long consistencyToken)
The last-seen mutation timestamp.
|
Games.Metagame.ListCategoriesByPlayer |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Games.Metagame.ListCategoriesByPlayer |
setKey(java.lang.String key)
API key.
|
Games.Metagame.ListCategoriesByPlayer |
setLanguage(java.lang.String language)
The preferred language to use for strings returned by this method.
|
Games.Metagame.ListCategoriesByPlayer |
setMaxResults(java.lang.Integer maxResults)
The maximum number of category resources to return in the response, used for paging.
|
Games.Metagame.ListCategoriesByPlayer |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Metagame.ListCategoriesByPlayer |
setPageToken(java.lang.String pageToken)
The token returned by the previous request.
|
Games.Metagame.ListCategoriesByPlayer |
setPlayerId(java.lang.String playerId)
A player ID.
|
Games.Metagame.ListCategoriesByPlayer |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Metagame.ListCategoriesByPlayer |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Metagame.ListCategoriesByPlayer |
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.Metagame.ListCategoriesByPlayer(java.lang.String playerId,
java.lang.String collection)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. ListCategoriesByPlayer#initialize(com.google.api.client.googleapis.servic
es.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.collection - The collection of categories for which data will be returned.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<CategoryListResponse>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<CategoryListResponse>java.io.IOExceptionpublic Games.Metagame.ListCategoriesByPlayer setAlt(java.lang.String alt)
GamesRequestsetAlt in class GamesRequest<CategoryListResponse>public Games.Metagame.ListCategoriesByPlayer setFields(java.lang.String fields)
GamesRequestsetFields in class GamesRequest<CategoryListResponse>public Games.Metagame.ListCategoriesByPlayer setKey(java.lang.String key)
GamesRequestsetKey in class GamesRequest<CategoryListResponse>public Games.Metagame.ListCategoriesByPlayer setOauthToken(java.lang.String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<CategoryListResponse>public Games.Metagame.ListCategoriesByPlayer setPrettyPrint(java.lang.Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<CategoryListResponse>public Games.Metagame.ListCategoriesByPlayer setQuotaUser(java.lang.String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<CategoryListResponse>public Games.Metagame.ListCategoriesByPlayer setUserIp(java.lang.String userIp)
GamesRequestsetUserIp in class GamesRequest<CategoryListResponse>public java.lang.String getPlayerId()
public Games.Metagame.ListCategoriesByPlayer setPlayerId(java.lang.String playerId)
public java.lang.String getCollection()
public Games.Metagame.ListCategoriesByPlayer setCollection(java.lang.String collection)
public java.lang.Long getConsistencyToken()
public Games.Metagame.ListCategoriesByPlayer setConsistencyToken(java.lang.Long consistencyToken)
public java.lang.String getLanguage()
public Games.Metagame.ListCategoriesByPlayer setLanguage(java.lang.String language)
public java.lang.Integer getMaxResults()
public Games.Metagame.ListCategoriesByPlayer setMaxResults(java.lang.Integer maxResults)
public java.lang.String getPageToken()
public Games.Metagame.ListCategoriesByPlayer setPageToken(java.lang.String pageToken)
public Games.Metagame.ListCategoriesByPlayer set(java.lang.String parameterName, java.lang.Object value)
set in class GamesRequest<CategoryListResponse>