Class: Google::Apis::GenomicsV1beta2::SearchReferencesRequest

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

Returns a new instance of SearchReferencesRequest



2725
2726
2727
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2725

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

Instance Attribute Details

#accessionsArray<String>

If present, return references for which the accession matches this string. 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>)


2700
2701
2702
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2700

def accessions
  @accessions
end

#md5checksumsArray<String>

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

Returns:

  • (Array<String>)


2706
2707
2708
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2706

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)


2711
2712
2713
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2711

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)


2718
2719
2720
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2718

def page_token
  @page_token
end

#reference_set_idString

If present, return only references which belong to this reference set. Corresponds to the JSON property referenceSetId

Returns:

  • (String)


2723
2724
2725
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2723

def reference_set_id
  @reference_set_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2730
2731
2732
2733
2734
2735
2736
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2730

def update!(**args)
  @accessions = args[:accessions] unless args[:accessions].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?
  @reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil?
end