Class: Google::Apis::GenomicsV1::SearchReadsResponse

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

Overview

The read search response.

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) ⇒ SearchReadsResponse

Returns a new instance of SearchReadsResponse.



1719
1720
1721
# File 'generated/google/apis/genomics_v1/classes.rb', line 1719

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

Instance Attribute Details

#alignmentsArray<Google::Apis::GenomicsV1::Read>

The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned contiguously and are sorted in ascending lexicographic order by fragment name. Corresponds to the JSON property alignments

Returns:



1710
1711
1712
# File 'generated/google/apis/genomics_v1/classes.rb', line 1710

def alignments
  @alignments
end

#next_page_tokenString

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1717
1718
1719
# File 'generated/google/apis/genomics_v1/classes.rb', line 1717

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1724
1725
1726
1727
# File 'generated/google/apis/genomics_v1/classes.rb', line 1724

def update!(**args)
  @alignments = args[:alignments] if args.key?(:alignments)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end