Class: Yancya::BigQuery::Projects
- Defined in:
- lib/yancya/big_query/projects.rb
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Yancya::BigQuery::Resource
Instance Method Details
#list ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/yancya/big_query/projects.rb', line 7 def list resources = execute( api_method: @bq.api.projects.list ) resources["projects"].map do |resource| BigQuery::Project.new(resource: resource, bq: @bq) end end |