Use the rootUrl of the api meta instead of the hardcoded googleapis.com.
This allow any Google cloud endpoints to be used.
handle cases where the rootUrl is not pass and use the googleapis.com as default.
Merge pull request #71 from shakkame/master

Allow any Google cloud endpoint to be used