Google’s Gmail API Mapping HTTP Request to PHP Class/Methods

I wanted to document how I could map the HTTP request reference to the actual class/methods. The Gmail Developers API gives you the HTTP request; however, the documentation in Google’s API PHP docs doesn’t do enough to tell you which request maps to what file class/methods. It takes a bit of reading and fumbling through the docs to get a good understanding.

Helpful resources: