public class Games.Applications.Verify extends GamesRequest<ApplicationVerifyResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Games.Applications.Verify(String applicationId)
Verifies the auth token provided with this request is for the application with the specified
ID, and returns the ID of the player it was granted for.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getApplicationId()
The application ID from the Google Play developer console.
|
Long |
getConsistencyToken()
The last-seen mutation timestamp.
|
Games.Applications.Verify |
set(String parameterName,
Object value) |
Games.Applications.Verify |
setAlt(String alt)
Data format for the response.
|
Games.Applications.Verify |
setApplicationId(String applicationId)
The application ID from the Google Play developer console.
|
Games.Applications.Verify |
setConsistencyToken(Long consistencyToken)
The last-seen mutation timestamp.
|
Games.Applications.Verify |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.Applications.Verify |
setKey(String key)
API key.
|
Games.Applications.Verify |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Applications.Verify |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Applications.Verify |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Applications.Verify |
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.Applications.Verify(String applicationId)
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.
applicationId - The application ID from the Google Play developer console.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ApplicationVerifyResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ApplicationVerifyResponse>IOExceptionpublic Games.Applications.Verify setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setFields(String fields)
GamesRequestsetFields in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setKey(String key)
GamesRequestsetKey in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setUserIp(String userIp)
GamesRequestsetUserIp in class GamesRequest<ApplicationVerifyResponse>public String getApplicationId()
public Games.Applications.Verify setApplicationId(String applicationId)
public Long getConsistencyToken()
public Games.Applications.Verify setConsistencyToken(Long consistencyToken)
public Games.Applications.Verify set(String parameterName, Object value)
set in class GamesRequest<ApplicationVerifyResponse>