public class Games.Snapshots.Get extends GamesRequest<Snapshot>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String snapshotId)
Retrieves the metadata for a given snapshot ID.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getLanguage()
The preferred language to use for strings returned by this method.
|
String |
getSnapshotId()
The ID of the snapshot.
|
Games.Snapshots.Get |
set(String parameterName,
Object value) |
Games.Snapshots.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Games.Snapshots.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Games.Snapshots.Get |
setAlt(String alt)
Data format for response.
|
Games.Snapshots.Get |
setCallback(String callback)
JSONP
|
Games.Snapshots.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.Snapshots.Get |
setKey(String key)
API key.
|
Games.Snapshots.Get |
setLanguage(String language)
The preferred language to use for strings returned by this method.
|
Games.Snapshots.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Snapshots.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Snapshots.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Snapshots.Get |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
Games.Snapshots.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Games.Snapshots.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String snapshotId)
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.
snapshotId - The ID of the snapshot.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Snapshot>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Snapshot>IOExceptionpublic Games.Snapshots.Get set$Xgafv(String $Xgafv)
GamesRequestset$Xgafv in class GamesRequest<Snapshot>public Games.Snapshots.Get setAccessToken(String accessToken)
GamesRequestsetAccessToken in class GamesRequest<Snapshot>public Games.Snapshots.Get setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<Snapshot>public Games.Snapshots.Get setCallback(String callback)
GamesRequestsetCallback in class GamesRequest<Snapshot>public Games.Snapshots.Get setFields(String fields)
GamesRequestsetFields in class GamesRequest<Snapshot>public Games.Snapshots.Get setKey(String key)
GamesRequestsetKey in class GamesRequest<Snapshot>public Games.Snapshots.Get setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<Snapshot>public Games.Snapshots.Get setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<Snapshot>public Games.Snapshots.Get setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<Snapshot>public Games.Snapshots.Get setUploadType(String uploadType)
GamesRequestsetUploadType in class GamesRequest<Snapshot>public Games.Snapshots.Get setUploadProtocol(String uploadProtocol)
GamesRequestsetUploadProtocol in class GamesRequest<Snapshot>public String getSnapshotId()
public Games.Snapshots.Get setSnapshotId(String snapshotId)
public String getLanguage()
public Games.Snapshots.Get setLanguage(String language)
public Games.Snapshots.Get set(String parameterName, Object value)
set in class GamesRequest<Snapshot>Copyright © 2011–2025 Google. All rights reserved.