How to use a proxy with google cloud libraries

2019-08-20 06:21发布

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条回答
疯言疯语
2楼-- · 2019-08-20 07:11

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.

查看更多
登录 后发表回答