How to use a proxy with google cloud libraries

强颜欢笑 提交于 2019-12-12 06:22:24

问题


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.



来源:https://stackoverflow.com/questions/44419704/how-to-use-a-proxy-with-google-cloud-libraries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!