My code is in an environment that has egress restrictions therefore I need to go through a proxy in order to connect to the outside world. Does google cloud libraries have the ability to pass in a proxy and connect via that?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Google Cloud Client libraries do not offer a built in proxy support. You will have to configure a system proxy or environment specific proxy.
For example, if you're running a JVM you can configure the proxy settings as described here.
Golang also supports something similar.