public class Games.Rooms.Get extends GamesRequest<Room>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Games.Rooms.Get(String roomId)
Get the data for a room.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getLanguage()
Specify the preferred language to use to format room info.
|
String |
getRoomId()
The ID of the room.
|
Games.Rooms.Get |
set(String parameterName,
Object value) |
Games.Rooms.Get |
setAlt(String alt)
Data format for the response.
|
Games.Rooms.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.Rooms.Get |
setKey(String key)
API key.
|
Games.Rooms.Get |
setLanguage(String language)
Specify the preferred language to use to format room info.
|
Games.Rooms.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Rooms.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Rooms.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Rooms.Get |
setRoomId(String roomId)
The ID of the room.
|
Games.Rooms.Get |
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.Rooms.Get(String roomId)
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.
roomId - The ID of the room.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Room>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Room>IOExceptionpublic Games.Rooms.Get setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<Room>public Games.Rooms.Get setFields(String fields)
GamesRequestsetFields in class GamesRequest<Room>public Games.Rooms.Get setKey(String key)
GamesRequestsetKey in class GamesRequest<Room>public Games.Rooms.Get setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<Room>public Games.Rooms.Get setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<Room>public Games.Rooms.Get setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<Room>public Games.Rooms.Get setUserIp(String userIp)
GamesRequestsetUserIp in class GamesRequest<Room>public String getRoomId()
public Games.Rooms.Get setRoomId(String roomId)
public String getLanguage()
public Games.Rooms.Get setLanguage(String language)
public Games.Rooms.Get set(String parameterName, Object value)
set in class GamesRequest<Room>