将代理服务器与BigQueryClient C#一起使用

时间:2019-02-21 19:51:29

标签: c# google-bigquery

如何在BigQueryClient中使用代理服务器?

这是示例代码:-

var fs = new FileStream(_BQConn.JSONKeyFileName, FileMode.Open);
GoogleCredential googlecreds = GoogleCredential.FromStream(fs);
BigQueryClient client = BigQueryClient.Create(_BQConn.ProjectId, googlecreds);
Task<BigQueryResults> TaskData = client.ExecuteQueryAsync(Query,null,null , null);
BigQueryResults data = await TaskData;

0 个答案:

没有答案