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