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