GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Tokeninfo()
Create a request for the method "tokeninfo".
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken() |
String |
getIdToken() |
Oauth2.Tokeninfo |
set(String parameterName,
Object value) |
Oauth2.Tokeninfo |
setAccessToken(String accessToken) |
Oauth2.Tokeninfo |
setAlt(String alt)
Data format for the response.
|
Oauth2.Tokeninfo |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Oauth2.Tokeninfo |
setIdToken(String idToken) |
Oauth2.Tokeninfo |
setKey(String key)
API key.
|
Oauth2.Tokeninfo |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Oauth2.Tokeninfo |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Oauth2.Tokeninfo |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Oauth2.Tokeninfo |
setUserIp(String userIp)
Deprecated.
|
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, 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 Tokeninfo()
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Oauth2.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
public Oauth2.Tokeninfo setAlt(String alt)
Oauth2RequestsetAlt in class Oauth2Request<Tokeninfo>public Oauth2.Tokeninfo setFields(String fields)
Oauth2RequestsetFields in class Oauth2Request<Tokeninfo>public Oauth2.Tokeninfo setKey(String key)
Oauth2RequestsetKey in class Oauth2Request<Tokeninfo>public Oauth2.Tokeninfo setOauthToken(String oauthToken)
Oauth2RequestsetOauthToken in class Oauth2Request<Tokeninfo>public Oauth2.Tokeninfo setPrettyPrint(Boolean prettyPrint)
Oauth2RequestsetPrettyPrint in class Oauth2Request<Tokeninfo>public Oauth2.Tokeninfo setQuotaUser(String quotaUser)
Oauth2RequestsetQuotaUser in class Oauth2Request<Tokeninfo>public Oauth2.Tokeninfo setUserIp(String userIp)
Oauth2RequestsetUserIp in class Oauth2Request<Tokeninfo>public String getAccessToken()
public Oauth2.Tokeninfo setAccessToken(String accessToken)
public String getIdToken()
public Oauth2.Tokeninfo setIdToken(String idToken)
public Oauth2.Tokeninfo set(String parameterName, Object value)
set in class Oauth2Request<Tokeninfo>Copyright © 2011–2022 Google. All rights reserved.