Class: Google::Apis::GenomicsV1beta2::SearchJobsResponse

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

Overview

The job search response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchJobsResponse

Returns a new instance of SearchJobsResponse



2435
2436
2437
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2435

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

Instance Attribute Details

#jobsArray<Google::Apis::GenomicsV1beta2::Job>

The list of jobs results, ordered newest to oldest. Corresponds to the JSON property jobs



2426
2427
2428
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2426

def jobs
  @jobs
end

#next_page_tokenString

The continuation token which is used to page through large result sets. Provide this value is a subsequent request to return the next page of results. This field will be empty if there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2433
2434
2435
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2433

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2440
2441
2442
2443
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2440

def update!(**args)
  @jobs = args[:jobs] unless args[:jobs].nil?
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
end