Class: Gcloud::Bigquery::Job::List

Inherits:
Array
  • Object
show all
Defined in:
lib/gcloud/bigquery/job/list.rb

Overview

Job::List is a special case Array with additional values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arr = []) ⇒ List

Create a new Job::List with an array of jobs.


37
38
39
# File 'lib/gcloud/bigquery/job/list.rb', line 37

def initialize arr = []
  super arr
end

Instance Attribute Details

#etagObject

A hash of this page of results.


30
31
32
# File 'lib/gcloud/bigquery/job/list.rb', line 30

def etag
  @etag
end

#tokenObject

If not empty, indicates that there are more records that match the request and this value should be passed to continue.


27
28
29
# File 'lib/gcloud/bigquery/job/list.rb', line 27

def token
  @token
end

#totalObject

Total number of jobs in this collection.


33
34
35
# File 'lib/gcloud/bigquery/job/list.rb', line 33

def total
  @total
end