I'm having trouble figuring out a seemingly simple task in the Google API Java client library version 1.12.0-beta. I can authenticate with OAuth2 and can retrieve and manipulate parts of Google Drive that I need for my application. However, I would like to follow the Google best practices and display basic user information at the top of my app.
I have searched through the maze of documents Google provides and have searched many other sites as well and cannot seem to find what I need. I looked in to the Userinfo API suggested on the best practices page. As far as I can see, it should be a part of the java client I'm using, but it is not. I even found a full method example outlining exactly how I might get user info. The class it refers to - Userinfo - does not appear to be a part of any of the libs included in the client library I'm using. I searched further to see if I was missing a separate download that would include the OAuth services Java client.
I think the major issue I'm having is finding relevant information for the current version of the Java client library. Has anyone else ran across this issue? I would greatly appreciate any pointers on finding out how to get basic user information.
Thanks for your help.