public class Games.Achievements.Unlock extends GamesRequest<AchievementUnlockResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Games.Achievements.Unlock(String achievementId)
Unlocks this achievement for the currently authenticated player.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAchievementId()
The ID of the achievement used by this method.
|
Games.Achievements.Unlock |
set(String parameterName,
Object value) |
Games.Achievements.Unlock |
setAchievementId(String achievementId)
The ID of the achievement used by this method.
|
Games.Achievements.Unlock |
setAlt(String alt)
Data format for the response.
|
Games.Achievements.Unlock |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.Achievements.Unlock |
setKey(String key)
API key.
|
Games.Achievements.Unlock |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Achievements.Unlock |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Achievements.Unlock |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Achievements.Unlock |
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, 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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Games.Achievements.Unlock(String achievementId)
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.
achievementId - The ID of the achievement used by this method.public Games.Achievements.Unlock setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<AchievementUnlockResponse>public Games.Achievements.Unlock setFields(String fields)
GamesRequestsetFields in class GamesRequest<AchievementUnlockResponse>public Games.Achievements.Unlock setKey(String key)
GamesRequestsetKey in class GamesRequest<AchievementUnlockResponse>public Games.Achievements.Unlock setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<AchievementUnlockResponse>public Games.Achievements.Unlock setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<AchievementUnlockResponse>public Games.Achievements.Unlock setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<AchievementUnlockResponse>public Games.Achievements.Unlock setUserIp(String userIp)
GamesRequestsetUserIp in class GamesRequest<AchievementUnlockResponse>public String getAchievementId()
public Games.Achievements.Unlock setAchievementId(String achievementId)
public Games.Achievements.Unlock set(String parameterName, Object value)
set in class GamesRequest<AchievementUnlockResponse>