When I try the codes in Authenticating Google API with a service account with Java API, I get a failure and need go through a proxy. I found there is the same question for Python. Is there any solution for Java client?
            Asked
            
        
        
            Active
            
        
            Viewed 1,607 times
        
    1 Answers
0
            Okay, we do support HTTP proxies.
There are two choices of HTTP transport classes: NetHttpTransport or ApacheHttpTransport (based on 4.0)
This doc shows how to use NetHttpTransport:
https://developers.google.com/bigquery/articles/gettingstartedwithjava
You can then set system properties here to configure the proxy: http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html#Proxies
        Ryan Boyd
        
- 2,978
 - 1
 - 21
 - 19