Class: Google::Apis::GenomicsV1beta2::SearchJobsRequest

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 jobs search request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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_afterString

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

Returns:

  • (String)


2372
2373
2374
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2372

def created_after
  @created_after
end

#created_beforeString

If specified, only jobs created prior to this date, given in milliseconds since Unix epoch, will be returned. Corresponds to the JSON property createdBefore

Returns:

  • (String)


2378
2379
2380
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2378

def created_before
  @created_before
end

#page_sizeFixnum

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

Returns:

  • (Fixnum)


2384
2385
2386
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2384

def page_size
  @page_size
end

#page_tokenString

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

Returns:

  • (String)


2391
2392
2393
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2391

def page_token
  @page_token
end

#project_numberString

Required. Only return jobs which belong to this Google Developers Console project. Corresponds to the JSON property projectNumber

Returns:

  • (String)


2397
2398
2399
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2397

def project_number
  @project_number
end

#statusArray<String>

Only return jobs which have a matching status. Corresponds to the JSON property status

Returns:

  • (Array<String>)


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