Class: Google::Apis::BigqueryV2::Job
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::Job
- Defined in:
- lib/kura/extensions/google/apis/bigquery_v2/job.rb
Instance Attribute Summary collapse
-
#kura_api ⇒ Object
Returns the value of attribute kura_api.
Instance Method Summary collapse
Instance Attribute Details
#kura_api ⇒ Object
Returns the value of attribute kura_api.
6 7 8 |
# File 'lib/kura/extensions/google/apis/bigquery_v2/job.rb', line 6 def kura_api @kura_api end |
Instance Method Details
#cancel ⇒ Object
12 13 14 |
# File 'lib/kura/extensions/google/apis/bigquery_v2/job.rb', line 12 def cancel kura_api.cancel_job(self) end |
#children ⇒ Object
20 21 22 |
# File 'lib/kura/extensions/google/apis/bigquery_v2/job.rb', line 20 def children kura_api.jobs(parent_job_id: self.job_reference.job_id) end |
#inspect ⇒ Object
16 17 18 |
# File 'lib/kura/extensions/google/apis/bigquery_v2/job.rb', line 16 def inspect "<##{self.class} job_id=#{self.job_reference.job_id rescue nil}>" end |
#wait(timeout, &blk) ⇒ Object
8 9 10 |
# File 'lib/kura/extensions/google/apis/bigquery_v2/job.rb', line 8 def wait(timeout, &blk) kura_api.wait_job(self, timeout, &blk) end |