Class: Google::Apis::BigqueryV2::JobList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Defined Under Namespace

Classes: Job

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JobList

Returns a new instance of JobList.



4400
4401
4402
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4400

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagString

A hash of this page of results. Corresponds to the JSON property etag

Returns:

  • (String)


4383
4384
4385
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4383

def etag
  @etag
end

#jobsArray<Google::Apis::BigqueryV2::JobList::Job>

List of jobs that were requested. Corresponds to the JSON property jobs



4388
4389
4390
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4388

def jobs
  @jobs
end

#kindString

The resource type of the response. Corresponds to the JSON property kind

Returns:

  • (String)


4393
4394
4395
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4393

def kind
  @kind
end

#next_page_tokenString

A token to request the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


4398
4399
4400
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4398

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4405
4406
4407
4408
4409
4410
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4405

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @jobs = args[:jobs] if args.key?(:jobs)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end