Class: BigQuery::Client

Inherits:
Object
  • Object
show all
Includes:
Datasets, Jobs, Projects, Tabledata, Tables
Defined in:
lib/bigquery-client/client.rb,
lib/bigquery-client/version.rb

Constant Summary collapse

VERSION =
'0.3.4'

Instance Method Summary collapse

Methods included from Tables

#create_table, #delete_table, #fetch_schema, #fetch_table, #list_tables, #patch_table, #tables, #update_table

Methods included from Tabledata

#insert, #list_tabledata

Methods included from Projects

#list_projects, #projects

Methods included from Jobs

#fetch_job, #jobs, #jobs_query, #load, #query_results, #sql

Methods included from Datasets

#create_dataset, #datasets, #delete_dataset, #fetch_dataset, #list_datasets, #patch_dataset, #update_dataset

Constructor Details

#initialize(attributes = {}) ⇒ Client

Returns a new instance of Client.



15
16
17
# File 'lib/bigquery-client/client.rb', line 15

def initialize(attributes = {})
  attributes.each { |name, value| instance_variable_set("@#{name}", value) }
end