Skip to Content
Learning Google BigQuery
book

Learning Google BigQuery

by Thirukkumaran Haridass, Eric Brown
December 2017
Beginner to intermediate
264 pages
5h 38m
English
Packt Publishing
Content preview from Learning Google BigQuery

Authenticating the service account

Import the following namespaces to the project in the Program.cs file of the solution. This code sample is available on GitHub at the following URL: https://github.com/hthirukkumaran/Learning-Google-BigQuery:

using Google.Apis.Auth.OAuth2;using Google.Apis.Bigquery.v2.Data;using Google.Cloud.BigQuery.V2;using Newtonsoft.Json;using System;using System.Collections.Generic;using System.IO;using System.Linq;

Add the following code to the main method of the program.cs file to create a client instance of BigQuery service. Refactor this code to remove the hardcoded file path, application name, and more logging as per your requirement. Use the project ID, not the project name, of your Google Cloud project.

If the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google BigQuery: The Definitive Guide

Google BigQuery: The Definitive Guide

Valliappa Lakshmanan, Jordan Tigani
Google BigQuery Analytics

Google BigQuery Analytics

Siddartha Naidu, Jordan Tigani

Publisher Resources

ISBN: 9781787288591Supplemental Content