Com o serviço BigQuery, é possível usar a API Google BigQuery no Apps Script. Esta API os usuários podem gerenciar projetos do BigQuery, fazer upload de novos dados e executar consultas.
Referência
Para informações detalhadas sobre esse serviço, consulte a documentação de referência da API BigQuery. Como todos os serviços avançados no Apps Script, o serviço do BigQuery usa a mesma objetos, métodos e parâmetros que a API pública. Para mais informações, consulte Como as assinaturas de método são determinadas.
Para informar problemas e encontrar mais suporte, consulte a Guia de suporte do Google Cloud.
Código de amostra
O exemplo de código abaixo usa a versão 2 da API.
Executar consulta
Este exemplo consulta uma lista dos principais termos diários da Pesquisa Google.
Carregar dados CSV
Este exemplo cria uma nova tabela e carrega um arquivo CSV do Google Drive nela.