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

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

Defined Under Namespace

Classes: Job

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ JobList

Returns a new instance of JobList.



1590
1591
1592
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1590

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)


1573
1574
1575
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1573

def etag
  @etag
end

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

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



1578
1579
1580
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1578

def jobs
  @jobs
end

#kindString

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

Returns:

  • (String)


1583
1584
1585
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1583

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)


1588
1589
1590
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1588

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1595
1596
1597
1598
1599
1600
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1595

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