public class Oauth2.Userinfo.Get extends Oauth2Request<Userinfoplus>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Oauth2.Userinfo.Get()
Create a request for the method "userinfo.get".
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
Oauth2.Userinfo.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Oauth2.Userinfo.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Oauth2.Userinfo.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Oauth2.Userinfo.Get |
setKey(java.lang.String key)
API key.
|
Oauth2.Userinfo.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Oauth2.Userinfo.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Oauth2.Userinfo.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Oauth2.Userinfo.Get |
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 Oauth2.Userinfo.Get()
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 com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Userinfoplus>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Userinfoplus>java.io.IOExceptionpublic Oauth2.Userinfo.Get setAlt(java.lang.String alt)
Oauth2RequestsetAlt in class Oauth2Request<Userinfoplus>public Oauth2.Userinfo.Get setFields(java.lang.String fields)
Oauth2RequestsetFields in class Oauth2Request<Userinfoplus>public Oauth2.Userinfo.Get setKey(java.lang.String key)
Oauth2RequestsetKey in class Oauth2Request<Userinfoplus>public Oauth2.Userinfo.Get setOauthToken(java.lang.String oauthToken)
Oauth2RequestsetOauthToken in class Oauth2Request<Userinfoplus>public Oauth2.Userinfo.Get setPrettyPrint(java.lang.Boolean prettyPrint)
Oauth2RequestsetPrettyPrint in class Oauth2Request<Userinfoplus>public Oauth2.Userinfo.Get setQuotaUser(java.lang.String quotaUser)
Oauth2RequestsetQuotaUser in class Oauth2Request<Userinfoplus>public Oauth2.Userinfo.Get setUserIp(java.lang.String userIp)
Oauth2RequestsetUserIp in class Oauth2Request<Userinfoplus>public Oauth2.Userinfo.Get set(java.lang.String parameterName, java.lang.Object value)
set in class Oauth2Request<Userinfoplus>