Use the rootUrl of the api meta instead of the hardcoded googleapis.com.
This allow any Google cloud endpoints to be used.