Discovering generated methods

After loading an API Discovery Document, the JavaScript client library automatically generates
JavaScript methods for interacting with the API.
For each method defined in the API Discovery Document, a corresponding method is constructed on
the gapi.client object.
For example, The People API's
methods are under gapi.client.people.
The People API has the methods people.get and people.connections.list,
the generated methods can be called as follows:

gapi.client.people.people.get(...)

gapi.client.people.people.connections.list(...)

You can view API methods on
APIs Explorer.
Alternatively, you can view the generated methods interactively in a browser's console (such
as by using the Inspect command in Chrome) by printing the generated object
console.log(gapi.client.people).