public class Games.Applications.Verify extends GamesRequest<ApplicationVerifyResponse>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Games.Applications.Verify(java.lang.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 |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getApplicationId()
The application ID from the Google Play developer console.
|
java.lang.Long |
getConsistencyToken()
The last-seen mutation timestamp.
|
Games.Applications.Verify |
set(java.lang.String parameterName,
java.lang.Object value) |
Games.Applications.Verify |
setAlt(java.lang.String alt)
Data format for the response.
|
Games.Applications.Verify |
setApplicationId(java.lang.String applicationId)
The application ID from the Google Play developer console.
|
Games.Applications.Verify |
setConsistencyToken(java.lang.Long consistencyToken)
The last-seen mutation timestamp.
|
Games.Applications.Verify |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Games.Applications.Verify |
setKey(java.lang.String key)
API key.
|
Games.Applications.Verify |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Applications.Verify |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Applications.Verify |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Applications.Verify |
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.Applications.Verify(java.lang.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 com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ApplicationVerifyResponse>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ApplicationVerifyResponse>java.io.IOExceptionpublic Games.Applications.Verify setAlt(java.lang.String alt)
GamesRequestsetAlt in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setFields(java.lang.String fields)
GamesRequestsetFields in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setKey(java.lang.String key)
GamesRequestsetKey in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setOauthToken(java.lang.String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setPrettyPrint(java.lang.Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setQuotaUser(java.lang.String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<ApplicationVerifyResponse>public Games.Applications.Verify setUserIp(java.lang.String userIp)
GamesRequestsetUserIp in class GamesRequest<ApplicationVerifyResponse>public java.lang.String getApplicationId()
public Games.Applications.Verify setApplicationId(java.lang.String applicationId)
public java.lang.Long getConsistencyToken()
public Games.Applications.Verify setConsistencyToken(java.lang.Long consistencyToken)
public Games.Applications.Verify set(java.lang.String parameterName, java.lang.Object value)
set in class GamesRequest<ApplicationVerifyResponse>