Class: Google::Apis::GenomicsV1beta2::SearchReferenceSetsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchReferenceSetsRequest

Returns a new instance of SearchReferenceSetsRequest



2648
2649
2650
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2648

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

Instance Attribute Details

#accessionsArray<String>

If present, return references for which the accession matches any of these strings. Best to give a version number, for example GCF_000001405.26. If only the main accession number is given then all records with that main accession will be returned, whichever version. Note that different versions will have different sequences. Corresponds to the JSON property accessions

Returns:

  • (Array<String>)


2622
2623
2624
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2622

def accessions
  @accessions
end

#assembly_idString

If present, return reference sets for which a substring of their assemblyId matches this string (case insensitive). Corresponds to the JSON property assemblyId

Returns:

  • (String)


2628
2629
2630
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2628

def assembly_id
  @assembly_id
end

#md5checksumsArray<String>

If present, return references for which the md5checksum matches. See ReferenceSet.md5checksum for details. Corresponds to the JSON property md5checksums

Returns:

  • (Array<String>)


2634
2635
2636
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2634

def md5checksums
  @md5checksums
end

#page_sizeFixnum

Specifies the maximum number of results to return in a single page. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


2639
2640
2641
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2639

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 nextPageToken from the previous response. Corresponds to the JSON property pageToken

Returns:

  • (String)


2646
2647
2648
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2646

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2653
2654
2655
2656
2657
2658
2659
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2653

def update!(**args)
  @accessions = args[:accessions] unless args[:accessions].nil?
  @assembly_id = args[:assembly_id] unless args[:assembly_id].nil?
  @md5checksums = args[:md5checksums] unless args[:md5checksums].nil?
  @page_size = args[:page_size] unless args[:page_size].nil?
  @page_token = args[:page_token] unless args[:page_token].nil?
end