Google OAuth2 API v2 (revision 32)
com.google.api.services.oauth2
Class Oauth2.Userinfo
java.lang.Object
com.google.api.services.oauth2.Oauth2.Userinfo
- Enclosing class:
- Oauth2
public class Oauth2.Userinfo
- extends Object
The "userinfo" collection of methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Oauth2.Userinfo
public Oauth2.Userinfo()
get
public Oauth2.Userinfo.Get get()
throws IOException
- Create a request for the method "userinfo.get".
This request holds the parameters needed by the the oauth2 server. After setting any optional
parameters, call the
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Returns:
- the request
- Throws:
IOException
v2
public Oauth2.Userinfo.V2 v2()
- An accessor for creating requests from the V2 collection.
The typical use is:
Oauth2 oauth2 = new Oauth2(...);
Oauth2.V2.List request = oauth2.v2().list(parameters ...)
- Returns:
- the resource collection