Class: GoogleBigquery::Project

Inherits:
Client
  • Object
show all
Defined in:
lib/google_bigquery/project.rb

Instance Attribute Summary collapse

Attributes inherited from Client

#api, #client

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Client

#defaults_options, #parse_response, parse_response

Constructor Details

#initialize(opts = {}) ⇒ Project

Returns a new instance of Project.



7
8
9
# File 'lib/google_bigquery/project.rb', line 7

def initialize( opts={})
  super
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



5
6
7
# File 'lib/google_bigquery/project.rb', line 5

def options
  @options
end

Class Method Details

.listObject



11
12
13
# File 'lib/google_bigquery/project.rb', line 11

def self.list
  parse_response GoogleBigquery::Auth.client.execute( GoogleBigquery::Auth.api.projects.list)
end