Class: Google::Apis::GenomicsV1beta2::SearchJobsRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::SearchJobsRequest
- 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 jobs search request.
Instance Attribute Summary collapse
-
#created_after ⇒ String
If specified, only jobs created on or after this date, given in milliseconds since Unix epoch, will be returned.
-
#created_before ⇒ String
If specified, only jobs created prior to this date, given in milliseconds since Unix epoch, will be returned.
-
#page_size ⇒ Fixnum
Specifies the number of results to return in a single page.
-
#page_token ⇒ String
The continuation token which is used to page through large result sets.
-
#project_number ⇒ String
Required.
-
#status ⇒ Array<String>
Only return jobs which have a matching status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchJobsRequest
constructor
A new instance of SearchJobsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchJobsRequest
Returns a new instance of SearchJobsRequest.
2404 2405 2406 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2404 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_after ⇒ String
If specified, only jobs created on or after this date, given in milliseconds
since Unix epoch, will be returned.
Corresponds to the JSON property createdAfter
2372 2373 2374 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2372 def created_after @created_after end |
#created_before ⇒ String
If specified, only jobs created prior to this date, given in milliseconds
since Unix epoch, will be returned.
Corresponds to the JSON property createdBefore
2378 2379 2380 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2378 def created_before @created_before end |
#page_size ⇒ Fixnum
Specifies the number of results to return in a single page. Defaults to 128.
The maximum value is 256.
Corresponds to the JSON property pageSize
2384 2385 2386 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2384 def page_size @page_size end |
#page_token ⇒ String
The continuation token which is used to page through large result sets. To get
the next page of results, set this parameter to the value of the nextPageToken
from the previous response.
Corresponds to the JSON property pageToken
2391 2392 2393 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2391 def page_token @page_token end |
#project_number ⇒ String
Required. Only return jobs which belong to this Google Developers Console
project.
Corresponds to the JSON property projectNumber
2397 2398 2399 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2397 def project_number @project_number end |
#status ⇒ Array<String>
Only return jobs which have a matching status.
Corresponds to the JSON property status
2402 2403 2404 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2402 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2409 2410 2411 2412 2413 2414 2415 2416 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2409 def update!(**args) @created_after = args[:created_after] unless args[:created_after].nil? @created_before = args[:created_before] unless args[:created_before].nil? @page_size = args[:page_size] unless args[:page_size].nil? @page_token = args[:page_token] unless args[:page_token].nil? @project_number = args[:project_number] unless args[:project_number].nil? @status = args[:status] unless args[:status].nil? end |