I can make regular calls to the gapi.client library, and I see that when I call gapi.client.load, it loads a discovery document (GET /rest?fields...).
I'd like to use that discovery document's schema to drive some UI decisions. Anyone know how to access that from the JavaScript client?