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

Constructor Details

#initialize(**args) ⇒ JobList

Returns a new instance of JobList.



3488
3489
3490
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3488

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)


3471
3472
3473
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3471

def etag
  @etag
end

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

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



3476
3477
3478
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3476

def jobs
  @jobs
end

#kindString

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

Returns:

  • (String)


3481
3482
3483
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3481

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)


3486
3487
3488
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3486

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3493
3494
3495
3496
3497
3498
# File 'generated/google/apis/bigquery_v2/classes.rb', line 3493

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