Class: Google::Apis::GenomicsV1::SearchReferencesRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::SearchReferencesRequest
- 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
Instance Attribute Summary collapse
-
#accessions ⇒ Array<String>
If present, return references for which a prefix of any of sourceAccessions match any of these strings.
-
#md5checksums ⇒ Array<String>
If present, return references for which the md5checksum matches exactly.
-
#page_size ⇒ Fixnum
The maximum number of results to return in a single page.
-
#page_token ⇒ String
The continuation token, which is used to page through large result sets.
-
#reference_set_id ⇒ String
If present, return only references which belong to this reference set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchReferencesRequest
constructor
A new instance of SearchReferencesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchReferencesRequest
Returns a new instance of SearchReferencesRequest
204 205 206 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accessions ⇒ Array<String>
If present, return references for which a prefix of any of
sourceAccessions match
any of these strings. Accession numbers typically have a main number and a
version, for example GCF_000001405.26.
Corresponds to the JSON property accessions
191 192 193 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 191 def accessions @accessions end |
#md5checksums ⇒ Array<String>
If present, return references for which the
md5checksum matches exactly.
Corresponds to the JSON property md5checksums
176 177 178 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 176 def md5checksums @md5checksums end |
#page_size ⇒ Fixnum
The maximum number of results to return in a single page. If unspecified,
defaults to 1024. The maximum value is 4096.
Corresponds to the JSON property pageSize
197 198 199 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 197 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
nextPageToken from the previous response.
Corresponds to the JSON property pageToken
183 184 185 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 183 def page_token @page_token end |
#reference_set_id ⇒ String
If present, return only references which belong to this reference set.
Corresponds to the JSON property referenceSetId
202 203 204 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 202 def reference_set_id @reference_set_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
209 210 211 212 213 214 215 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 209 def update!(**args) @md5checksums = args[:md5checksums] if args.key?(:md5checksums) @page_token = args[:page_token] if args.key?(:page_token) @accessions = args[:accessions] if args.key?(:accessions) @page_size = args[:page_size] if args.key?(:page_size) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) end |