Class: Google::Apis::GenomicsV1::SearchAnnotationsRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::SearchAnnotationsRequest
- 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
-
#annotation_set_ids ⇒ Array<String>
Required.
-
#end ⇒ Fixnum
The end position of the range on the reference, 0-based exclusive.
-
#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_id ⇒ String
The ID of the reference to query.
-
#reference_name ⇒ String
The name of the reference to query, within the reference set associated with this query.
-
#start ⇒ Fixnum
The start position of the range on the reference, 0-based inclusive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchAnnotationsRequest
constructor
A new instance of SearchAnnotationsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchAnnotationsRequest
Returns a new instance of SearchAnnotationsRequest
2269 2270 2271 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation_set_ids ⇒ Array<String>
Required. The annotation sets to search within. The caller must have
READ
access to these annotation sets.
All queried annotation sets must have the same type.
Corresponds to the JSON property annotationSetIds
2226 2227 2228 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2226 def annotation_set_ids @annotation_set_ids end |
#end ⇒ Fixnum
The end position of the range on the reference, 0-based exclusive. If
referenceId or
referenceName
must be specified, Defaults to the length of the reference.
Corresponds to the JSON property end
2234 2235 2236 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2234 def end @end end |
#page_size ⇒ Fixnum
The maximum number of results to return in a single page. If unspecified,
defaults to 256. The maximum value is 2048.
Corresponds to the JSON property pageSize
2240 2241 2242 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2240 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
2247 2248 2249 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2247 def page_token @page_token end |
#reference_id ⇒ String
The ID of the reference to query.
Corresponds to the JSON property referenceId
2252 2253 2254 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2252 def reference_id @reference_id end |
#reference_name ⇒ String
The name of the reference to query, within the reference set associated
with this query.
Corresponds to the JSON property referenceName
2258 2259 2260 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2258 def reference_name @reference_name end |
#start ⇒ Fixnum
The start position of the range on the reference, 0-based inclusive. If
specified,
referenceId or
referenceName
must be specified. Defaults to 0.
Corresponds to the JSON property start
2267 2268 2269 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2267 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2274 2275 2276 2277 2278 2279 2280 2281 2282 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2274 def update!(**args) @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids) @end = args[:end] if args.key?(:end) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @reference_id = args[:reference_id] if args.key?(:reference_id) @reference_name = args[:reference_name] if args.key?(:reference_name) @start = args[:start] if args.key?(:start) end |