public class Games.Rooms.Leave extends GamesRequest<Room>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Games.Rooms.Leave(java.lang.String roomId,
RoomLeaveRequest content)
Leave a room.
|
| Modifier and Type | Method and Description |
|---|---|
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.String |
getRoomId()
The ID of the room.
|
Games.Rooms.Leave |
set(java.lang.String parameterName,
java.lang.Object value) |
Games.Rooms.Leave |
setAlt(java.lang.String alt)
Data format for the response.
|
Games.Rooms.Leave |
setConsistencyToken(java.lang.Long consistencyToken)
The last-seen mutation timestamp.
|
Games.Rooms.Leave |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Games.Rooms.Leave |
setKey(java.lang.String key)
API key.
|
Games.Rooms.Leave |
setLanguage(java.lang.String language)
The preferred language to use for strings returned by this method.
|
Games.Rooms.Leave |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Rooms.Leave |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Rooms.Leave |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Rooms.Leave |
setRoomId(java.lang.String roomId)
The ID of the room.
|
Games.Rooms.Leave |
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, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected Games.Rooms.Leave(java.lang.String roomId,
RoomLeaveRequest content)
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.content - the RoomLeaveRequestpublic Games.Rooms.Leave setAlt(java.lang.String alt)
GamesRequestsetAlt in class GamesRequest<Room>public Games.Rooms.Leave setFields(java.lang.String fields)
GamesRequestsetFields in class GamesRequest<Room>public Games.Rooms.Leave setKey(java.lang.String key)
GamesRequestsetKey in class GamesRequest<Room>public Games.Rooms.Leave setOauthToken(java.lang.String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<Room>public Games.Rooms.Leave setPrettyPrint(java.lang.Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<Room>public Games.Rooms.Leave setQuotaUser(java.lang.String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<Room>public Games.Rooms.Leave setUserIp(java.lang.String userIp)
GamesRequestsetUserIp in class GamesRequest<Room>public java.lang.String getRoomId()
public Games.Rooms.Leave setRoomId(java.lang.String roomId)
public java.lang.Long getConsistencyToken()
public Games.Rooms.Leave setConsistencyToken(java.lang.Long consistencyToken)
public java.lang.String getLanguage()
public Games.Rooms.Leave setLanguage(java.lang.String language)
public Games.Rooms.Leave set(java.lang.String parameterName, java.lang.Object value)
set in class GamesRequest<Room>