Class: Google::Apis::GenomicsV1::StreamVariantsRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::StreamVariantsRequest
- 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 stream variants request.
Instance Attribute Summary collapse
-
#call_set_ids ⇒ Array<String>
Only return variant calls which belong to call sets with these IDs.
-
#end ⇒ String
The end of the window (0-based, exclusive) for which overlapping variants should be returned.
-
#project_id ⇒ String
The Google Cloud project ID which will be billed for this access.
-
#reference_name ⇒ String
Required.
-
#start ⇒ String
The beginning of the window (0-based, inclusive) for which overlapping variants should be returned.
-
#variant_set_id ⇒ String
The variant set ID from which to stream variants.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamVariantsRequest
constructor
A new instance of StreamVariantsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StreamVariantsRequest
Returns a new instance of StreamVariantsRequest.
3239 3240 3241 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#call_set_ids ⇒ Array<String>
Only return variant calls which belong to call sets with these IDs. Leaving
this blank returns all variant calls.
Corresponds to the JSON property callSetIds
3220 3221 3222 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3220 def call_set_ids @call_set_ids end |
#end ⇒ String
The end of the window (0-based, exclusive) for which overlapping variants
should be returned.
Corresponds to the JSON property end
3237 3238 3239 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3237 def end @end end |
#project_id ⇒ String
The Google Cloud project ID which will be billed for this access. The caller
must have WRITE access to this project. Required.
Corresponds to the JSON property projectId
3209 3210 3211 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3209 def project_id @project_id end |
#reference_name ⇒ String
Required. Only return variants in this reference sequence.
Corresponds to the JSON property referenceName
3225 3226 3227 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3225 def reference_name @reference_name end |
#start ⇒ String
The beginning of the window (0-based, inclusive) for which overlapping
variants should be returned.
Corresponds to the JSON property start
3231 3232 3233 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3231 def start @start end |
#variant_set_id ⇒ String
The variant set ID from which to stream variants.
Corresponds to the JSON property variantSetId
3214 3215 3216 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3214 def variant_set_id @variant_set_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3244 3245 3246 3247 3248 3249 3250 3251 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3244 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) @reference_name = args[:reference_name] if args.key?(:reference_name) @start = args[:start] if args.key?(:start) @end = args[:end] if args.key?(:end) end |