I did not find any useful documentation in the forums or on the internet, so decided to use the System.Net configuration on the web.config.
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy proxyaddress="http://abc.com:3128" usesystemdefault="True" bypassonlocal="True"/>
<bypasslist>
<add address="http://xyz.com" />
<add address="http://www.example.com" />
</bypasslist>
</defaultProxy>
</system.net>
Any requests we don't want to pass through the proxy, can be added to the <bypasslist>
. It has the added advantage that, whenever the Google API Class library changes, we don't have to bother about re-writing code to set up the proxy. :-)