Google OAuth2 API v2 (revision 30)
com.google.api.services.oauth2
Class Oauth2.Userinfo.V2.Me.Get
java.lang.Object
java.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
com.google.api.services.oauth2.Oauth2Request<Userinfo>
com.google.api.services.oauth2.Oauth2.Userinfo.V2.Me.Get
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- Oauth2.Userinfo.V2.Me
public class Oauth2.Userinfo.V2.Me.Get
- extends Oauth2Request<Userinfo>
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest |
buildHttpRequest, buildHttpRequestUrl, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue |
Methods inherited from class java.util.AbstractMap |
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
executeUsingHead
public HttpResponse executeUsingHead()
throws java.io.IOException
- Overrides:
executeUsingHead
in class AbstractGoogleClientRequest<Userinfo>
- Throws:
java.io.IOException
buildHttpRequestUsingHead
public HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
- Overrides:
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Userinfo>
- Throws:
java.io.IOException
setAlt
public Oauth2.Userinfo.V2.Me.Get setAlt(java.lang.String alt)
- Description copied from class:
Oauth2Request
- Data format for the response.
- Overrides:
setAlt
in class Oauth2Request<Userinfo>
setFields
public Oauth2.Userinfo.V2.Me.Get setFields(java.lang.String fields)
- Description copied from class:
Oauth2Request
- Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class Oauth2Request<Userinfo>
setKey
public Oauth2.Userinfo.V2.Me.Get setKey(java.lang.String key)
- Description copied from class:
Oauth2Request
- API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class Oauth2Request<Userinfo>
setOauthToken
public Oauth2.Userinfo.V2.Me.Get setOauthToken(java.lang.String oauthToken)
- Description copied from class:
Oauth2Request
- OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class Oauth2Request<Userinfo>
setPrettyPrint
public Oauth2.Userinfo.V2.Me.Get setPrettyPrint(java.lang.Boolean prettyPrint)
- Description copied from class:
Oauth2Request
- Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class Oauth2Request<Userinfo>
setQuotaUser
public Oauth2.Userinfo.V2.Me.Get setQuotaUser(java.lang.String quotaUser)
- Description copied from class:
Oauth2Request
- Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- Overrides:
setQuotaUser
in class Oauth2Request<Userinfo>
setUserIp
public Oauth2.Userinfo.V2.Me.Get setUserIp(java.lang.String userIp)
- Description copied from class:
Oauth2Request
- IP address of the site where the request originates. Use this if you want to enforce per-user
limits.
- Overrides:
setUserIp
in class Oauth2Request<Userinfo>